Forums Register Login

Hibernte Error

+Pie Number of slices to send: Send
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

Paper jam tastes about as you would expect. Try some on this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1119 times.
Similar Threads
java.net.SocketException: Broken pipe
why not ?
Hibernate Maping error
Problem with running my first Hibernate App
Design benefits of creating Sessionfactory in an utility class
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 04:09:19.