You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Federico Piccinin <fe...@overit.it> on 2004/02/06 08:56:53 UTC
Hibernate HOWTO: missing class definition
public static Session currentSession() throws PersistenceException {
Session s = (Session) session.get();
if (s == null) {
s = PersistenceManager.openSession();
if (log.isDebugEnabled()) {
log.debug("Opened hibernate session.");
} session.set(s); } return s;
}
}
This is a litte excerpt from hibernate HOWTO: i have't found the class
PersistenceManager in any package.
Can anyone post same example of PersistenceManager so i can compare with
my own
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org