com.avaje.ebean.config
Interface PstmtDelegate


public interface PstmtDelegate

Unwrap the PreparedStatement to get the specific underlying implementation.

This is used to handle specific JDBC driver issues. Typically this means getting the OraclePreparedStatement to handle Oracle specific issues etc.

Author:
rbygrave

Method Summary
 PreparedStatement unwrap(PreparedStatement pstmt)
          Unwrap the PreparedStatement to get the specific underlying implementation.
 

Method Detail

unwrap

PreparedStatement unwrap(PreparedStatement pstmt)
Unwrap the PreparedStatement to get the specific underlying implementation.

Parameters:
pstmt - the PreparedStatement coming out of the connection pool
Returns:
the underlying PreparedStatement


Copyright © 2010. All Rights Reserved.