Hello,
I'm migrating from 3.5.1 to 4.3.5.
In 3.5.1 im testing if I can login to the DB Server and then I check the DB structure.
Im doing it on the client side, in a normal Java Application.
In Hibernate 3.5.1 I simply do
Code:
ConnectionProvider connectionProvider = ConnectionProviderFactory.newConnectionProvider(config.getProperties());
Connection connection = connectionProvider.getConnection();
connection.close();
connectionProvider.close();
with a try/catch around it.
But in 4.3.5 there's no ConnectionProviderFactory.
Since im on the client side, I can't do the @Inject mechanism, that is described in another thread in this forum (Or I dont know how).
How can I check he DB Connection from a normal JRE client?
Thanks in advance for your help