Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

passing nvarchar strings through jdbc....

Status
Not open for further replies.

dwilliams

Programmer
Jan 15, 2001
10
US
I've written a program that needs to pass nvarchar strings through JDBC to a MS SQL db. Basically it pulls data out manipulates it and needs to pass it back in the same format. Does anyone know how to pass nvarchar characters through JDBC to a mssql db using BEA's jDriver for mssqlserver4v7.0? Thanks.

Dan
 
I'm using JDK 1.3 and NVARCHARs return as java.sql.Types.OTHER (1111). I can treat them as varchars, i.e I use .getString(). They work fine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top