[jboss-user] [JBoss Tools] - Re: Hibernate Tools question

Max Rydahl Andersen do-not-reply at jboss.com
Thu Sep 20 09:09:54 EDT 2012


Max Rydahl Andersen [https://community.jboss.org/people/maxandersen] created the discussion

"Re: Hibernate Tools question"

To view the discussion, visit: https://community.jboss.org/message/760591#760591

--------------------------------------------------------------
simply access getRuntimeInfo().getConnectionProvider().getConnection()

(don't forget to call connectionProvider.closeConnection()!)


Note, runtimeinfo is not avaiable before the configure method have been called. Just something to be aware of.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/760591#760591]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120920/2639ddd0/attachment.html 


More information about the jboss-user mailing list