persist() vs. save()

February 14, 2006 – 14:42 | hibernate, java

Hibernate 3 added a new persist() method to the Session interface. It came from the EJB3 Entity Manager spec. In case you are also wondering whether to migrate to it or just stick to the good old save() method to insert a new object, here’s what I found out:
A discussion on Hibernate Forum
A JIRA ticket

Trackback from your site, or follow the comments in RSS.

Post a Comment