pstmt.setDate(index.sqlDate) message ?

greenspun.com : LUSENET : SQL Server Database Administration : One Thread

I receive this message in the sqlException I get while trying to call the method: pstmt.setDate(index,sqlDate);

pstmt is a valid and working prepared statement, index is a valid integer, and sqlDate is a valid java.sql.Date object.

I use MS-SQL and the jdk version of MS-VJ++ 6.0 Since I use the Microsoft's jdbc-odbc bridge and the odbc native connection from my NT machine to the MS-SQL server on another NT, this is strange.

Thanks, Rob

-- Anonymous, December 21, 1999

Answers

Rob,

My coworker, Paul Butler, says this works for him, but he is using the IDS JDBS Driver. So Paul suggests that you pick that up. You can find it at http://www.idssoftware.com/.

Hope this helps,

Eric

-- Anonymous, December 22, 1999


Moderation questions? read the FAQ