save custom data to hsql

Hi

how can i save my custom data to jira hsql db? does jira automatically backup my custom data like other data in db (such as issues) in the xml files?

thanks

1 answer

0 vote

First, there's no point in coding for HSQL - you would never use your code on a production system because you would never use HSQL in production.

Second, forget the database, you should not use it directly. Use the internals of Jira to handle the database and you can stop worrying about backup and all the other stuff that goes into the database. You can also forget about what type of database it is

Finally, for storing your own data in Atlassian application databases, use Active Objects. Start at https://developer.atlassian.com/display/DOCS/Active+Objects

thanks Nic

my jira version is 3.7 so i guess i can not use active objects,is it right?

i find 2 approach to store mydata to database

1-using SAL

2-using ofbiz

for SAL again ,it seams that it is not supported by my jira version

if ofbiz is the solution, how can i use it to store my data ?

is there any other way for my purpose?

I think you're right, for Jira 3.7, you'll need to use ofbiz.

I'm afraid I don't know where to start with that. Personally, I'd upgrade as you're out of support and active objects make it soo much easier, the first time I needed to store anything outside the config of a plugin, I upgraded instead of try to learn ofbiz.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

225 views 1 18
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you