|
From: Thomas R. <tri...@tr...> - 2003-04-15 16:05:45
|
Jürgen, How about OPM for Object Persistence Mapping? That would cover O/R Mapping as well as JDO. I don't mind an hibernate.jar at all. It is the best open source O/R mapping framework from what I have seen so far. Looking forward to seeing your HibernateTemplate. Thomas > 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 > > -- Thomas Risberg tri...@tr... |