Register / Login
Object Relational Mapping
what to have in context??
posted 11 years ago
im using hibernate in a web app under
i create a hibernate configuration in a startup
but i dont know what to put in the app context for future use
is correct to store Config in the context and retrieve/close a SessionFactory every time i need it or
i put SessionFactory in the context and get it in my classes?
what's the correct method?
thank u guys
[ July 01, 2005: Message edited by: Lukas Alamar ]
Hibernate template puts a lock on database after 5-6 calss to it.
What does a SessionFactory object cache?
Java app on Tomcat return "Network Error (tcp_error)" error
Design question for creating a DAO using Hibernate