best practice to access an external data base with JPA from Bamboo plugin

Alied Perez
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 20, 2014

Hi folks:

I am developing a Bamboo plugin (but I guess this applies to any Atlassian product) where I need to access a data base totally unrelated to that of Bamboo. I plan to use JPA if possible.

Which is the recommended and "cleanest" way to do it?

I mean, should I use Spring (since I see Atlassian already uses it)?

How can I configure my persistense/Spring/? options?

Thanks in advance

Alied

3 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Alied Perez
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 22, 2014

As it turns out, Bamboo 5.3 is using an ancient Spring version (2.0.7), so, for now I'm out of luck. I'm gonna have to go JDBC in 2014.

0 votes
Alied Perez
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 21, 2014

I have found this answer[1], in case someone gets here before. Tomorrow will try and see, and will post my results.

[1]https://answers.atlassian.com/questions/90026/how-to-access-external-database-through-confluence-plugin?page=1#90030

0 votes
Alied Perez
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 21, 2014

Some more info:

As I have seen, Bamboo 5.3 uses Spring 2.0.7!!! and Hibernate 2.1.8!!!

I don't even think those even support JPA. I will have to do some work on my own to get things done. I don't want to do jdbc; it's 2014 already.

TAGS
AUG Leaders

Atlassian Community Events