|
From: Isabelle M. <isa...@me...> - 2003-04-15 13:39:55
|
what about op? does hibernate work really well? should we use it exclusively? see juergen's previous mail about maybe not wanting to do everything. Isabelle On Tue, Apr 15, 2003 at 12:07:01PM +0200, jürgen höller [werk3AT] wrote: > Hi everyone, > > Here at werk3AT, we are using Hibernate in combination with Spring successfully in a current major project: Spring for configuration, general service infrastructure, validation, and test infrastructure (mock JNDI + mock JDBC DataSource) - and Hibernate for persistence. We will add Spring's web MVC and transaction infrastructure soon. > > A HibernateTemplate that applies Spring's callback approach to Hibernate Sessions - implementing a doInSession(Session) method, without the need for Session lifecycle and exception handling - helps reducing glue code significantly. I plan to contribute it to Spring soon, enriched by a Hibernate implementation of PlatformTransactionManager (handling transactions via Hibernate's native transaction API for a single SessionFactory, using a ThreadLocal Session). > > So, would anyone mind a Hibernate JAR in our development lib directory? I consider a separate module for those few classes overkill, so I'd like to add them to the main source tree. But what package would such stuff belong to, maybe "com.interface21.orm.hibernate" (ORM for Object Relational Mapping)? Our jdbc package is on the same level as the dao package too, instead of below it, so this should fit the existing structure. > > A forthcoming JdoTemplate or the like would belong to "com.interface21.orm.jdo" then. Hmmm, "ORM" isn't too appropriate here, as JDO isn't restricted to O/R mapping, strictly speaking... but "object persistence" doesn't have an obvious short name. What's a suitable generic term for both dedicated O/R mappers like Hibernate/OJB/TopLink and JDO implementations? Any suggestions? > > Regards, > Juergen > > > DI Jürgen Höller > Senior System Architect > ______________________________________ > > werk3ATS - division systementwicklung > part of werk3AT internetmedien oeg > > europaplatz 4 > A - 4020 linz > > t. +43 (0) 732 71 65 29 502 > f. +43 (0) 732 71 65 29 3 > jue...@we... > www.werk3at.com > ______________________________________ > werk3ATS - WIR ENTWICKELN ERFOLG > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > -- Isabelle Muszynski Software Engineer Zandweellaan 4 2660 Antwerpen Belgium Tel. 32-(0)3-830 18 54 Mobile: 32-(0)485 49 50 89 Email: isa...@me... Website: www.meta-logix.com |