Hi !!
Someone can tell me how to supply a JDBC connection to JBoss ? I have already try to do it but I don't succeed.
When I want to begin a transaction I have this exception :
Code:
09:52:49,812 INFO [STDOUT] *** EXCEPTION : java.lang.UnsupportedOperationException: The user must supply a JDBC connection***
In my code sessionFactory is OK,
session is OK,
but tx isn't.
Code:
sessionFactory = cfg.buildSessionFactory();
session = sessionFactory.openSession();
Transaction tx = session.beginTransaction();
Thanks a lot !!!
[/quote]