Wrox Home  
Search P2P Archive for: Go

  Return to Index  

j2ee thread: how do u know how many sql statements have been added to batch


Message #1 by "sami" <sami.s.n@l...> on Fri, 12 Jan 2001 05:26:02 -0000
i have a peculiar poblem
iam actually checking in the database whethere the login exists if it
doesnt im adding it to a batch with one more data and executing the batch
all works fine if the login and the other field doesnt exist but if exists
then there wont be any thing in the batch
but at the end im using executeBatch
which will throw an null pouinter exception
how do u find how many statements were added to the batch
and how dod u check if the batch is null pls help

  Return to Index