org.hibernate.spatial.dialect.oracle
Interface ConnectionFinder

All Superinterfaces:
FinderStrategy<java.sql.Connection,java.sql.Connection>
All Known Implementing Classes:
DefaultConnectionFinder

public interface ConnectionFinder
extends FinderStrategy<java.sql.Connection,java.sql.Connection>

The ConnectionFinder returns an OracleConnection when given a Connection object.

The SDOGeometryType requires access to an OracleConnection object when converting a geometry to SDOGeometry, prior to setting the geometry attribute in prepared statements. In some environments the prepared statements do not return an OracleConnection but a wrapper. Implementations of this interface attempt to retrieve the OracleConnection from the wrapper in such cases.

Implementations should be thread-safe, and have a default (no-args) constructor.


Method Summary
 
Methods inherited from interface org.hibernate.spatial.helper.FinderStrategy
find