public class ResultSetWrapper extends Object implements AutoCloseable
ResultSets.| Constructor and Description |
|---|
ResultSetWrapper(StatementWrapper stmt,
ResultSet rs)
Creates a wrapper for the given result set.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
absolute(int row)
Moves the cursor to the given row number in
this
ResultSet object. |
void |
afterLast()
Moves the cursor to the end of
this
ResultSet object, just after the
last row. |
void |
beforeFirst()
Moves the cursor to the front of
this
ResultSet object, just before the
first row. |
void |
close()
Closes the resultset.
|
void |
configureColumn(String name)
Configures a column of the current section for automatic retrieval.
|
boolean |
configureSection(Object key)
Configures a section within this resultset for retrieval.
|
void |
endSkip()
Ends skip mode.
|
protected void |
finalize()
Overridden to close forgotten resultsets.
|
int |
findColumn(String name)
Maps the given column name to its column index.
|
boolean |
first()
Moves the cursor to the first row in
this
ResultSet object. |
Boolean |
getABoolean()
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a Boolean in the Java programming language. |
Boolean |
getABoolean(int pos)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a Boolean in the Java programming language. |
Boolean |
getABoolean(String name)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a Boolean in the Java programming language. |
Byte |
getAByte()
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a Byte in the Java programming language. |
Byte |
getAByte(int pos)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a Byte in the Java programming language. |
Byte |
getAByte(String name)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a Byte in the Java programming language. |
Double |
getADouble()
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a Double in the Java programming language. |
Double |
getADouble(int pos)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a Double in the Java programming language. |
Double |
getADouble(String name)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a Double in the Java programming language. |
Float |
getAFloat()
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a Float in the Java programming language. |
Float |
getAFloat(int pos)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a Float in the Java programming language. |
Float |
getAFloat(String name)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a Float in the Java programming language. |
Long |
getALong()
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a Long in the Java programming language. |
Long |
getALong(int pos)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a Long in the Java programming language. |
Long |
getALong(String name)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a Long in the Java programming language. |
Short |
getAShort()
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a Short in the Java programming language. |
Short |
getAShort(int pos)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a Short in the Java programming language. |
Short |
getAShort(String name)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a Short in the Java programming language. |
BigDecimal |
getBigDecimal()
Retrieves the value of the designated column in the current row
of this
ResultSet object as a
java.math.BigDecimal with full precision. |
BigDecimal |
getBigDecimal(int pos)
Retrieves the value of the designated column in the current row
of this
ResultSet object as a
java.math.BigDecimal with full precision. |
BigDecimal |
getBigDecimal(String name)
Retrieves the value of the designated column in the current row
of this
ResultSet object as a
java.math.BigDecimal with full precision. |
org.tentackle.common.Binary<?> |
getBinary(int bufSize)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a Binary in the Java programming language. |
org.tentackle.common.Binary<?> |
getBinary(int pos,
int bufSize)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a Binary in the Java programming language. |
org.tentackle.common.Binary<?> |
getBinary(String name,
int bufSize)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a Binary in the Java programming language. |
org.tentackle.common.BMoney |
getBMoney()
Retrieves the value of the designated column in the current row
of this
ResultSet object as a
BMoney with full precision.Notice that BMoney fields use two fields: one for the value and one for the scale (= name + "P") |
org.tentackle.common.BMoney |
getBMoney(int pos,
int ppos)
Retrieves the value of the designated column in the current row
of this
ResultSet object as a
BMoney with full precision.Notice that BMoney fields use two fields: one for the value and one for the scale (= name + "P") |
org.tentackle.common.BMoney |
getBMoney(String name)
Retrieves the value of the designated column in the current row
of this
ResultSet object as a
BMoney with full precision.Notice that BMoney fields use two fields: one for the value and one for the scale (= name + "P") |
boolean |
getBoolean()
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a boolean in the Java programming language. |
boolean |
getBoolean(int pos)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a boolean in the Java programming language. |
boolean |
getBoolean(String name)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a boolean in the Java programming language. |
byte |
getByte()
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a byte in the Java programming language. |
byte |
getByte(int pos)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a byte in the Java programming language. |
byte |
getByte(String name)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a byte in the Java programming language. |
char |
getChar()
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a char in the Java programming language. |
char |
getChar(int pos)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a char in the Java programming language. |
char |
getChar(String name)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a char in the Java programming language. |
Character |
getCharacter()
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a Character in the Java programming language. |
Character |
getCharacter(boolean mapNull)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a Character in the Java programming language. |
Character |
getCharacter(int pos)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a Character in the Java programming language. |
Character |
getCharacter(int pos,
boolean mapNull)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a Character in the Java programming language. |
Character |
getCharacter(String name)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a Character in the Java programming language. |
Character |
getCharacter(String name,
boolean mapNull)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a Character in the Java programming language. |
int |
getColumnCount()
Gets the number of columns in the resultset.
|
int |
getColumnOffset()
Gets the column offset.
|
long |
getCommitOnCloseVoucher()
Gets the commit-on-close voucher.
|
org.tentackle.common.Date |
getDate()
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a java.sql.Date in the Java programming language. |
org.tentackle.common.Date |
getDate(boolean mapNull)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a java.sql.Date in the Java programming language. |
org.tentackle.common.Date |
getDate(Calendar timezone)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a java.sql.Date in the Java programming language. |
org.tentackle.common.Date |
getDate(Calendar timezone,
boolean mapNull)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a java.sql.Date in the Java programming language. |
org.tentackle.common.Date |
getDate(int pos)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a java.sql.Date in the Java programming language. |
org.tentackle.common.Date |
getDate(int pos,
boolean mapNull)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a java.sql.Date in the Java programming language. |
org.tentackle.common.Date |
getDate(int pos,
Calendar timezone)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a java.sql.Date in the Java programming language. |
org.tentackle.common.Date |
getDate(int pos,
Calendar timezone,
boolean mapNull)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a java.sql.Date in the Java programming language. |
org.tentackle.common.Date |
getDate(String name)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a java.sql.Date in the Java programming language. |
org.tentackle.common.Date |
getDate(String name,
boolean mapNull)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a java.sql.Date in the Java programming language. |
org.tentackle.common.Date |
getDate(String name,
Calendar timezone)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a java.sql.Date in the Java programming language. |
org.tentackle.common.Date |
getDate(String name,
Calendar timezone,
boolean mapNull)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a java.sql.Date in the Java programming language. |
org.tentackle.common.DMoney |
getDMoney()
Retrieves the value of the designated column in the current row
of this
ResultSet object as a
DMoney with full precision.Notice that DMoney fields use two fields: one for the value and one for the scale (= name + "P") |
org.tentackle.common.DMoney |
getDMoney(int pos,
int ppos)
Retrieves the value of the designated column in the current row
of this
ResultSet object as a
DMoney with full precision.Notice that DMoney fields use two fields: one for the value and one for the scale (= name + "P") |
org.tentackle.common.DMoney |
getDMoney(String name)
Retrieves the value of the designated column in the current row
of this
ResultSet object as a
DMoney with full precision.Notice that DMoney fields use two fields: one for the value and one for the scale (= name + "P") |
double |
getDouble()
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a double in the Java programming language. |
double |
getDouble(int pos)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a double in the Java programming language. |
double |
getDouble(String name)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a double in the Java programming language. |
int |
getFetchDirection()
Retrieves the fetch direction for this
ResultSet object. |
int |
getFetchSize()
Retrieves the fetch size for this
ResultSet object. |
float |
getFloat()
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a float in the Java programming language. |
float |
getFloat(int pos)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a float in the Java programming language. |
float |
getFloat(String name)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a float in the Java programming language. |
int |
getInt()
Retrieves the value of the designated column in the current row
of this
ResultSet object as
an int in the Java programming language. |
int |
getInt(int pos)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
an int in the Java programming language. |
int |
getInt(String name)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
an int in the Java programming language. |
Integer |
getInteger()
Retrieves the value of the designated column in the current row
of this
ResultSet object as
an Integer in the Java programming language. |
Integer |
getInteger(int pos)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
an Integer in the Java programming language. |
Integer |
getInteger(String name)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
an Integer in the Java programming language. |
long |
getLong()
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a long in the Java programming language. |
long |
getLong(int pos)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a long in the Java programming language. |
long |
getLong(String name)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a long in the Java programming language. |
ResultSetMetaData |
getMetaData()
Gets the metadata.
|
Object |
getObject(int pos)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a String in the Java programming language. |
Object |
getObject(String name)
Retrieves the value of the designated column in the current row.
|
int |
getRow()
Retrieves the current row number.
The first row is number 1, the second number 2, and so on. |
Db |
getSession()
Gets the session associated to the result set.
|
short |
getShort()
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a short in the Java programming language. |
short |
getShort(int pos)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a short in the Java programming language. |
short |
getShort(String name)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a short in the Java programming language. |
int |
getSkipBlockIndex()
Gets the index to the current skip block.
|
List<ResultSetSkipBlock> |
getSkipBlocks()
Returns the currently configured skip blocks.
|
String |
getString()
Retrieves the value of the configured column in the current row
of this
ResultSet object as
a String in the Java programming language. |
String |
getString(boolean mapNull)
Retrieves the value of the configured column in the current row
of this
ResultSet object as
a String in the Java programming language. |
String |
getString(int pos)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a String in the Java programming language. |
String |
getString(int pos,
boolean mapNull)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a String in the Java programming language. |
String |
getString(String name)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a String in the Java programming language. |
String |
getString(String name,
boolean mapNull)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a String in the Java programming language. |
org.tentackle.common.Time |
getTime()
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a java.sql.Time in the Java programming language. |
org.tentackle.common.Time |
getTime(Calendar timezone)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a java.sql.Time in the Java programming language. |
org.tentackle.common.Time |
getTime(int pos)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a java.sql.Time in the Java programming language. |
org.tentackle.common.Time |
getTime(int pos,
Calendar timezone)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a java.sql.Time in the Java programming language. |
org.tentackle.common.Time |
getTime(String name)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a java.sql.Time in the Java programming language. |
org.tentackle.common.Time |
getTime(String name,
Calendar timezone)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a java.sql.Time in the Java programming language. |
org.tentackle.common.Timestamp |
getTimestamp()
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a java.sql.Timestamp in the Java programming language. |
org.tentackle.common.Timestamp |
getTimestamp(boolean mapNull)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a java.sql.Timestamp in the Java programming language. |
org.tentackle.common.Timestamp |
getTimestamp(Calendar timezone)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a java.sql.Timestamp in the Java programming language. |
org.tentackle.common.Timestamp |
getTimestamp(Calendar timezone,
boolean mapNull)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a java.sql.Timestamp in the Java programming language. |
org.tentackle.common.Timestamp |
getTimestamp(int pos)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a java.sql.Timestamp in the Java programming language. |
org.tentackle.common.Timestamp |
getTimestamp(int pos,
boolean mapNull)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a java.sql.Timestamp in the Java programming language. |
org.tentackle.common.Timestamp |
getTimestamp(int pos,
Calendar timezone)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a java.sql.Timestamp in the Java programming language. |
org.tentackle.common.Timestamp |
getTimestamp(int pos,
Calendar timezone,
boolean mapNull)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a java.sql.Timestamp in the Java programming language. |
org.tentackle.common.Timestamp |
getTimestamp(String name)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a java.sql.Timestamp in the Java programming language. |
org.tentackle.common.Timestamp |
getTimestamp(String name,
boolean mapNull)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a java.sql.Timestamp in the Java programming language. |
org.tentackle.common.Timestamp |
getTimestamp(String name,
Calendar timezone)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a java.sql.Timestamp in the Java programming language. |
org.tentackle.common.Timestamp |
getTimestamp(String name,
Calendar timezone,
boolean mapNull)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a java.sql.Timestamp in the Java programming language. |
boolean |
isAfterLast()
Retrieves whether the cursor is after the last row in
this
ResultSet object. |
boolean |
isBeforeFirst()
Retrieves whether the cursor is before the first row in
this
ResultSet object. |
boolean |
isClosed()
Determines whether the result set is closed.
|
boolean |
isCloseStatementOnclose()
Gets the statement-on-close flag.
|
boolean |
isCommitOnCloseVoucherValid()
Returns whether the commitOnCloseVoucher is valid.
|
boolean |
isInSkipMode()
Returns whether the result set is in skipmode.
|
boolean |
last()
Moves the cursor to the last row in
this
ResultSet object. |
boolean |
next()
Moves the cursor froward one row from its current position.
|
boolean |
previous()
Moves the cursor to the previous row in this
ResultSet object. |
boolean |
relative(int rows)
Moves the cursor a relative number of rows, either positive or negative.
|
void |
setCloseStatementOnclose(boolean closeStatementOnClose)
Set the statement to be closed when result set is closed.
|
void |
setColumnOffset(int columnOffset)
Sets the column offset.
|
void |
setCommitOnCloseVoucher(boolean commitOnCloseVoucherValid,
long commitOnCloseVoucher)
Set whether to commit() before close() or not.
Some dbms (e.g. |
void |
setFetchDirection(int direction)
Gives a hint as to the direction in which the rows in this
ResultSet object will be processed. |
void |
setFetchSize(int rows)
Gives the JDBC driver a hint as to the number of rows that should
be fetched from the database when more rows are needed for this
ResultSet object. |
void |
skip()
Skips to the next logical entity.
|
void |
skip(int columnCount)
|
void |
skipColumns(int columnCount)
Skips given number of columns in current skip block.
This is usually the column count of an entity. |
void |
startSkip()
Starts or restarts skip mode.
|
String |
toString() |
boolean |
wasNull()
Reports whether
the last column read had a value of SQL
NULL. |
public ResultSetWrapper(StatementWrapper stmt, ResultSet rs)
stmt - is the prepared statement wrapper that created this resultsetrs - the original result-setpublic Db getSession()
public ResultSetMetaData getMetaData()
public void close()
close in interface AutoCloseablepublic boolean isClosed()
protected void finalize()
throws Throwable
public void setCommitOnCloseVoucher(boolean commitOnCloseVoucherValid,
long commitOnCloseVoucher)
commitOnCloseVoucherValid - true if commitOnCloseVoucher is validcommitOnCloseVoucher - the voucher to commit, 0 if nonepublic boolean isCommitOnCloseVoucherValid()
public long getCommitOnCloseVoucher()
public void setCloseStatementOnclose(boolean closeStatementOnClose)
closeStatementOnClose - true if close statement on closepublic boolean isCloseStatementOnclose()
public void setColumnOffset(int columnOffset)
columnOffset - (default is 0)public int getColumnOffset()
public int getColumnCount()
public boolean isInSkipMode()
public int findColumn(String name)
If the result set is in skip mode, the first column with that name is found
after having skipped some columns according to the last invocation of skip().
Otherwise the standard JDBC-implementation is used.
name - the column namepublic void skipColumns(int columnCount)
columnCount - the number of columnspublic void startSkip()
Skipmode allows multiple columns with the same name belonging to different entities. For example, in a joined select of two unrelated tables (i.e. no MULTI-inheritance), at least the columns id and serial will appear twice. With skip mode enabled, the column configuration allows to skip already configured columns (hence the name skipmode).
Skipmode is implemented by changing the way findColumn(java.lang.String) maps names to column indexes.
All other methods are unaffected.
rs.startSkip();
int foo_a = rs.findColumn("a");
int foo_b = rs.findColumn("b");
...
rs.skip(); // skips to the next occurrences
int bar_a = rs.findColumn("a"); // will find the second column named "a"
int bar_b = rs.findColumn("b"); // will find the second column named "b"
...
rs.skip(); // for the third, etc...
Invoking startSkip again will revert to the first skip block.
For performance reasons the skip blocks are reused as soon as the cursor is moved, so the following is allowed:
while (rs.next()) {
rs.startSkip();
po1 = po1.readFromResultSetWrapper(rs);
rs.skip();
po2 = po2.readFromResultSetWrapper(rs);
}
For multi-inherited entities it is required to apply the column count as well since
not all sections may be retrieved depending on the classids found in the result set.
So the code above changes to:
while (rs.next()) {
rs.startSkip();
po1 = po1.readFromResultSetWrapper(rs);
rs.skip(po1.getColumnCount());
po2 = po2.readFromResultSetWrapper(rs);
}
public void endSkip()
public List<ResultSetSkipBlock> getSkipBlocks()
A skip block is a map of column names to column indexes. The first skip block contains all columns of the result set. If a columnname appears more than once in the result set, the _first_ column index is used.
Subsequent blocks contain all columns not configured by findColumn from the previous block.
public int getSkipBlockIndex()
public void skip()
PersistenceException - if not in skipmodestartSkip()public void skip(int columnCount)
columnCount - the columns to skippublic boolean configureSection(Object key)
A section is a logical group of columns within the result set.
There must be at least one section activated in order to retrieve columns
by section configuration instead of the traditional way by position or by name.
A section may span the whole result set or there may be more than one section,
for example one for each joined table. It's up to the application.
If configureSection returns true, a new section was created and
the columns of this section must be configured once via configureColumn(java.lang.String) in
the order of their retrieval.
Otherwise the section is already configured.
This is the preferred way to retrieve values from a result set, since
it is the best compromise between speed and flexibility with respect to
the order of the returned columns.
Example:
if (rs.activateSection(CLASSVARIABLES)) {
rs.configureColumn(CN_OBJECTCLASS);
rs.configureColumn(CN_OBJECTID);
...
}
objectClass = rs.getString();
objectId = rs.getLong();
contextObjectId = rs.getLong();
...
key - the unique section key, usually the classvariablesconfigureColumn(java.lang.String)public void configureColumn(String name)
name - the column namepublic void setFetchSize(int rows)
ResultSet object.
If the fetch size specified is zero, the JDBC driver
ignores the value and is free to make its own best guess as to what
the fetch size should be. The default value is set by the
Statement object
that created the result set. The fetch size may be changed at any time.rows - the number of rows to fetchgetFetchSize()public int getFetchSize()
ResultSet object.ResultSet objectsetFetchSize(int)public void setFetchDirection(int direction)
ResultSet object will be processed.
The initial value is determined by the
Statement object
that produced this ResultSet object.
The fetch direction may be changed at any time.direction - an int specifying the suggested
fetch direction; one of ResultSet.FETCH_FORWARD,
ResultSet.FETCH_REVERSE, or
ResultSet.FETCH_UNKNOWNStatementWrapper.setFetchDirection(int),
getFetchDirection()public int getFetchDirection()
ResultSet object.ResultSet objectsetFetchDirection(int)public boolean next()
ResultSet cursor is initially positioned
before the first row; the first call to the method
next makes the first row the current row; the
second call makes the second row the current row, and so on.
When a call to the next method returns false,
the cursor is positioned after the last row. Any
invocation of a ResultSet method which requires a
current row will result in a SQLException being thrown.
If the result set type is TYPE_FORWARD_ONLY, it is vendor specified
whether their JDBC driver implementation will return false or
throw an SQLException on a
subsequent call to next.
If an input stream is open for the current row, a call
to the method next will
implicitly close it. A ResultSet object's
warning chain is cleared when a new row is read.
true if the new current row is valid;
false if there are no more rowspublic boolean previous()
ResultSet object.
When a call to the previous method returns false,
the cursor is positioned before the first row. Any invocation of a
ResultSet method which requires a current row will result in a
SQLException being thrown.
If an input stream is open for the current row, a call to the method
previous will implicitly close it. A ResultSet
object's warning change is cleared when a new row is read.
true if the cursor is now positioned on a valid row;
false if the cursor is positioned before the first rowpublic boolean first()
ResultSet object.true if the cursor is on a valid row;
false if there are no rows in the result setpublic boolean last()
ResultSet object.true if the cursor is on a valid row;
false if there are no rows in the result setpublic void beforeFirst()
ResultSet object, just before the
first row. This method has no effect if the result set contains no rows.public void afterLast()
ResultSet object, just after the
last row. This method has no effect if the result set contains no rows.public boolean isBeforeFirst()
ResultSet object.
Note:Support for the isBeforeFirst method
is optional for ResultSets with a result
set type of TYPE_FORWARD_ONLY
true if the cursor is before the first row;
false if the cursor is at any other position or the
result set contains no rowspublic boolean isAfterLast()
ResultSet object.
Note:Support for the isAfterLast method
is optional for ResultSets with a result
set type of TYPE_FORWARD_ONLY
true if the cursor is after the last row;
false if the cursor is at any other position or the
result set contains no rowspublic int getRow()
Note:Support for the getRow method
is optional for ResultSets with a result
set type of TYPE_FORWARD_ONLY
0 if there is no current rowpublic boolean absolute(int row)
ResultSet object.
If the row number is positive, the cursor moves to the given row number with respect to the beginning of the result set. The first row is row 1, the second is row 2, and so on.
If the given row number is negative, the cursor moves to
an absolute row position with respect to
the end of the result set. For example, calling the method
absolute(-1) positions the
cursor on the last row; calling the method absolute(-2)
moves the cursor to the next-to-last row, and so on.
An attempt to position the cursor beyond the first/last row in the result set leaves the cursor before the first row or after the last row.
Note: Calling absolute(1) is the same
as calling first(). Calling absolute(-1)
is the same as calling last().
row - the number of the row to which the cursor should move.
A positive number indicates the row number counting from the
beginning of the result set; a negative number indicates the
row number counting from the end of the result settrue if the cursor is moved to a position in this
ResultSet object;
false if the cursor is before the first row or after the
last rowpublic boolean relative(int rows)
relative(0) is valid, but does
not change the cursor position.
Note: Calling the method relative(1)
is identical to calling the method next() and
calling the method relative(-1) is identical
to calling the method previous().
rows - an int specifying the number of rows to
move from the current row; a positive number moves the cursor
forward; a negative number moves the cursor backwardtrue if the cursor is on a row;
false otherwisepublic boolean wasNull()
NULL.
Note that you must first call one of the getter methods
on a column to try to read its value and then call
the method wasNull to see if the value read was
SQL NULL.true if the last column value read was SQL
NULL and false otherwisepublic Object getObject(String name)
name - the label for the column specified with the SQL AS clause.NULL, the
value returned is nullpublic String getString(String name, boolean mapNull)
ResultSet object as
a String in the Java programming language.name - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the columnmapNull - if empty strings should be treated as null valuesNULL, the
value returned is nullpublic String getString(String name)
ResultSet object as
a String in the Java programming language.name - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the columnNULL, the
value returned is nullgetString(java.lang.String, boolean)public boolean getBoolean(String name)
ResultSet object as
a boolean in the Java programming language.
If the designated column has a datatype of CHAR or VARCHAR
and contains a "0" or has a datatype of BIT, TINYINT, SMALLINT, INTEGER or BIGINT
and contains a 0, a value of false is returned. If the designated column has a datatype
of CHAR or VARCHAR
and contains a "1" or has a datatype of BIT, TINYINT, SMALLINT, INTEGER or BIGINT
and contains a 1, a value of true is returned.
name - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the columnNULL, the
value returned is falsepublic Boolean getABoolean(String name)
ResultSet object as
a Boolean in the Java programming language.
If the designated column has a datatype of CHAR or VARCHAR
and contains a "0" or has a datatype of BIT, TINYINT, SMALLINT, INTEGER or BIGINT
and contains a 0, a value of false is returned. If the designated column has a datatype
of CHAR or VARCHAR
and contains a "1" or has a datatype of BIT, TINYINT, SMALLINT, INTEGER or BIGINT
and contains a 1, a value of true is returned.
name - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the columnNULL, the
value returned is nullpublic float getFloat(String name)
ResultSet object as
a float in the Java programming language.name - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the columnNULL, the
value returned is 0public Float getAFloat(String name)
ResultSet object as
a Float in the Java programming language.name - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the columnNULL, the
value returned is nullpublic double getDouble(String name)
ResultSet object as
a double in the Java programming language.name - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the columnNULL, the
value returned is 0public Double getADouble(String name)
ResultSet object as
a Double in the Java programming language.name - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the columnNULL, the
value returned is nullpublic BigDecimal getBigDecimal(String name)
ResultSet object as a
java.math.BigDecimal with full precision.name - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the columnNULL, the value returned is
null in the Java programming language.public org.tentackle.common.BMoney getBMoney(String name)
ResultSet object as a
BMoney with full precision.name - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the columnNULL, the value returned is
null in the Java programming language.public org.tentackle.common.DMoney getDMoney(String name)
ResultSet object as a
DMoney with full precision.name - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the columnNULL, the value returned is
null in the Java programming language.public byte getByte(String name)
ResultSet object as
a byte in the Java programming language.name - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the columnNULL, the
value returned is 0public Byte getAByte(String name)
ResultSet object as
a Byte in the Java programming language.name - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the columnNULL, the
value returned is nullpublic char getChar(String name)
ResultSet object as
a char in the Java programming language.name - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the columnNULL or the empty string, the
value returned is 0public Character getCharacter(String name, boolean mapNull)
ResultSet object as
a Character in the Java programming language.name - the label for the column specified with the SQL AS clause.
If the SQL AS clause was not specified, then the label is the name of the column.mapNull - if blanks should be treated as null valuesNULL, the
value returned is null. If the value is the empty string the returned
value is new Character(0).public Character getCharacter(String name)
ResultSet object as
a Character in the Java programming language.name - the label for the column specified with the SQL AS clause.
If the SQL AS clause was not specified, then the label is the name of the column.NULL, the
value returned is null. If the value is the empty string the returned
value is new Character(0).public short getShort(String name)
ResultSet object as
a short in the Java programming language.name - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the columnNULL, the
value returned is 0public Short getAShort(String name)
ResultSet object as
a Short in the Java programming language.name - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the columnNULL, the
value returned is nullpublic int getInt(String name)
ResultSet object as
an int in the Java programming language.name - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the columnNULL, the
value returned is 0public Integer getInteger(String name)
ResultSet object as
an Integer in the Java programming language.name - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the columnNULL, the
value returned is nullpublic long getLong(String name)
ResultSet object as
a long in the Java programming language.name - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the columnNULL, the
value returned is 0public Long getALong(String name)
ResultSet object as
a Long in the Java programming language.name - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the columnNULL, the
value returned is nullpublic org.tentackle.common.Date getDate(String name, Calendar timezone, boolean mapNull)
ResultSet object as
a java.sql.Date in the Java programming language.name - the label for the column specified with the SQL AS clause.
If the SQL AS clause was not specified, then the label is the name of the columntimezone - the calendar providing the timezone configurationmapNull - true if 1.1.1970 should be mapped to nullNULL, the
value returned is nullpublic org.tentackle.common.Date getDate(String name, Calendar timezone)
ResultSet object as
a java.sql.Date in the Java programming language.name - the label for the column specified with the SQL AS clause.
If the SQL AS clause was not specified, then the label is the name of the columntimezone - the calendar providing the timezone configurationNULL, the
value returned is nullpublic org.tentackle.common.Date getDate(String name, boolean mapNull)
ResultSet object as
a java.sql.Date in the Java programming language.name - the label for the column specified with the SQL AS clause.
If the SQL AS clause was not specified, then the label is the name of the columnmapNull - true if 1.1.1970 should be mapped to nullNULL, the
value returned is nullpublic org.tentackle.common.Date getDate(String name)
ResultSet object as
a java.sql.Date in the Java programming language.name - the label for the column specified with the SQL AS clause.
If the SQL AS clause was not specified, then the label is the name of the columnNULL, the
value returned is nullpublic org.tentackle.common.Timestamp getTimestamp(String name, Calendar timezone, boolean mapNull)
ResultSet object as
a java.sql.Timestamp in the Java programming language.name - the label for the column specified with the SQL AS clause.
If the SQL AS clause was not specified, then the label is the name of the columntimezone - the calendar providing the timezone configurationmapNull - true if 1.1.1970 00:00:00.000 should be mapped to nullNULL, the
value returned is nullpublic org.tentackle.common.Timestamp getTimestamp(String name, Calendar timezone)
ResultSet object as
a java.sql.Timestamp in the Java programming language.name - the label for the column specified with the SQL AS clause.
If the SQL AS clause was not specified, then the label is the name of the columntimezone - the calendar providing the timezone configurationNULL, the
value returned is nullpublic org.tentackle.common.Timestamp getTimestamp(String name, boolean mapNull)
ResultSet object as
a java.sql.Timestamp in the Java programming language.name - the label for the column specified with the SQL AS clause.
If the SQL AS clause was not specified, then the label is the name of the columnmapNull - true if 1.1.1970 00:00:00.000 should be mapped to nullNULL, the
value returned is nullpublic org.tentackle.common.Timestamp getTimestamp(String name)
ResultSet object as
a java.sql.Timestamp in the Java programming language.name - the label for the column specified with the SQL AS clause.
If the SQL AS clause was not specified, then the label is the name of the columnNULL, the
value returned is nullpublic org.tentackle.common.Time getTime(String name, Calendar timezone)
ResultSet object as
a java.sql.Time in the Java programming language.name - the label for the column specified with the SQL AS clause.
If the SQL AS clause was not specified, then the label is the name of the columntimezone - the calendar providing the timezone configurationNULL, the
value returned is nullpublic org.tentackle.common.Time getTime(String name)
ResultSet object as
a java.sql.Time in the Java programming language.name - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the columnNULL, the
value returned is nullpublic org.tentackle.common.Binary<?> getBinary(String name, int bufSize)
ResultSet object as
a Binary in the Java programming language.name - the label for the column specified with the SQL AS clause.
If the SQL AS clause was not specified, then the label is the name of the columnbufSize - the initial buffersize for the Binarypublic Object getObject(int pos)
ResultSet object as
a String in the Java programming language.pos - the parameter index in the result setNULL, the
value returned is nullpublic String getString(int pos, boolean mapNull)
ResultSet object as
a String in the Java programming language.pos - the parameter index in the result setmapNull - if empty strings should be treated as null valuesNULL, the
value returned is nullpublic String getString(int pos)
ResultSet object as
a String in the Java programming language.pos - the parameter index in the result setNULL, the
value returned is nullgetString(java.lang.String, boolean)public boolean getBoolean(int pos)
ResultSet object as
a boolean in the Java programming language.
If the designated column has a datatype of CHAR or VARCHAR
and contains a "0" or has a datatype of BIT, TINYINT, SMALLINT, INTEGER or BIGINT
and contains a 0, a value of false is returned. If the designated column has a datatype
of CHAR or VARCHAR
and contains a "1" or has a datatype of BIT, TINYINT, SMALLINT, INTEGER or BIGINT
and contains a 1, a value of true is returned.
pos - the parameter index in the result setNULL, the
value returned is falsepublic Boolean getABoolean(int pos)
ResultSet object as
a Boolean in the Java programming language.
If the designated column has a datatype of CHAR or VARCHAR
and contains a "0" or has a datatype of BIT, TINYINT, SMALLINT, INTEGER or BIGINT
and contains a 0, a value of false is returned. If the designated column has a datatype
of CHAR or VARCHAR
and contains a "1" or has a datatype of BIT, TINYINT, SMALLINT, INTEGER or BIGINT
and contains a 1, a value of true is returned.
pos - the parameter index in the result setNULL, the
value returned is nullpublic float getFloat(int pos)
ResultSet object as
a float in the Java programming language.pos - the parameter index in the result setNULL, the
value returned is 0public Float getAFloat(int pos)
ResultSet object as
a Float in the Java programming language.pos - the parameter index in the result setNULL, the
value returned is nullpublic double getDouble(int pos)
ResultSet object as
a double in the Java programming language.pos - the parameter index in the result setNULL, the
value returned is 0public Double getADouble(int pos)
ResultSet object as
a Double in the Java programming language.pos - the parameter index in the result setNULL, the
value returned is nullpublic BigDecimal getBigDecimal(int pos)
ResultSet object as a
java.math.BigDecimal with full precision.pos - the parameter index in the result setNULL, the value returned is
null in the Java programming language.public org.tentackle.common.BMoney getBMoney(int pos,
int ppos)
ResultSet object as a
BMoney with full precision.pos - the parameter index for the amount in the result setppos - the parameter index for the scale in the result setNULL, the value returned is
null in the Java programming language.public org.tentackle.common.DMoney getDMoney(int pos,
int ppos)
ResultSet object as a
DMoney with full precision.pos - the parameter index for the amount in the result setppos - the parameter index for the scale in the result setNULL, the value returned is
null in the Java programming language.public byte getByte(int pos)
ResultSet object as
a byte in the Java programming language.pos - the parameter index in the result setNULL, the
value returned is 0public Byte getAByte(int pos)
ResultSet object as
a Byte in the Java programming language.pos - the parameter index in the result setNULL, the
value returned is nullpublic char getChar(int pos)
ResultSet object as
a char in the Java programming language.pos - the parameter index in the result setNULL or the empty string, the
value returned is 0public Character getCharacter(int pos, boolean mapNull)
ResultSet object as
a Character in the Java programming language.pos - the parameter index in the result setmapNull - if blanks should be treated as null valuesNULL, the
value returned is null. If the value is the empty string the returned
value is new Character(0).public Character getCharacter(int pos)
ResultSet object as
a Character in the Java programming language.pos - the parameter index in the result setNULL, the
value returned is null. If the value is the empty string the returned
value is new Character(0).public short getShort(int pos)
ResultSet object as
a short in the Java programming language.pos - the parameter index in the result setNULL, the
value returned is 0public Short getAShort(int pos)
ResultSet object as
a Short in the Java programming language.pos - the parameter index in the result setNULL, the
value returned is nullpublic int getInt(int pos)
ResultSet object as
an int in the Java programming language.pos - the parameter index in the result setNULL, the
value returned is 0public Integer getInteger(int pos)
ResultSet object as
an Integer in the Java programming language.pos - the parameter index in the result setNULL, the
value returned is nullpublic long getLong(int pos)
ResultSet object as
a long in the Java programming language.pos - the parameter index in the result setNULL, the
value returned is 0public Long getALong(int pos)
ResultSet object as
a Long in the Java programming language.pos - the parameter index in the result setNULL, the
value returned is nullpublic org.tentackle.common.Date getDate(int pos,
Calendar timezone,
boolean mapNull)
ResultSet object as
a java.sql.Date in the Java programming language.pos - the parameter index in the result settimezone - the calendar providing the timezone configurationmapNull - true if 1.1.1970 should be mapped to nullNULL, the
value returned is nullpublic org.tentackle.common.Date getDate(int pos,
boolean mapNull)
ResultSet object as
a java.sql.Date in the Java programming language.pos - the parameter index in the result setmapNull - true if 1.1.1970 should be mapped to nullNULL, the
value returned is nullpublic org.tentackle.common.Date getDate(int pos,
Calendar timezone)
ResultSet object as
a java.sql.Date in the Java programming language.pos - the parameter index in the result settimezone - the calendar providing the timezone configurationNULL, the
value returned is nullpublic org.tentackle.common.Date getDate(int pos)
ResultSet object as
a java.sql.Date in the Java programming language.pos - the parameter index in the result setNULL, the
value returned is nullpublic org.tentackle.common.Timestamp getTimestamp(int pos,
Calendar timezone,
boolean mapNull)
ResultSet object as
a java.sql.Timestamp in the Java programming language.pos - the parameter index in the result settimezone - the calendar providing the timezone configurationmapNull - true if 1.1.1970 00:00:00.000 should be mapped to nullNULL, the
value returned is nullpublic org.tentackle.common.Timestamp getTimestamp(int pos,
boolean mapNull)
ResultSet object as
a java.sql.Timestamp in the Java programming language.pos - the parameter index in the result setmapNull - true if 1.1.1970 00:00:00.000 should be mapped to nullNULL, the
value returned is nullpublic org.tentackle.common.Timestamp getTimestamp(int pos,
Calendar timezone)
ResultSet object as
a java.sql.Timestamp in the Java programming language.pos - the parameter index in the result settimezone - the calendar providing the timezone configurationNULL, the
value returned is nullpublic org.tentackle.common.Timestamp getTimestamp(int pos)
ResultSet object as
a java.sql.Timestamp in the Java programming language.pos - the parameter index in the result setNULL, the
value returned is nullpublic org.tentackle.common.Time getTime(int pos,
Calendar timezone)
ResultSet object as
a java.sql.Time in the Java programming language.pos - the parameter index in the result settimezone - the calendar providing the timezone configurationNULL, the
value returned is nullpublic org.tentackle.common.Time getTime(int pos)
ResultSet object as
a java.sql.Time in the Java programming language.pos - the parameter index in the result setNULL, the
value returned is nullpublic org.tentackle.common.Binary<?> getBinary(int pos,
int bufSize)
ResultSet object as
a Binary in the Java programming language.pos - the parameter index in the result setbufSize - the initial buffersize for the Binarypublic String getString(boolean mapNull)
ResultSet object as
a String in the Java programming language.mapNull - if empty strings should be treated as null valuesNULL, the
value returned is nullpublic String getString()
ResultSet object as
a String in the Java programming language.NULL, the
value returned is nullgetString(java.lang.String, boolean)public boolean getBoolean()
ResultSet object as
a boolean in the Java programming language.
If the designated column has a datatype of CHAR or VARCHAR
and contains a "0" or has a datatype of BIT, TINYINT, SMALLINT, INTEGER or BIGINT
and contains a 0, a value of false is returned. If the designated column has a datatype
of CHAR or VARCHAR
and contains a "1" or has a datatype of BIT, TINYINT, SMALLINT, INTEGER or BIGINT
and contains a 1, a value of true is returned.
NULL, the
value returned is falsepublic Boolean getABoolean()
ResultSet object as
a Boolean in the Java programming language.
If the designated column has a datatype of CHAR or VARCHAR
and contains a "0" or has a datatype of BIT, TINYINT, SMALLINT, INTEGER or BIGINT
and contains a 0, a value of false is returned. If the designated column has a datatype
of CHAR or VARCHAR
and contains a "1" or has a datatype of BIT, TINYINT, SMALLINT, INTEGER or BIGINT
and contains a 1, a value of true is returned.
NULL, the
value returned is nullpublic float getFloat()
ResultSet object as
a float in the Java programming language.NULL, the
value returned is 0public Float getAFloat()
ResultSet object as
a Float in the Java programming language.NULL, the
value returned is nullpublic double getDouble()
ResultSet object as
a double in the Java programming language.NULL, the
value returned is 0public Double getADouble()
ResultSet object as
a Double in the Java programming language.NULL, the
value returned is nullpublic BigDecimal getBigDecimal()
ResultSet object as a
java.math.BigDecimal with full precision.NULL, the value returned is
null in the Java programming language.public org.tentackle.common.BMoney getBMoney()
ResultSet object as a
BMoney with full precision.NULL, the value returned is
null in the Java programming language.public org.tentackle.common.DMoney getDMoney()
ResultSet object as a
DMoney with full precision.NULL, the value returned is
null in the Java programming language.public byte getByte()
ResultSet object as
a byte in the Java programming language.NULL, the
value returned is 0public Byte getAByte()
ResultSet object as
a Byte in the Java programming language.NULL, the
value returned is nullpublic char getChar()
ResultSet object as
a char in the Java programming language.NULL or the empty string, the
value returned is 0public Character getCharacter(boolean mapNull)
ResultSet object as
a Character in the Java programming language.mapNull - if blanks should be treated as null valuesNULL, the
value returned is null. If the value is the empty string the returned
value is new Character(0).public Character getCharacter()
ResultSet object as
a Character in the Java programming language.NULL, the
value returned is null. If the value is the empty string the returned
value is new Character(0).public short getShort()
ResultSet object as
a short in the Java programming language.NULL, the
value returned is 0public Short getAShort()
ResultSet object as
a Short in the Java programming language.NULL, the
value returned is nullpublic int getInt()
ResultSet object as
an int in the Java programming language.NULL, the
value returned is 0public Integer getInteger()
ResultSet object as
an Integer in the Java programming language.NULL, the
value returned is nullpublic long getLong()
ResultSet object as
a long in the Java programming language.NULL, the
value returned is 0public Long getALong()
ResultSet object as
a Long in the Java programming language.NULL, the
value returned is nullpublic org.tentackle.common.Date getDate(Calendar timezone, boolean mapNull)
ResultSet object as
a java.sql.Date in the Java programming language.timezone - the calendar providing the timezone configurationmapNull - true if 1.1.1970 should be mapped to nullNULL, the
value returned is nullpublic org.tentackle.common.Date getDate(boolean mapNull)
ResultSet object as
a java.sql.Date in the Java programming language.mapNull - true if 1.1.1970 should be mapped to nullNULL, the
value returned is nullpublic org.tentackle.common.Date getDate(Calendar timezone)
ResultSet object as
a java.sql.Date in the Java programming language.timezone - the calendar providing the timezone configurationNULL, the
value returned is nullpublic org.tentackle.common.Date getDate()
ResultSet object as
a java.sql.Date in the Java programming language.NULL, the
value returned is nullpublic org.tentackle.common.Timestamp getTimestamp(Calendar timezone, boolean mapNull)
ResultSet object as
a java.sql.Timestamp in the Java programming language.timezone - the calendar providing the timezone configurationmapNull - true if 1.1.1970 00:00:00.000 should be mapped to nullNULL, the
value returned is nullpublic org.tentackle.common.Timestamp getTimestamp(boolean mapNull)
ResultSet object as
a java.sql.Timestamp in the Java programming language.mapNull - true if 1.1.1970 00:00:00.000 should be mapped to nullNULL, the
value returned is nullpublic org.tentackle.common.Timestamp getTimestamp(Calendar timezone)
ResultSet object as
a java.sql.Timestamp in the Java programming language.timezone - the calendar providing the timezone configurationNULL, the
value returned is nullpublic org.tentackle.common.Timestamp getTimestamp()
ResultSet object as
a java.sql.Timestamp in the Java programming language.NULL, the
value returned is nullpublic org.tentackle.common.Time getTime(Calendar timezone)
ResultSet object as
a java.sql.Time in the Java programming language.timezone - the calendar providing the timezone configurationNULL, the
value returned is nullpublic org.tentackle.common.Time getTime()
ResultSet object as
a java.sql.Time in the Java programming language.NULL, the
value returned is nullpublic org.tentackle.common.Binary<?> getBinary(int bufSize)
ResultSet object as
a Binary in the Java programming language.bufSize - the initial buffersize for the BinaryCopyright © 2016 Krake Softwaretechnik. All rights reserved.