Difference between save and persist method in Hibernate

Advertisements

  Top Tutorials     New Tutorials     Submit     Login     Register  

Tutorial Detail

Difference between save and persist method in Hibernate

Difference between save and persist or saveOrUpdate and persist is a common Hibernate Interview questions. this article explores main differences
http://javarevisited.blogspot.com/2012/09/difference-hibernate-save-vs-persist-and-saveOrU...
  • Total Hits: 17087

  • Average Rating :
    URL RatingURL RatingURL RatingURL RatingURL Rating

  •  

  • Total Votes: 177 votes

  • Category: JAVA/Hibernate

  • Submitted on: 2013-01-25 15:47:07

  • Submitted By: Javin Paul

  • Set as Favorite

Description:

Difference between save and persist or saveOrUpdate and persist is a common Hibernate Interview questions. this article explores main differences between them e.g. persist method return type is void while save method return a Serializable object.    More detail...

Rating Detail

 Stars  Percentage  Total Vote
 One star  Vote LeftVote MiddleVote Right 33.9%  60
 Two starsTwo star  Vote LeftVote MiddleVote Right 7.91%  14
 Three starsThree starsThree stars  Vote LeftVote MiddleVote Right 12.43%  22
 Four starsFour starsFour starsFour stars  Vote LeftVote MiddleVote Right 9.6%  17
 Five starsFive starsFive starsFive starsFive stars  Vote LeftVote MiddleVote Right 36.16%  64

Caste Your Vote

 Rating  Selection  Guidelines
 Poor:     Very disappointing, useless.
 Fair:     Below average, disappointing but not useless.
 Good:     About average in its class.
 Very Good:     Above average for its category.
 Excellent:     One of the best Tutorials in its category.





Advertisements
Advertisements