|
For SQL server 6.5 data type text maps to JDBC
Longvarchar. I use a PreparedStatement.setString()
to store the text and
ResultSet.getString() to retrieve it.
The data type image maps to the JDBC type Longvarbinary, so I
would assume that you could use PreparedStatment.setBytes() to store and a
ResultSet.getBytes() to retrieve although I have never implemented this. A byte
array that is very large could use the ResultSet.getBinaryStream() or the
PreparedStatement.setBinaryStream(). You can look through the java.sql package
for more info.
Corey
Frye
Network Programmer
Motorsport Simulations Inc. (972) 910-8866 ext. 102 100 East Royal Lane Suite 130 http://www.motorsims.com Irving, Texas 75039 [EMAIL PROTECTED]
|
- asking for help Sun Kehao
- asking for help Sun Kehao
- Corey Frye
