From: Steve E. <ste...@jb...> - 2006-02-08 14:56:01
|
Did you want this in 3.1.3 also? -----Original Message----- From: hib...@li... [mailto:hib...@li...] On Behalf Of tu...@us... Sent: Tuesday, February 07, 2006 2:43 PM To: hib...@li... Subject: [Hibernate-commits] Hibernate3/src/org/hibernate/impl SessionFactoryImpl.java,1.104,1.105 Update of /cvsroot/hibernate/Hibernate3/src/org/hibernate/impl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv813/src/org/hibernate/impl Modified Files: SessionFactoryImpl.java=20 Log Message: Added "managed" option for current_session_context_class Index: SessionFactoryImpl.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvsroot/hibernate/Hibernate3/src/org/hibernate/impl/SessionFactoryImpl. java,v retrieving revision 1.104 retrieving revision 1.105 diff -u -d -r1.104 -r1.105 --- SessionFactoryImpl.java 1 Feb 2006 19:58:27 -0000 1.104 +++ SessionFactoryImpl.java 7 Feb 2006 20:42:41 -0000 1.105 @@ -36,6 +36,7 @@ import org.hibernate.context.CurrentSessionContext; import org.hibernate.context.ThreadLocalSessionContext; import org.hibernate.context.JTASessionContext; +import org.hibernate.context.ManagedSessionContext; import org.hibernate.cache.Cache; import org.hibernate.cache.CacheConcurrencyStrategy; import org.hibernate.cache.CacheFactory; @@ -945,6 +946,9 @@ else if ( "thread".equals( impl ) ) { return new ThreadLocalSessionContext( this ); } + else if ( "managed".equals( impl ) ) { + return new ManagedSessionContext( this ); + } else { try { Class implClass =3D ReflectHelper.classForName( impl ); ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat=3D= 121642 _______________________________________________ hibernate-commits mailing list hib...@li... https://lists.sourceforge.net/lists/listinfo/hibernate-commits |