One possible solution would be to create a HibernateUtils class for example
to hold a session object. I could then persist that object on application
state lavel like this:

class HibernateUtils {
...
@Persist(PersistenceConstants.SESSION)
private Session session = ...
...
}

is this a way to go? if it is, then how would I inject this object into
other components?



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Tapestry-hibernate-session-without-tapestry-hibernate-module-tp5716838p5716839.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to