| Joined: Wed Jan 26, 2005 8:05 am
 Posts: 13
 | 
				
					| Hi guys, 
I have a problem with Hibernate in WebSphere 6.0.2 server environment.
 I use a DataSource from WebSphere.
 Sometimes I need to get a Connection from the Hibernate Session Object.
 I get it like this:
 Connection conn = session.connection();
 
 After I perform a regular JDBC operations with PreparedStatements
 and ResultSet.
 
 I would like to know do I have to close the obtained Connection
 like conn.close or just close the
 Session object in a finally block
 
 finally {
 session.close();
 }
 Does anybody have an idea about
 I use Hibernate version: 2.1
 
 Thank you
 
 Skyrose
 
 
 |  |