Public Member Functions | Static Public Member Functions

alma.hibernate.util.JdbcNativeExtractor Class Reference

List of all members.

Public Member Functions

Connection getNativeConnection (Connection con) throws SQLException

Static Public Member Functions

static Connection getRawConnection (Connection con)

Detailed Description

Based on Sloan Seaman's version (http://community.jboss.org/wiki/MappingOracleXmlTypetoDocument), which in turn is based upon Spring Frameworks C3P0NativeJdbcExtractor by Juergen Hoeller.

Author:
Juergen Hoeller (Changes by Sloan Seaman, then by Rodrigo Tobar)
Since:
1.1.5
See also:
com.mchange.v2.c3p0.C3P0ProxyConnection.rawConnectionOperation
SimpleNativeJdbcExtractor

Member Function Documentation

Connection alma.hibernate.util.JdbcNativeExtractor.getNativeConnection ( Connection  con  )  throws SQLException

Retrieve the Connection via C3P0's rawConnectionOperation API, using the getRawConnection as callback to get access to the raw Connection (which is otherwise not directly supported by C3P0).

See also:
getRawConnection

Referenced by alma.hibernate.util.HibernateXmlType.nullSafeSet().

static Connection alma.hibernate.util.JdbcNativeExtractor.getRawConnection ( Connection  con  )  [static]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties