Java Code Examples for com.mysql.cj.protocol.Resultset#Type
The following examples show how to use
com.mysql.cj.protocol.Resultset#Type .
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: StatementImpl.java From lams with GNU General Public License v2.0 | 5 votes |
/** * Sets the result set type for result sets generated by this statement * * @param typeFlag * @throws SQLException */ void setResultSetType(Resultset.Type typeFlag) throws SQLException { try { synchronized (checkClosed().getConnectionMutex()) { this.query.setResultType(typeFlag); // updating resultset factory because type is cached there this.resultSetFactory = new ResultSetFactory(this.connection, this); } } catch (StatementIsClosedException e) { // FIXME: Can't break interface atm, we'll get the exception later when you try and do something useful with a closed statement... } }
Example 2
Source File: StatementImpl.java From FoxTelem with GNU General Public License v3.0 | 5 votes |
/** * Sets the result set type for result sets generated by this statement * * @param typeFlag * {@link com.mysql.cj.protocol.Resultset.Type} * @throws SQLException * if a database access error occurs or this method is called on a closed PreparedStatement */ void setResultSetType(Resultset.Type typeFlag) throws SQLException { try { synchronized (checkClosed().getConnectionMutex()) { this.query.setResultType(typeFlag); // updating resultset factory because type is cached there this.resultSetFactory = new ResultSetFactory(this.connection, this); } } catch (StatementIsClosedException e) { // FIXME: Can't break interface atm, we'll get the exception later when you try and do something useful with a closed statement... } }
Example 3
Source File: AbstractQuery.java From FoxTelem with GNU General Public License v3.0 | 4 votes |
public void setResultType(Resultset.Type resultSetType) { this.resultSetType = resultSetType; }
Example 4
Source File: ResultsetFactory.java From lams with GNU General Public License v2.0 | 4 votes |
public Resultset.Type getResultSetType() { return this.type; }
Example 5
Source File: AbstractQuery.java From FoxTelem with GNU General Public License v3.0 | 4 votes |
public Resultset.Type getResultType() { return this.resultSetType; }
Example 6
Source File: ResultsetFactory.java From FoxTelem with GNU General Public License v3.0 | 4 votes |
public Resultset.Type getResultSetType() { return this.type; }
Example 7
Source File: ResultSetFactory.java From FoxTelem with GNU General Public License v3.0 | 4 votes |
@Override public Resultset.Type getResultSetType() { return this.type; }
Example 8
Source File: StatementImpl.java From FoxTelem with GNU General Public License v3.0 | 4 votes |
@Override public void setResultType(Resultset.Type resultSetType) { this.query.setResultType(resultSetType); }
Example 9
Source File: StatementImpl.java From FoxTelem with GNU General Public License v3.0 | 4 votes |
@Override public Resultset.Type getResultType() { return this.query.getResultType(); }
Example 10
Source File: AbstractQuery.java From lams with GNU General Public License v2.0 | 4 votes |
public void setResultType(Resultset.Type resultSetType) { this.resultSetType = resultSetType; }
Example 11
Source File: AbstractQuery.java From lams with GNU General Public License v2.0 | 4 votes |
public Resultset.Type getResultType() { return this.resultSetType; }
Example 12
Source File: ResultSetFactory.java From lams with GNU General Public License v2.0 | 4 votes |
public Resultset.Type getResultSetType() { return this.type; }
Example 13
Source File: StatementImpl.java From lams with GNU General Public License v2.0 | 4 votes |
@Override public void setResultType(Resultset.Type resultSetType) { this.query.setResultType(resultSetType); }
Example 14
Source File: StatementImpl.java From lams with GNU General Public License v2.0 | 4 votes |
@Override public Resultset.Type getResultType() { return this.query.getResultType(); }
Example 15
Source File: Query.java From FoxTelem with GNU General Public License v3.0 | votes |
Resultset.Type getResultType();
Example 16
Source File: Query.java From FoxTelem with GNU General Public License v3.0 | votes |
void setResultType(Resultset.Type resultSetType);
Example 17
Source File: Query.java From lams with GNU General Public License v2.0 | votes |
void setResultType(Resultset.Type resultSetType);
Example 18
Source File: Query.java From lams with GNU General Public License v2.0 | votes |
Resultset.Type getResultType();