Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Can I Add myBatis library in my Jira PlugIn?

JongBum Lee September 3, 2015

Through Jira-PlugIn, I would like to operations (CRUD) data to the external database.

I want to use 3rd party library. (ex. iBatis, myBatis)
Can I use that? Is this correct way?
(Formerly the direct coding in java sql file.)

Thanks.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 3, 2015

When you say "external database", you do mean the database for another system?  Not the JIRA database?

You should be able to include the library by including it in the dependencies in the project, but you'll need to think about how you get Tomcat to use the driver.

JongBum Lee September 5, 2015

Thanks Mr. Nic Brough..

  1.  yes. another database
  2. According my question(https://answers.atlassian.com/questions/24662370/should-i-embed-mysql-driver-my-jira-plugin). Tomcat lib driver file does not referenced in plug-in development. ㅠㅠ

I wonder this case (external database) whether it may develop JIRA plug-ins using 3rd party framework(mybatis) in the general case.

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 5, 2015

If it's a database driver, you probably want to put it in Tomcat if you want to use Tomcat's data source functions. An add-on cannot do that, they only exist inside the application, so if you want to do it entirely in an addon, you'll need to put the driver in your add-on and write all the supporting code to use it.

JongBum Lee September 5, 2015

Thanks Mr. Nic Brough. I wonder this case (using external database) whether it may develop JIRA plug-ins using 3rd party framework(no db driver, such as mybatis, ibatis.. ) in the general case (using external database).

TAGS
AUG Leaders

Atlassian Community Events