|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.orm.jpa.vendor.HibernateJpaDialect.HibernateConnectionHandle
private static class HibernateJpaDialect.HibernateConnectionHandle
Field Summary | |
---|---|
private static java.lang.reflect.Method |
connectionMethod
|
private Session |
session
|
Constructor Summary | |
---|---|
HibernateJpaDialect.HibernateConnectionHandle(Session session)
|
Method Summary | |
---|---|
java.sql.Connection |
getConnection()
Fetch the JDBC Connection that this handle refers to. |
void |
releaseConnection(java.sql.Connection con)
Release the JDBC Connection that this handle refers to. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final Session session
private static volatile java.lang.reflect.Method connectionMethod
Constructor Detail |
---|
public HibernateJpaDialect.HibernateConnectionHandle(Session session)
Method Detail |
---|
public java.sql.Connection getConnection()
ConnectionHandle
getConnection
in interface ConnectionHandle
public void releaseConnection(java.sql.Connection con)
ConnectionHandle
releaseConnection
in interface ConnectionHandle
con
- the JDBC Connection to release
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |