[tinysql] PreparedStatement support

Rusty Thompson Rusty_Thompson@Mastercard.com
Mon, 2 Dec 2002 13:45:15 -0600


Can anyone provide me with the current status of TinySQL, specifically with
respect to PreparedStatements?

I checked out the tip of the tinysql CVS project and built it.  When I try
to perform an INSERT using a PreparedStatement, I get the following
exception:

java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
      at java.util.Vector.elementAt(Vector.java:412)
      at
ORG.as220.tinySQL.tinySQLPreparedStatement.setObject(tinySQLPreparedStatement.java:405)
      at com.ats.tools.db.DBLoader.statementSetObject(DBLoader.java:1431)
      at com.ats.tools.db.DBLoader.insertRow(DBLoader.java:1335)

The statement that I am trying to execute is fairly simple:
     INSERT INTO ACLENTRIES (A_NAME, A_PRINCIPAL, A_PERMISSION) VALUES (?,
?, ?)

Any help or insight would be appreciated.

Thanks,
Rusty