Hi all,
We need to get a data from our internal oracle database and found that sql() routine of Jjupin could be use, but i cant find example and feedback about it if its the best and safe to use?
can anybody help us on this?
Thanks,
eric
Hi,
You can safely use the sql routine. You need to define a new datasource(even for the default JIRA database) and that's it. We also have the free Database Custom Field (DBCF) plugin. You can use it too if you just want to retrieve some data from database.
You can find examples here:
Best regards,
Silviu
Hi Silviu,
I was able to use the sql() routine with my internal database(Oracle) without defining the datasource, I just use my oracle SID as the JNDIstring and it works well, is this OK?
Also should I not worry about closing the session/connection everytime i use sql() routine?
Thanks,
eric
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, it is ok.
Do not bother, we close it correctly on finally so you do not need to care about it. So you should be fine all the time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Eric,
Yes, that's ok, the first parameter is a JNDI name, as long as you have it configured, you can use it. You don't need to worry about session/connection. we handle that for you.
Best,
Silviu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot guys, jjupin really give us more capability on jira.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can safely use the sql routine. You need to define a new datasource(even for the default JIRA database) and that's it. We also have the free Database Custom Field (DBCF) plugin. You can use it too if you just want to retrieve some data from database.
You can find examples here:
Best regards,
Silviu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.