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!

getHibernateTemplate().save(object) return value ?

843859May 28 2007 — edited May 28 2007
I am inserting an object into the database using the
getHibernateTemplate().save(object)
Does the above return any value. Probably something like a 0 or 1 such that based on the correct insert I can do my business logic.

Or does it throw an exception if an insert does not happen
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 25 2007
Added on May 28 2007
1 comment
837 views