|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.orindasoft.pub.StatementParameters2
com.orindasoft.pub.DmlStatement
public abstract class DmlStatement
A parameterized SQL statement that continues to exist even if the connection it uses is withdrawn.
Under normal circumstances OrindaBuild users will have no reason to use this class directly - the generated code will use it.
(c) Copyright 2003 - 2012 Orinda Software Ltd
| Constructor Summary | |
|---|---|
DmlStatement(java.lang.String statementSqlText,
LogInterface theLog)
Create a DML Statement object. |
|
DmlStatement(java.lang.String statementSqlText,
LogInterface theLog,
java.sql.Connection theConnection)
Create a DML Statement object and give it a connection |
|
| Method Summary | |
|---|---|
boolean |
connectionIsUsable()
Check if our connection is usable |
void |
freeConnection()
Release the current connection |
java.sql.Statement |
getUnderlyingStatement()
Return underlying java.sql.Statement Object. |
boolean |
hasResources()
Used to tell if the object is using Oracle resources. |
boolean |
releaseResources()
Used to tell an object to release its Oracle resources. |
void |
setConnection(java.sql.Connection theConnection)
Provide a connection |
| Methods inherited from class com.orindasoft.pub.StatementParameters2 |
|---|
bindParameters, checkBuild, checkSet, clearParameters, getParam, getParamCount, getParameters, getSignature, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setParam, setPlSqlTableArrayParam |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DmlStatement(java.lang.String statementSqlText,
LogInterface theLog,
java.sql.Connection theConnection)
public DmlStatement(java.lang.String statementSqlText,
LogInterface theLog)
| Method Detail |
|---|
public void setConnection(java.sql.Connection theConnection)
Connection - theConnectionpublic void freeConnection()
The prepared Statement will be closed and nullified.
public boolean connectionIsUsable()
public boolean hasResources()
hasResources in interface OracleResourceUserpublic boolean releaseResources()
releaseResources in interface OracleResourceUser
public java.sql.Statement getUnderlyingStatement()
throws CSDBException
CSDBException - If we had to try to create the Statement before we could return it and something went wrong.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||