Best code examples for Hibernate ORM LogicalConnectionImplementor class (org.hibernate.engine.jdbc.spi.LogicalConnectionImplementor)

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Hibernate ORM LogicalConnectionImplementor class.
You can now enable Codota on your own code to easily search and navigate your Java codebase.

Hibernate ORM LogicalConnectionImplementor examples from Open Source projects
This code example shows how to use the following methods: close, getResourceRegistry, getShareableConnectionProxy, isPhysicallyConnected
103:	Connection connection = logicalConnection.getShareableConnectionProxy(); 
-
109:	assertTrue( logicalConnection.getResourceRegistry().hasRegisteredResources() ); 
110:	assertTrue( logicalConnection.isPhysicallyConnected() ); 
-
112:	assertFalse( logicalConnection.getResourceRegistry().hasRegisteredResources() ); 
113:	assertTrue( logicalConnection.isPhysicallyConnected() ); // after_transaction specified 
-
138:	assertFalse( logicalConnection.getResourceRegistry().hasRegisteredResources() ); 
-
143:	assertFalse( logicalConnection.getResourceRegistry().hasRegisteredResources() ); 
-
148:	logicalConnection.close(); 
Full Snippet Info
6
CodeRank