|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eigenbase.jdbc4.Unwrappable net.sf.farrago.jdbc.engine.FarragoJdbcEngineStatement net.sf.farrago.jdbc.engine.FarragoJdbcEnginePreparedStatement net.sf.farrago.jdbc.engine.FarragoJdbcEnginePreparedDdl
public class FarragoJdbcEnginePreparedDdl
FarragoJdbcEnginePreparedDdl implements FarragoJdbcEnginePreparedStatement
when the statement is DDL.
Field Summary |
---|
Fields inherited from class net.sf.farrago.jdbc.engine.FarragoJdbcEnginePreparedStatement |
---|
ERRMSG_ALREADY_PREPARED, sql |
Fields inherited from class net.sf.farrago.jdbc.engine.FarragoJdbcEngineStatement |
---|
connection, stmtContext |
Fields inherited from interface java.sql.Statement |
---|
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO |
Fields inherited from interface net.sf.farrago.jdbc.FarragoStatement |
---|
ERRMSG_IS_A_QUERY, ERRMSG_NOT_A_QUERY, ERRMSG_REQ_NON_NEG |
Constructor Summary | |
---|---|
FarragoJdbcEnginePreparedDdl(FarragoJdbcEngineConnection connection,
FarragoSessionStmtContext stmtContext,
String sql)
Creates a new FarragoJdbcEnginePreparedDdl object. |
Method Summary | |
---|---|
boolean |
execute()
|
private void |
executeDdl()
|
ResultSet |
executeQuery()
|
int |
executeUpdate()
|
Methods inherited from class net.sf.farrago.jdbc.engine.FarragoJdbcEnginePreparedStatement |
---|
addBatch, addBatch, clearBatch, clearParameters, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getMetaData, getParameterMetaData, setArray, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setDate, setDate, setDouble, setEscapeProcessing, setFloat, setInt, setLong, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setNull, setNull, setObject, setObject, setObject, setRef, setRowId, setShort, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL |
Methods inherited from class net.sf.farrago.jdbc.engine.FarragoJdbcEngineStatement |
---|
cancel, clearWarnings, close, getConnection, getFarragoExecutingStmtId, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isPoolable, openCursorResultSet, setCursorName, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout, validateSession |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.sql.Statement |
---|
cancel, clearWarnings, close, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, setCursorName, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout |
Constructor Detail |
---|
FarragoJdbcEnginePreparedDdl(FarragoJdbcEngineConnection connection, FarragoSessionStmtContext stmtContext, String sql)
connection
- the connection creating this statementstmtContext
- the underyling FarragoSessionStmtContext (unprepared)sql
- the text of the DDL statementMethod Detail |
---|
public boolean execute() throws SQLException
SQLException
public ResultSet executeQuery() throws SQLException
SQLException
public int executeUpdate() throws SQLException
SQLException
private void executeDdl() throws SQLException
SQLException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |