|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.pds.AbstractPersistentStore
wt.pds.WTPreparedStatement
wt.pds.WTCallableStatement
WTCallableStatement
Field Summary | |
private static String |
BLOB
|
Fields inherited from class wt.pds.WTPreparedStatement |
attributeMap, DEBUG, idx, lobMap, lobOid, skip, stmt, topObject |
Fields inherited from class wt.pds.AbstractPersistentStore |
INLINE_BLOB_OVERFLOW |
Fields inherited from interface wt.pds.PersistentRetrieveIfc |
versionID |
Fields inherited from interface wt.util.WTAttributeNameIfc |
CREATE_STAMP_NAME, ID_NAME, LATEST_ITERATION, LINK_REFA, LINK_REFB, MODIFY_STAMP_NAME, OBJECT_IDENTIFIER, OID_CLASSNAME, PERSIST_INFO, REF_CLASSNAME, REF_OBJECT_ID, REF_SUFFIX, ROLE_AOBJECT_ROLE, ROLE_BOBJECT_ROLE, ROLEA_CLASSNAME, ROLEA_OBJECT_ID, ROLEA_VERSION_ID, ROLEB_CLASSNAME, ROLEB_OBJECT_ID, ROLEB_VERSION_ID, UPDATE_COUNT_NAME, UPDATE_STAMP_NAME |
Fields inherited from interface wt.pds.PersistentStoreIfc |
versionID |
Constructor Summary | |
WTCallableStatement()
|
|
WTCallableStatement(PreparedStatement aStmt,
Map aMap)
|
Method Summary | |
void |
close()
Immediately release a ResultSet's datastore and connection resources |
InputStream |
getAsciiStream(String attrName)
Dummy methods to satisfy PersistentRetrieveIfc |
BigDecimal |
getBigDecimal(String attrName)
Get the value of a column in the current row as a BigDecimal |
BigDecimal |
getBigDecimal(String attrName,
int scale)
|
InputStream |
getBinaryStream(String attrName)
Get the value of a column in the current row as a stream of uninterpreted bytes. |
boolean |
getBoolean(String attrName)
Get the value of a column in the current row as a Java boolean. |
Boolean |
getBooleanObject(String attrName)
Get the value of a column in the current row as a Boolean. |
byte |
getByte(String attrName)
Get the value of a column in the current row as a Java byte. |
Byte |
getByteObject(String attrName)
Get the value of a column in the current row as a Byte. |
byte[] |
getBytes(String attrName)
Get the value of a column in the current row as a Java byte array. |
char |
getChar(String attrName)
Get the value of a column in the current row as a Java char. |
Character |
getCharObject(String attrName)
Get the value of a column in the current row as a Character. |
Date |
getDate(String attrName)
Get the value of a column in the current row as a java.sql.Date object. |
double |
getDouble(String attrName)
Get the value of a column in the current row as a Java double. |
Double |
getDoubleObject(String attrName)
Get the value of a column in the current row as a Double. |
float |
getFloat(String attrName)
Get the value of a column in the current row as a Java float. |
Float |
getFloatObject(String attrName)
Get the value of a column in the current row as a Float. |
Object |
getInlineObject(String attributeName,
String blobAttributeName)
Get the value of a blob column as a Java Object. |
int |
getInt(String attrName)
Get the value of a column in the current row as a Java int. |
Integer |
getIntObject(String attrName)
Get the value of a column in the current row as an Integer. |
LobLocator |
getLobLocator(String attrName)
Get a LobLocator for the given attribute. |
long |
getLong(String attrName)
Get the value of a column in the current row as a Java long. |
Long |
getLongObject(String attrName)
Get the value of a column in the current row as a Long. |
Object |
getObject(String attrName)
Get the value of a column in the current row as a Java object. |
short |
getShort(String attrName)
Get the value of a column in the current row as a Java short. |
Short |
getShortObject(String attrName)
Get the value of a column in the current row as a Short. |
Object |
getSmallObject(String attrName)
Get the value of a column in the current row as a Java object. |
String |
getString(String attrName)
Get the value of a column in the current row as a Java String. |
Time |
getTime(String attrName)
Get the value of a column in the current row as a java.sql.Time object. |
Timestamp |
getTimestamp(String attrName)
Get the value of a column in the current row as a java.sql.Timestamp object. |
InputStream |
getUnicodeStream(String attrName)
Get the value of a column in the current row as a stream of Unicode characters and then read in chunks. |
boolean |
next()
A ResultSet is initially positioned before its first row; the first call to next makes the first row the current row; the second call makes the second row the current row, etc. |
ObjectMappable |
readObject(String attribute_name,
ObjectMappable obj,
Class concrete_class,
boolean is_required)
Get the values corresponding to a nested ObjectMappable Object. |
void |
registerOutParameter(String attrName,
int sqlType)
Utilities |
void |
registerOutParameter(String attrName,
int sqlType,
int scale)
|
boolean |
wasNull()
A column may have the value of SQL NULL; wasNull reports whether the last column read had this special value. |
Methods inherited from class wt.pds.AbstractPersistentStore |
getUserConnection, setInlineObject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface wt.pds.PersistentRetrieveIfc |
getContainer |
Field Detail |
private static final String BLOB
Constructor Detail |
public WTCallableStatement()
public WTCallableStatement(PreparedStatement aStmt, Map aMap)
Method Detail |
public BigDecimal getBigDecimal(String attrName, int scale) throws SQLException
SQLException
public boolean getBoolean(String attrName) throws SQLException
PersistentRetrieveIfc
getBoolean
in interface PersistentRetrieveIfc
attrName
- a class attribute name
SQLException
- if a database-access error occurs.public Boolean getBooleanObject(String attrName) throws SQLException
PersistentRetrieveIfc
getBooleanObject
in interface PersistentRetrieveIfc
attrName
- a class attribute name
SQLException
- if a database-access error occurs.public byte getByte(String attrName) throws SQLException
PersistentRetrieveIfc
getByte
in interface PersistentRetrieveIfc
attrName
- a class attribute name
SQLException
- if a database-access error occurs.public Byte getByteObject(String attrName) throws SQLException
PersistentRetrieveIfc
getByteObject
in interface PersistentRetrieveIfc
attrName
- a class attribute name
SQLException
- if a database-access error occurs.public byte[] getBytes(String attrName) throws SQLException
PersistentRetrieveIfc
getBytes
in interface PersistentRetrieveIfc
attrName
- a class attribute name
SQLException
- if a database-access error occurs.public char getChar(String attrName) throws SQLException
PersistentRetrieveIfc
getChar
in interface PersistentRetrieveIfc
attrName
- a class attribute name
SQLException
- if a database-access error occurs.public Character getCharObject(String attrName) throws SQLException
PersistentRetrieveIfc
getCharObject
in interface PersistentRetrieveIfc
attrName
- a class attribute name
SQLException
- if a database-access error occurs.public Date getDate(String attrName) throws SQLException
PersistentRetrieveIfc
getDate
in interface PersistentRetrieveIfc
attrName
- a class attribute name
SQLException
- if a database-access error occurs.public double getDouble(String attrName) throws SQLException
PersistentRetrieveIfc
getDouble
in interface PersistentRetrieveIfc
attrName
- a class attribute name
SQLException
- if a database-access error occurs.public Double getDoubleObject(String attrName) throws SQLException
PersistentRetrieveIfc
getDoubleObject
in interface PersistentRetrieveIfc
attrName
- a class attribute name
SQLException
- if a database-access error occurs.public float getFloat(String attrName) throws SQLException
PersistentRetrieveIfc
getFloat
in interface PersistentRetrieveIfc
attrName
- a class attribute name
SQLException
- if a database-access error occurs.public Float getFloatObject(String attrName) throws SQLException
PersistentRetrieveIfc
getFloatObject
in interface PersistentRetrieveIfc
attrName
- a class attribute name
SQLException
- if a database-access error occurs.public Object getInlineObject(String attributeName, String blobAttributeName) throws SQLException, DatastoreException
PersistentRetrieveIfc
getInlineObject
in interface PersistentRetrieveIfc
attributeName
- a class attribute nameblobAttributeName
- a blob attribute name
SQLException
- if a database-access error occurs.
DatastoreException
public int getInt(String attrName) throws SQLException
PersistentRetrieveIfc
getInt
in interface PersistentRetrieveIfc
attrName
- a class attribute name
SQLException
- if a database-access error occurs.public Integer getIntObject(String attrName) throws SQLException
PersistentRetrieveIfc
getIntObject
in interface PersistentRetrieveIfc
attrName
- a class attribute name
SQLException
- if a database-access error occurs.public long getLong(String attrName) throws SQLException
PersistentRetrieveIfc
getLong
in interface PersistentRetrieveIfc
attrName
- a class attribute name
SQLException
- if a database-access error occurs.public Long getLongObject(String attrName) throws SQLException
PersistentRetrieveIfc
getLongObject
in interface PersistentRetrieveIfc
attrName
- a class attribute name
SQLException
- if a database-access error occurs.public Object getObject(String attrName) throws SQLException
PersistentRetrieveIfc
getObject
in interface PersistentRetrieveIfc
attrName
- a class attribute name
SQLException
- if a database-access error occurs.public Object getSmallObject(String attrName) throws SQLException, DatastoreException
PersistentRetrieveIfc
getSmallObject
in interface PersistentRetrieveIfc
attrName
- a class attribute name
SQLException
- if a database-access error occurs.
DatastoreException
public short getShort(String attrName) throws SQLException
PersistentRetrieveIfc
getShort
in interface PersistentRetrieveIfc
attrName
- a class attribute name
SQLException
- if a database-access error occurs.public Short getShortObject(String attrName) throws SQLException
PersistentRetrieveIfc
getShortObject
in interface PersistentRetrieveIfc
attrName
- a class attribute name
SQLException
- if a database-access error occurs.public String getString(String attrName) throws SQLException
PersistentRetrieveIfc
getString
in interface PersistentRetrieveIfc
attrName
- a class attribute name
SQLException
- if a database-access error occurs.public Time getTime(String attrName) throws SQLException
PersistentRetrieveIfc
getTime
in interface PersistentRetrieveIfc
attrName
- a class attribute name
SQLException
- if a database-access error occurs.public Timestamp getTimestamp(String attrName) throws SQLException
PersistentRetrieveIfc
getTimestamp
in interface PersistentRetrieveIfc
attrName
- a class attribute name
SQLException
- if a database-access error occurs.public void registerOutParameter(String attrName, int sqlType) throws SQLException
SQLException
public void registerOutParameter(String attrName, int sqlType, int scale) throws SQLException
SQLException
public boolean wasNull() throws SQLException
PersistentRetrieveIfc
wasNull
in interface PersistentRetrieveIfc
SQLException
- if a database-access error occurs.public InputStream getAsciiStream(String attrName) throws SQLException
getAsciiStream
in interface PersistentRetrieveIfc
attrName
- a class attribute name
SQLException
- if a database-access error occurs.public InputStream getBinaryStream(String attrName) throws SQLException
PersistentRetrieveIfc
getBinaryStream
in interface PersistentRetrieveIfc
attrName
- a class attribute name
SQLException
- if a database-access error occurs.public BigDecimal getBigDecimal(String attrName) throws SQLException
PersistentRetrieveIfc
getBigDecimal
in interface PersistentRetrieveIfc
attrName
- a class attribute name
SQLException
- if a database-access error occurs.public InputStream getUnicodeStream(String attrName) throws SQLException
PersistentRetrieveIfc
getUnicodeStream
in interface PersistentRetrieveIfc
attrName
- a class attribute name
SQLException
- if a database-access error occurs.public LobLocator getLobLocator(String attrName) throws SQLException, DatastoreException
PersistentRetrieveIfc
getLobLocator
in interface PersistentRetrieveIfc
attrName
- a class attribute name
SQLException
- if a database-access error occurs.
DatastoreException
public ObjectMappable readObject(String attribute_name, ObjectMappable obj, Class concrete_class, boolean is_required) throws SQLException, DatastoreException
PersistentRetrieveIfc
readExternal
method.
readObject
in interface PersistentRetrieveIfc
attribute_name
- a class attribute nameobj
- the nested objectconcrete_class
- the class to instantiate if needed
DatastoreException
- if any other internal error occurs.
SQLException
- if a database-access error occurs.public boolean next() throws SQLException
PersistentRetrieveIfc
next
in interface PersistentRetrieveIfc
SQLException
- if a database-access error occurs.public void close() throws SQLException
PersistentRetrieveIfc
close
in interface PersistentRetrieveIfc
SQLException
- if a database-access error occurs.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |