EXP Computer ThinConnect4 Guide de l'utilisateur Page 142

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 163
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 141
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
Vue de la page 141
1 2 ... 137 138 139 140 141 142 143 144 145 146 147 ... 162 163

Commentaires sur ces manuels

Pas de commentaire