Sorry - I found a one line bug while doing some
testing.
patch is here applies on-top of patch submitted
yesterday by me.
-Paul
jdbc2/CallableStatement.java Fri Jun 14 13:39:48 2002
--- CallableStatement.java.old Fri Jun 14 13:39:43
2002
***************
*** 75,81 ****
// so syntax checking is not complete only a few
basics :(
originalSql = sql; // save for error msgs..
int index = sql.indexOf ("="); // is implied func
or proc?
! boolean isValid = true;
if (index != -1) {
isFunction = true;
isValid = sql.indexOf ("?") < index; // ? before
=
--- 75,81 ----
// so syntax checking is not complete only a few
basics :(
originalSql = sql; // save for error msgs..
int index = sql.indexOf ("="); // is implied func
or proc?
! boolean isValid = false;
if (index != -1) {
isFunction = true;
isValid = sql.indexOf ("?") < index; // ? before
=
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com