It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

how to work with embedded hsqldb in confluence

jayasri Feb 18, 2015

Hi Iam working with confluence 5.6.5 version.

I have connected to embedded hsqldb using DB visualizer and cretaed tables.

using the sql macro I tied to get the contents of the table into my pages but is asking for datsource name insql macro.

Where I need to configure the datasource name in confluence.?

 

Please help me out

1 answer

0 votes
Nic Brough [Adaptavist] Community Leader Feb 18, 2015

I'm not sure that HSQL provides a datasource that can be used by Tomcat.

However, I would not bother looking further.  

You should not be using HSQL for anything other than a bit of development or testing.  If you're in dev/test and trying to get the SQL macro to work, that's fine, but irrelevant because when you move to production, you won't be on HSQL.   So you should get your dev/test system hooked up to an appropriate test database to do your dev in a production-like environment.

If you're using HSQL in production, you need to forget the macro and work on your most important task - converting to a supported database.

jayasri Feb 19, 2015

Iam currently using 30 days trail version. It is not for production purpose. Please let me know how can I get the values for the embedded hsql datbase in to the pages?

Nic Brough [Adaptavist] Community Leader Feb 19, 2015

My instinct is still to tell you not to bother. If you're writing in dev for eventual production use, you should be using the target database. But, if you insist on wasting your time, I think you can do it by following the instructions for mysql, but replacing the mysql driver class with "org.hsqldb.jdbcDriver" and the url with jdbc:hsqldb:mem:.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

1,550 views 8 19
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you