use of com.mysql.cj.jdbc.result.ResultSetInternalMethods in project aws-mysql-jdbc by awslabs.
the class CallableStatement method getSQLXML.
@Override
public SQLXML getSQLXML(String parameterName) throws SQLException {
// definitely not going to be from ?=
ResultSetInternalMethods rs = getOutputParameters(0);
SQLXML retValue = rs.getSQLXML(fixParameterName(parameterName));
this.outputParamWasNull = rs.wasNull();
return retValue;
}
use of com.mysql.cj.jdbc.result.ResultSetInternalMethods in project aws-mysql-jdbc by awslabs.
the class CallableStatement method getBoolean.
@Override
public boolean getBoolean(String parameterName) throws SQLException {
synchronized (checkClosed().getConnectionMutex()) {
// definitely not going to be from ?=
ResultSetInternalMethods rs = getOutputParameters(0);
boolean retValue = rs.getBoolean(fixParameterName(parameterName));
this.outputParamWasNull = rs.wasNull();
return retValue;
}
}
use of com.mysql.cj.jdbc.result.ResultSetInternalMethods in project aws-mysql-jdbc by awslabs.
the class CallableStatement method getDate.
@Override
public Date getDate(int parameterIndex) throws SQLException {
synchronized (checkClosed().getConnectionMutex()) {
ResultSetInternalMethods rs = getOutputParameters(parameterIndex);
Date retValue = rs.getDate(mapOutputParameterIndexToRsIndex(parameterIndex));
this.outputParamWasNull = rs.wasNull();
return retValue;
}
}
use of com.mysql.cj.jdbc.result.ResultSetInternalMethods in project aws-mysql-jdbc by awslabs.
the class CallableStatement method getString.
@Override
public String getString(String parameterName) throws SQLException {
synchronized (checkClosed().getConnectionMutex()) {
// definitely not going to be from ?=
ResultSetInternalMethods rs = getOutputParameters(0);
String retValue = rs.getString(fixParameterName(parameterName));
this.outputParamWasNull = rs.wasNull();
return retValue;
}
}
use of com.mysql.cj.jdbc.result.ResultSetInternalMethods in project aws-mysql-jdbc by awslabs.
the class CallableStatement method getURL.
@Override
public URL getURL(int parameterIndex) throws SQLException {
synchronized (checkClosed().getConnectionMutex()) {
ResultSetInternalMethods rs = getOutputParameters(parameterIndex);
URL retValue = rs.getURL(mapOutputParameterIndexToRsIndex(parameterIndex));
this.outputParamWasNull = rs.wasNull();
return retValue;
}
}
Aggregations