jQuery in Action, 2nd edition
The moose likes Object Relational Mapping and the fly likes Hibernte Error Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply Bookmark "Hibernte Error" Watch "Hibernte Error" New topic
Author

Hibernte Error

Shasi Sekar
Greenhorn

Joined: Aug 22, 2008
Posts: 23
Hi all,

I am new to hibernate and followed a sample

But it throws error when i run it




event manager.java


My cfg.xml


When i say sessionFactory.getCurrentSession();

i get the error as "No TransactionManagerLookup specified"

when i say sessionFactory.openSession();
i get the error as "Could not find UserTransaction in JNDI: " that too when i call begin transaction.

I am stumped here , badly require help.

Thanks in advance

 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Hibernte Error
 
Similar Threads
Hibernate Maping error
Design benefits of creating Sessionfactory in an utility class
Problem with running my first Hibernate App
java.net.SocketException: Broken pipe
why not ?