@Override public Time getTime(String parameterName) throws SQLException { return delegate.getTime(parameterName); }
@Override public Time getTime(int parameterIndex) throws SQLException { return delegate.getTime(parameterIndex); }
@Override public Time getTime(int parameterIndex, Calendar cal) throws SQLException { return delegate.getTime(parameterIndex, cal); }
@Override public Time getTime(String parameterName, Calendar cal) throws SQLException { return delegate.getTime(parameterName, cal); }
public Time getTime(int parameterIndex) throws SQLException { return cstmt.getTime(parameterIndex); }
public Time getTime(String parameterName, Calendar cal) throws SQLException { return cstmt.getTime(parameterName, cal); }
public Time getTime(int parameterIndex, Calendar cal) throws SQLException { return cstmt.getTime(parameterIndex, cal); }
public Time getTime(String parameterName) throws SQLException { return cstmt.getTime(parameterName); }
@Override public java.sql.Time getTime(int parameterIndex) throws SQLException { try { return stmt.getTime(parameterIndex); } catch (Throwable t) { throw checkException(t); } }
@Override public java.sql.Time getTime(int parameterIndex, Calendar cal) throws SQLException { try { return stmt.getTime(parameterIndex, cal); } catch (Throwable t) { throw checkException(t); } }
@Override public java.sql.Time getTime(String parameterName) throws SQLException { try { return stmt.getTime(parameterName); } catch (Throwable t) { throw checkException(t); } }
@Override public java.sql.Time getTime(String parameterName, Calendar cal) throws SQLException { try { return stmt.getTime(parameterName, cal); } 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.getTime( index, Calendar.getInstance( options.getJdbcTimeZone() ) ), options ) : javaTypeDescriptor.wrap( statement.getTime( index ), options ); }
@Override protected X doExtract(CallableStatement statement, String name, WrapperOptions options) throws SQLException { return options.getJdbcTimeZone() != null ? javaTypeDescriptor.wrap( statement.getTime( name, Calendar.getInstance( options.getJdbcTimeZone() ) ), options ) : javaTypeDescriptor.wrap( statement.getTime( name ), options ); } };
@Override public java.sql.Time callableStatement_getTime(CallableStatementProxy statement, int parameterIndex, Calendar cal) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getTime(this, statement, parameterIndex, cal); } return statement.getRawObject().getTime(parameterIndex, cal); }
@Override public java.sql.Time callableStatement_getTime(CallableStatementProxy statement, String parameterName, Calendar cal) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getTime(this, statement, parameterName, cal); } return statement.getRawObject().getTime(parameterName, cal); }
@Override public java.sql.Time callableStatement_getTime(CallableStatementProxy statement, int parameterIndex) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getTime(this, statement, parameterIndex); } return statement.getRawObject().getTime(parameterIndex); }
@Override public java.sql.Time callableStatement_getTime(CallableStatementProxy statement, String parameterName) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getTime(this, statement, parameterName); } return statement.getRawObject().getTime(parameterName); }
@Override public Time getNullableResult(CallableStatement cs, int columnIndex) throws SQLException { return cs.getTime(columnIndex); } }
@Override public Date getNullableResult(CallableStatement cs, int columnIndex) throws SQLException { java.sql.Time sqlTime = cs.getTime(columnIndex); if (sqlTime != null) { return new Date(sqlTime.getTime()); } return null; } }