preparedStatement problem

Stefan Bodewig bodewig at bost.de
Wed Aug 2 07:10:47 EDT 2000


>>>>> "bd" == bill dossett <bd at emtex.com> writes:

 bd> Hi, I'm getting the error message:


 bd> java.sql.SQLException: Internal error.  Bad State 2 at
 bd> com.internetcds.jdbc.tds.Constructors.newPreparedStatement(Constructors.java:251)

Bill, which version of freetds are you using? The latest snapshot? If
not, please try to do so - the 255 character issue with
PreparedStatement has been fixed there.

Does the update statement work if you use a plain Statement (and
replace the ? parts yourself)?

Stefan



More information about the FreeTDS mailing list