java.lang.Object | |
↳ | org.hibernate.jdbc.BorrowedConnectionProxy |
A proxy for borrowed connections which funnels all requests back into the ConnectionManager from which it was borrowed to be properly handled (in terms of connection release modes).
Note: the term borrowed here refers to connection references obtained viaconnection()
for application usage.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Generates a Connection proxy wrapping the connection managed by the passed
connection manager.
| |||||||||||
Determines the appropriate class loader to which the generated proxy
should be scoped.
| |||||||||||
Convience method for unwrapping a connection proxy and getting a
handle to an underlying connection.
| |||||||||||
Marks a borrowed connection as no longer usable.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
java.lang.reflect.InvocationHandler
|
Generates a Connection proxy wrapping the connection managed by the passed connection manager.
connectionManager | The connection manager to wrap with the connection proxy. |
---|
Determines the appropriate class loader to which the generated proxy should be scoped.
Convience method for unwrapping a connection proxy and getting a handle to an underlying connection.
connection | The connection (proxy) to be unwrapped. |
---|
Marks a borrowed connection as no longer usable.
connection | The connection (proxy) to be marked. |
---|