Re: [Hibernate] Coding conventions

2004-03-18 Thread Emmanuel Bernard
> The ANTLR-generated code doesn't need to comply does > it? No. I try (and succeed until now) not to impact the Hibernate core with such metadata. It's a separate layer, right now. > > BTW, I haven't created a directory for ANTLR generated > sources in the build directory. Instead, I have ANTLR

RE: [Hibernate] Coding conventions - ANTLR / Checkstyle problems!

2004-03-18 Thread Joshua Davis
Okay, I've put the ANTLR output in build/generated-src and changed the compile target accordingly. I have also adjusted the code style settings in my IDE to be a little more compatible with the Hibernate coding standards. Unforutunately, I have encountered what I call 'the really annoying ANT cla

[Hibernate] Design pattern "Thread Local Session" in J2EE

2004-03-18 Thread Marco Polo (Resolve Informatica)
Hi,   I'm trying use Thread Local Session in J2EE. I have a Session Facade with my business methods. For each business methods I need the session, so I will create the HibernateSession object in every methods to obtain the session, right ?.   My question:   The HibernateSession class need t

[Hibernate] Hibernate, Transactionality, & Concurrency

2004-03-18 Thread William R. Lorenz
Greetings, I have a burning question for which I hope this list can help. Hibernate of course implements threadsafe SessionFactory objects that can be used to create non-threadsafe Session objects. You can blindly try to keep Session objects open as long as possible (to improve performance reach