Java Code Examples for com.mysql.cj.jdbc.result.ResultSetInternalMethods#getDate()
The following examples show how to use
com.mysql.cj.jdbc.result.ResultSetInternalMethods#getDate() .
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 lams with GNU General Public License v2.0 | 5 votes |
/** * @see java.sql.CallableStatement#getDate(int) */ 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; } }
Example 2
Source File: CallableStatement.java From lams with GNU General Public License v2.0 | 5 votes |
/** * @see java.sql.CallableStatement#getDate(int, java.util.Calendar) */ public Date getDate(int parameterIndex, Calendar cal) throws SQLException { synchronized (checkClosed().getConnectionMutex()) { ResultSetInternalMethods rs = getOutputParameters(parameterIndex); Date retValue = rs.getDate(mapOutputParameterIndexToRsIndex(parameterIndex), cal); this.outputParamWasNull = rs.wasNull(); return retValue; } }
Example 3
Source File: CallableStatement.java From lams with GNU General Public License v2.0 | 5 votes |
/** * @see java.sql.CallableStatement#getDate(java.lang.String) */ public Date getDate(String parameterName) throws SQLException { synchronized (checkClosed().getConnectionMutex()) { ResultSetInternalMethods rs = getOutputParameters(0); // definitely not going to be from ?= Date retValue = rs.getDate(fixParameterName(parameterName)); this.outputParamWasNull = rs.wasNull(); return retValue; } }
Example 4
Source File: CallableStatement.java From lams with GNU General Public License v2.0 | 5 votes |
/** * @see java.sql.CallableStatement#getDate(java.lang.String, java.util.Calendar) */ public Date getDate(String parameterName, Calendar cal) throws SQLException { synchronized (checkClosed().getConnectionMutex()) { ResultSetInternalMethods rs = getOutputParameters(0); // definitely not going to be from ?= Date retValue = rs.getDate(fixParameterName(parameterName), cal); this.outputParamWasNull = rs.wasNull(); return retValue; } }
Example 5
Source File: CallableStatement.java From FoxTelem with GNU General Public License v3.0 | 5 votes |
@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; } }
Example 6
Source File: CallableStatement.java From FoxTelem with GNU General Public License v3.0 | 5 votes |
@Override public Date getDate(int parameterIndex, Calendar cal) throws SQLException { synchronized (checkClosed().getConnectionMutex()) { ResultSetInternalMethods rs = getOutputParameters(parameterIndex); Date retValue = rs.getDate(mapOutputParameterIndexToRsIndex(parameterIndex), cal); this.outputParamWasNull = rs.wasNull(); return retValue; } }
Example 7
Source File: CallableStatement.java From FoxTelem with GNU General Public License v3.0 | 5 votes |
@Override public Date getDate(String parameterName) throws SQLException { synchronized (checkClosed().getConnectionMutex()) { ResultSetInternalMethods rs = getOutputParameters(0); // definitely not going to be from ?= Date retValue = rs.getDate(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 Date getDate(String parameterName, Calendar cal) throws SQLException { synchronized (checkClosed().getConnectionMutex()) { ResultSetInternalMethods rs = getOutputParameters(0); // definitely not going to be from ?= Date retValue = rs.getDate(fixParameterName(parameterName), cal); this.outputParamWasNull = rs.wasNull(); return retValue; } }