These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: HIbernate in nanocontainer.
PostPosted: Tue Jun 08, 2004 6:50 am 
Senior
Senior

Joined: Wed Aug 27, 2003 4:08 am
Posts: 178
Location: Wiesbaden, Germany
Hi all,

I'm reworking nanocontainer-hibernate module for better picocontainer integration, and would like to receive critics for work
in progress from those who cares.

Basic ideas are
- provide hibernate session transparenty via component adapter
( this way and object needing hibernate session will receive one in constructor )
- provide lifecycle for session factory & session through "lifecycle components" ( this when container is stopped, session is closed )
- provide transparent failover and transaction rollback is something goes wrong. ( via interceptor proxy around hibernate session ,
which would watch for hibernate exception )

Rants / Comments / Ideas welcome.

Sources are here:
http://cvs.picocontainer.codehaus.org/java/hibernate/

_________________
Got new hibernate xdoclet plugin? http://www.sourceforge.net/projects/xdoclet-plugins/
... Momentan auf der Suche nach neuen Projekt ode Festanstellung....


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 14, 2004 11:31 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Do you expect 1 container per user request ?

SessionFactory is useful for 2nd level cache management.

_________________
Emmanuel


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.