Java Code Examples for com.mysql.cj.jdbc.result.ResultSetInternalMethods#wasNull()
The following examples show how to use
com.mysql.cj.jdbc.result.ResultSetInternalMethods#wasNull() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: CallableStatement.java From FoxTelem with GNU General Public License v3.0 | 5 votes |
@Override public Blob getBlob(int parameterIndex) throws SQLException { synchronized (checkClosed().getConnectionMutex()) { ResultSetInternalMethods rs = getOutputParameters(parameterIndex); Blob retValue = rs.getBlob(mapOutputParameterIndexToRsIndex(parameterIndex)); this.outputParamWasNull = rs.wasNull(); return retValue; } }
Example 2
Source File: CallableStatement.java From lams with GNU General Public License v2.0 | 5 votes |
/** * @see java.sql.CallableStatement#getString(java.lang.String) */ public String getString(String parameterName) throws SQLException { synchronized (checkClosed().getConnectionMutex()) { ResultSetInternalMethods rs = getOutputParameters(0); // definitely not going to be from ?= String retValue = rs.getString(fixParameterName(parameterName)); this.outputParamWasNull = rs.wasNull(); return retValue; } }
Example 3
Source File: CallableStatement.java From FoxTelem with GNU General Public License v3.0 | 5 votes |
@Override public float getFloat(String parameterName) throws SQLException { synchronized (checkClosed().getConnectionMutex()) { ResultSetInternalMethods rs = getOutputParameters(0); // definitely not going to be from ?= float retValue = rs.getFloat(fixParameterName(parameterName)); this.outputParamWasNull = rs.wasNull(); return retValue; } }
Example 4
Source File: CallableStatement.java From FoxTelem with GNU General Public License v3.0 | 5 votes |
@Override public BigDecimal getBigDecimal(String parameterName) throws SQLException { synchronized (checkClosed().getConnectionMutex()) { ResultSetInternalMethods rs = getOutputParameters(0); // definitely not going to be from ?= BigDecimal retValue = rs.getBigDecimal(fixParameterName(parameterName)); this.outputParamWasNull = rs.wasNull(); return retValue; } }
Example 5
Source File: CallableStatement.java From lams with GNU General Public License v2.0 | 5 votes |
/** * @see java.sql.CallableStatement#getRef(java.lang.String) */ public Ref getRef(String parameterName) throws SQLException { synchronized (checkClosed().getConnectionMutex()) { ResultSetInternalMethods rs = getOutputParameters(0); // definitely not going to be from ?= Ref retValue = rs.getRef(fixParameterName(parameterName)); this.outputParamWasNull = rs.wasNull(); return retValue; } }
Example 6
Source File: CallableStatement.java From FoxTelem with GNU General Public License v3.0 | 5 votes |
@Override public byte[] getBytes(String parameterName) throws SQLException { synchronized (checkClosed().getConnectionMutex()) { ResultSetInternalMethods rs = getOutputParameters(0); // definitely not going to be from ?= byte[] retValue = rs.getBytes(fixParameterName(parameterName)); this.outputParamWasNull = rs.wasNull(); return retValue; } }
Example 7
Source File: CallableStatement.java From lams with GNU General Public License v2.0 | 5 votes |
/** * @see java.sql.CallableStatement#getFloat(java.lang.String) */ public float getFloat(String parameterName) throws SQLException { synchronized (checkClosed().getConnectionMutex()) { ResultSetInternalMethods rs = getOutputParameters(0); // definitely not going to be from ?= float retValue = rs.getFloat(fixParameterName(parameterName)); this.outputParamWasNull = rs.wasNull(); return retValue; } }
Example 8
Source File: CallableStatement.java From FoxTelem with GNU General Public License v3.0 | 5 votes |
@Override public Time getTime(String parameterName) throws SQLException { synchronized (checkClosed().getConnectionMutex()) { ResultSetInternalMethods rs = getOutputParameters(0); // definitely not going to be from ?= Time retValue = rs.getTime(fixParameterName(parameterName)); this.outputParamWasNull = rs.wasNull(); return retValue; } }
Example 9
Source File: CallableStatement.java From lams with GNU General Public License v2.0 | 5 votes |
/** * @see java.sql.CallableStatement#getBytes(java.lang.String) */ public byte[] getBytes(String parameterName) throws SQLException { synchronized (checkClosed().getConnectionMutex()) { ResultSetInternalMethods rs = getOutputParameters(0); // definitely not going to be from ?= byte[] retValue = rs.getBytes(fixParameterName(parameterName)); this.outputParamWasNull = rs.wasNull(); return retValue; } }
Example 10
Source File: CallableStatement.java From lams with GNU General Public License v2.0 | 5 votes |
/** * @see java.sql.CallableStatement#getBytes(int) */ public byte[] getBytes(int parameterIndex) throws SQLException { synchronized (checkClosed().getConnectionMutex()) { ResultSetInternalMethods rs = getOutputParameters(parameterIndex); byte[] retValue = rs.getBytes(mapOutputParameterIndexToRsIndex(parameterIndex)); this.outputParamWasNull = rs.wasNull(); return retValue; } }
Example 11
Source File: CallableStatement.java From FoxTelem with GNU General Public License v3.0 | 5 votes |
@Override public Time getTime(String parameterName, Calendar cal) throws SQLException { synchronized (checkClosed().getConnectionMutex()) { ResultSetInternalMethods rs = getOutputParameters(0); // definitely not going to be from ?= Time retValue = rs.getTime(fixParameterName(parameterName), cal); this.outputParamWasNull = rs.wasNull(); return retValue; } }
Example 12
Source File: CallableStatement.java From lams with GNU General Public License v2.0 | 5 votes |
/** * @see java.sql.CallableStatement#getObject(int, java.util.Map) */ public Object getObject(int parameterIndex, Map<String, Class<?>> map) throws SQLException { synchronized (checkClosed().getConnectionMutex()) { ResultSetInternalMethods rs = getOutputParameters(parameterIndex); Object retVal = rs.getObject(mapOutputParameterIndexToRsIndex(parameterIndex), map); this.outputParamWasNull = rs.wasNull(); return retVal; } }
Example 13
Source File: CallableStatement.java From FoxTelem with GNU General Public License v3.0 | 5 votes |
@Override public byte[] getBytes(int parameterIndex) throws SQLException { synchronized (checkClosed().getConnectionMutex()) { ResultSetInternalMethods rs = getOutputParameters(parameterIndex); byte[] retValue = rs.getBytes(mapOutputParameterIndexToRsIndex(parameterIndex)); this.outputParamWasNull = rs.wasNull(); return retValue; } }
Example 14
Source File: CallableStatement.java From FoxTelem with GNU General Public License v3.0 | 5 votes |
@Override public Timestamp getTimestamp(String parameterName, Calendar cal) throws SQLException { synchronized (checkClosed().getConnectionMutex()) { ResultSetInternalMethods rs = getOutputParameters(0); // definitely not going to be from ?= Timestamp retValue = rs.getTimestamp(fixParameterName(parameterName), cal); this.outputParamWasNull = rs.wasNull(); return retValue; } }
Example 15
Source File: CallableStatement.java From lams with GNU General Public License v2.0 | 5 votes |
/** * @see java.sql.CallableStatement#getBigDecimal(int) */ public BigDecimal getBigDecimal(int parameterIndex) throws SQLException { synchronized (checkClosed().getConnectionMutex()) { ResultSetInternalMethods rs = getOutputParameters(parameterIndex); BigDecimal retValue = rs.getBigDecimal(mapOutputParameterIndexToRsIndex(parameterIndex)); this.outputParamWasNull = rs.wasNull(); return retValue; } }
Example 16
Source File: CallableStatement.java From FoxTelem with GNU General Public License v3.0 | 5 votes |
@Override public short getShort(int parameterIndex) throws SQLException { synchronized (checkClosed().getConnectionMutex()) { ResultSetInternalMethods rs = getOutputParameters(parameterIndex); short retValue = rs.getShort(mapOutputParameterIndexToRsIndex(parameterIndex)); this.outputParamWasNull = rs.wasNull(); return retValue; } }
Example 17
Source File: CallableStatement.java From lams with GNU General Public License v2.0 | 3 votes |
public SQLXML getSQLXML(int parameterIndex) throws SQLException { ResultSetInternalMethods rs = getOutputParameters(parameterIndex); SQLXML retValue = rs.getSQLXML(mapOutputParameterIndexToRsIndex(parameterIndex)); this.outputParamWasNull = rs.wasNull(); return retValue; }
Example 18
Source File: CallableStatement.java From FoxTelem with GNU General Public License v3.0 | 3 votes |
@Override public SQLXML getSQLXML(int parameterIndex) throws SQLException { ResultSetInternalMethods rs = getOutputParameters(parameterIndex); SQLXML retValue = rs.getSQLXML(mapOutputParameterIndexToRsIndex(parameterIndex)); this.outputParamWasNull = rs.wasNull(); return retValue; }
Example 19
Source File: CallableStatement.java From lams with GNU General Public License v2.0 | 3 votes |
public NClob getNClob(int parameterIndex) throws SQLException { ResultSetInternalMethods rs = getOutputParameters(parameterIndex); NClob retValue = rs.getNClob(mapOutputParameterIndexToRsIndex(parameterIndex)); this.outputParamWasNull = rs.wasNull(); return retValue; }
Example 20
Source File: CallableStatement.java From lams with GNU General Public License v2.0 | 3 votes |
/** * @see java.sql.CallableStatement#getCharacterStream(int) */ public Reader getCharacterStream(int parameterIndex) throws SQLException { ResultSetInternalMethods rs = getOutputParameters(parameterIndex); Reader retValue = rs.getCharacterStream(mapOutputParameterIndexToRsIndex(parameterIndex)); this.outputParamWasNull = rs.wasNull(); return retValue; }