File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Object Relational Mapping and the fly likes Hibernte Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
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

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Hibernte Error