Glad you solved it - one thing I noticed is you are closing the connection directly - you should use the connectionprovider to close/release it.
Reply to this message by going to Community
Start a new discussion in JBoss Tools at Community