@Override public Timestamp getTimestamp(String parameterName, Calendar cal) throws SQLException { return delegate.getTimestamp(parameterName, cal); }
@Override public Timestamp getTimestamp(int parameterIndex, Calendar cal) throws SQLException { return delegate.getTimestamp(parameterIndex, cal); }
@Override public Timestamp getTimestamp(String parameterName) throws SQLException { return delegate.getTimestamp(parameterName); }
@Override public Timestamp getTimestamp(int parameterIndex) throws SQLException { return delegate.getTimestamp(parameterIndex); }
public Timestamp getTimestamp(int parameterIndex) throws SQLException { return cstmt.getTimestamp(parameterIndex); }
public Timestamp getTimestamp(int parameterIndex, Calendar cal) throws SQLException { return cstmt.getTimestamp(parameterIndex, cal); }
public Timestamp getTimestamp(String parameterName) throws SQLException { return cstmt.getTimestamp(parameterName); }
public Timestamp getTimestamp(String parameterName, Calendar cal) throws SQLException { return cstmt.getTimestamp(parameterName, cal); }
@Override public java.sql.Timestamp getTimestamp(int parameterIndex) throws SQLException { try { return stmt.getTimestamp(parameterIndex); } catch (Throwable t) { throw checkException(t); } }
@Override public java.sql.Timestamp getTimestamp(int parameterIndex, Calendar cal) throws SQLException { try { return stmt.getTimestamp(parameterIndex, cal); } catch (Throwable t) { throw checkException(t); } }
@Override public java.sql.Timestamp getTimestamp(String parameterName, Calendar cal) throws SQLException { try { return stmt.getTimestamp(parameterName, cal); } catch (Throwable t) { throw checkException(t); } }
@Override public java.sql.Timestamp getTimestamp(String parameterName) throws SQLException { try { return stmt.getTimestamp(parameterName); } catch (Throwable t) { throw checkException(t); } }
@Override protected X doExtract(CallableStatement statement, int index, WrapperOptions options) throws SQLException { return options.getJdbcTimeZone() != null ? javaTypeDescriptor.wrap( statement.getTimestamp( index, Calendar.getInstance( options.getJdbcTimeZone() ) ), options ) : javaTypeDescriptor.wrap( statement.getTimestamp( index ), options ); }
@Override protected X doExtract(CallableStatement statement, String name, WrapperOptions options) throws SQLException { return options.getJdbcTimeZone() != null ? javaTypeDescriptor.wrap( statement.getTimestamp( name, Calendar.getInstance( options.getJdbcTimeZone() ) ), options ) : javaTypeDescriptor.wrap( statement.getTimestamp( name ), options ); } };
@Override public java.sql.Timestamp callableStatement_getTimestamp(CallableStatementProxy statement, int parameterIndex, Calendar cal) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getTimestamp(this, statement, parameterIndex, cal); } return statement.getRawObject().getTimestamp(parameterIndex, cal); }
@Override public java.sql.Timestamp callableStatement_getTimestamp(CallableStatementProxy statement, String parameterName) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getTimestamp(this, statement, parameterName); } return statement.getRawObject().getTimestamp(parameterName); }
@Override public java.sql.Timestamp callableStatement_getTimestamp(CallableStatementProxy statement, String parameterName, Calendar cal) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getTimestamp(this, statement, parameterName, cal); } return statement.getRawObject().getTimestamp(parameterName, cal); }
@Override public java.sql.Timestamp callableStatement_getTimestamp(CallableStatementProxy statement, int parameterIndex) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getTimestamp(this, statement, parameterIndex); } return statement.getRawObject().getTimestamp(parameterIndex); }
case Types.TIMESTAMP: case Types.TIME: return stmt.getTimestamp(position); case Types.DATE: return stmt.getDate(position);
cs.registerOutParameter( 1, java.sql.Types.TIMESTAMP ); session.getJdbcCoordinator().getResultSetReturn().execute( cs ); Timestamp ts = cs.getTimestamp( 1 ); if ( LOG.isTraceEnabled() ) { LOG.tracev(