public class AS400JDBCRowId
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes()
Returns an array of bytes representing the value of the SQL
ROWID
designated by this java.sql.RowId object. |
int |
hashCode()
Returns a hash code value of this
RowId object. |
java.lang.String |
toString()
Returns a String representing the value of the SQL ROWID designated by this
java.sql.RowId object. |
public byte[] getBytes()
ROWID
designated by this java.sql.RowId
object.public java.lang.String toString()
java.sql.RowId
object.
Like java.sql.Date.toString()
returns the contents of its DATE as the String
"2004-03-17"
rather than as DATE literal in SQL (which would have been the String
DATE "2004-03-17"), toString()
returns the contents of its ROWID in a form specific to the driver supplying
the connection, and possibly not as a ROWID
literal.
Toolbox converts RowId bytes to HEX string format.
toString
in class java.lang.Object
ROWID
designated
by this java.sql.RowId
object.public int hashCode()
RowId
object.hashCode
in class java.lang.Object
RowId