This week's book giveaway is in the Features new in Java 9 forum.
We're giving away four copies of Java 9 Revealed and have Kishori Sharan on-line!
See this thread for details.
Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernte Error  RSS feed

 
Shasi Sekar
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!