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/