Use SQLProcessor in Jira 7.1.1

Hi there,

I am trying to use SQLProcessor to execute my select sql command that I've used in my old JIRA 5.4.

Even Including the jira-core in my pom.xml, I still cannot find the reference of org.ofbiz.core.entity.jdbc.SQLProcessor

Is there any change in JIRA 7.1.1 in SQLProcessor?

Thank you.

1 answer

2 votes
Chris Fuller Atlassian Team Mar 12, 2016

I'm not sure I would encourage using SQLProcessor directly.  It belongs to the fork of the OfBiz Entity Engine that JIRA uses, and other than the Charting plugin, even we don't use SQLProcessor directly.  I'm also not sure why you would want to use it, because as far as I can tell it is absolutely terrible code and you'd be better off avoiding it.

That said... We haven't done anything to expressly hide it, so it should still be available through jira-core.  The only changes I'm aware of are those around the monitoring of how many connections a single thread is using and the fact that this gets reported to discourage developers from using database connections more recklessly than they should.

OK!  I am aware of what you said. Thanks for your kind answer!

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

988 views 5 18
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot