Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Jeff Cunningham   on Jan 22 In Java Category.

  
Question Answered By: Nagina Mian   on Jan 22

you can also do this without error by enclosing the
statement.executeUpdate or whatever u r using directly
in the try and catch... e.g.

try // main block for connection establishment etc.
{
.....connection
.. prepared Statement


loop {
try {
execute statement;
} catch (SQLException e){}
}



} catch ()
{
}

Share: 

 

This Question has 3 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on JDBC primary key doubt Or get search suggestion and latest updates.


Tagged: