-
hibernate (1 messages)
- Posted by: satish kumar
- Posted on: February 26 2008 05:19 EST
I am following hibernate tutorial 3.2. when servlet is compiled with ant it is giving errors like getCurrentSession(), getTransaction() not found. I included import org.hibernate.SessionFactory, org.hibernate.impl.SessionImpl; but the program giving errors. Not able to know how to resolve. Any help is appreciated. Thanks in advance. Bye.Threaded Messages (1)
- Small solution by Arseniy Taradonov on February 15 2009 04:12 EST
-
Small solution[ Go to top ]
- Posted by: Arseniy Taradonov
- Posted on: February 15 2009 04:12 EST
- in response to satish kumar
I use commands pattern to wrap the transactions and sessions. Look at http://fishbolt.org/java/org.fishbolt.hibernate/doc/article.en.html#Architecture for the details. Do not forget about the CoreManagerFilter class in example.