Hi,
I have an instance of Bitbucket which has an Oracle database. I am creating a plugin where I need to use the database tables directly (not the AO tables). Is there any way to achive this?
Do I need to use a normal JPA framework inside the plugin to fetch the details? If yes, how do I get the database credentials from the APIs without the need to store them inside the code?
Hi,
I know it's been some time since you posted this but I hope my reply might help others in the future so here it is.
Plugins cannot access the database directly.
What they can then however is to use the available methods (https://developer.atlassian.com/server/framework/atlassian-sdk/atlassian-javadoc/) to read the information stored by a Bitbucket installation.
To store data instead, you'll need to rely on the Active Objects framework (https://developer.atlassian.com/server/framework/atlassian-sdk/active-objects).
Caterina
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.