public class OracleCursor extends SqlCursor
The sql statement can contain placeholder characters ? signifying a
parameter which can be set at runtime by calling addParameter(index, value). The index
corresponds with the count of the placeholder character in the SQL statement starting at 1
m_prototype| Constructor and Description |
|---|
OracleCursor()
Deprecated.
use OracleCursor(String, String) and OracleCursor(Connection,String,String)
|
OracleCursor(java.sql.Connection con,
java.lang.String name,
java.lang.String sql)
Deprecated.
Constructor for OracleCursor.
|
OracleCursor(java.lang.String name,
java.lang.String sql)
Deprecated.
Constructor for OracleCursor
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Vector |
select()
Deprecated.
|
addParameter, addParameter, addParameter, addParameter, delete, getConnection, getObject, getParameters, getPreparedStatement, getProtoType, getProtoType, getSelect, insert, insert, reset, retrieve, retrieveList, retrieveList, setConnection, setPageable, toString, updategetName, getNewCursorDatapublic OracleCursor()
public OracleCursor(java.lang.String name,
java.lang.String sql)
name - String, the name of the cursorsql - String, the SQL-statement to use for this cursorpublic OracleCursor(java.sql.Connection con,
java.lang.String name,
java.lang.String sql)
Usually the Connection does not have to be set at initialization, you can use setConnection(Connection)
con - java.sql.Connection, the JDBC connection to use for this Cursorname - String, the name of the cursorsql - String, the SQL-statement to use for this cursor