JBoss Community

Re: Hibernate Tools question

created by Max Rydahl Andersen in JBoss Tools - View the full discussion

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

Start a new discussion in JBoss Tools at Community