Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

About getJdbcTemplate().update(..)

843859Nov 6 2007 — edited Nov 20 2014
Hi,
How can I know if the save / update query was failed?
I check this: if failed to save what the return value? 0 ?

int rows = getJdbcTemplate().update(..)
if(rows == 0)//the number of rows affected --> failed?

Thank's,
Yael.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 4 2007
Added on Nov 6 2007
3 comments
894 views