If you can include also turbine specific .hbm files and POJO Objects, so the Howto is complete

thanks

[EMAIL PROTECTED] wrote:

I am traveling until monday, but ping me then and I can send it to you...

Eric Pugh

-----Original Message-----
From: Federico Piccinin
To: Turbine Users List
Sent: 06/02/2004 2:56
Subject: 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to