I am porting existing JIRA connect plugin to server architecture. In connect, i was using mysql database with jdbc connection.
1> Can i directly use connect's mysql database in server plugin?
2> If not, then i am fine with Active Object too. But i am not getting exact detailed documentation on active objects. (How to create combo unique key, Joins between tables).
Server plugins should use Active Objects to store data - this is the recommended approach. If for some reason AO does not work for you you can always connect to other database, but this makes things a lot more complicated - for example:
Here're some useful guides on Active Objects
And about the JOINS
This should give you all the details on the annoations for primary keys, unique keys, etc..
Ah, good, I did understand it correctly then! Thanks! Boris has beaten me to all the links I'd recommend.
The only thing I'd add is that you should stop thinking about doing things at a database level (forget triggers and keys etc) - you need to use the functions for handling AO as documented in Boris' links.
Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...
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!
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