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 Sign up to answer
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

3,839 views 8 7
View question

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