EXP Computer ThinConnect4 Guide de l'utilisateur Page 142 : ResultSet.getBytes()

/ 163
Table des matières
byte[] bytes = bl.getBytes(1,9999);
String st1 = new String(bytes);
System.out.println("resume : " + st1 );

9.2 ResultSet.getBytes()

•
•
•
The separator can be cleared by passing either a null object or empty String as the parameter
to oracle.jdbc.rdb.common.Blob.setSegSeparator().
The JDBC standard limits the use of the ResultSet.getBytes() methods for access to
BINARY, VARBINARY and LONGVARBINARY data. The Oracle JDBC for Rdb drivers
relax this limitation and will attempt to return byte arrays for all valid SQL data types using
these methods.
Using getBytes() on:
CHAR and VARCHAR columns will return the raw data as returned by Rdb to the
driver.
Numeric, columns will be returned in their Rdb Native format as a big-endian array
of bytes.
Date, and time will be returned as 64 bit big-endian array of bytes.
Contents
142

Fichier PDF · ·

Imprimer

Imprimer le document

Partage

Questions sur EXP Computer ThinConnect4

Pas encore de questions sur ce manuel. Posez la première.

Poser une question

Nous répondons à partir du manuel et indiquons la page. La question est publiée sur le site après vérification.

Toutes les questions et réponses ›

Produits connexes et manuels pour Commutateurs de réseau EXP Computer ThinConnect4