Tag: save
Hibernate Hello World Program (Hibernate Insert Query)
by  Java4s | 71 Comments
  [ Ask Question ]
Mates, here is the first program in hibernate like saving an object into the database (don’t think we are inserting a record into the database 🙂 that is the case in JDBC, in hibernate we are just saving an object…
Difference Between Hibernate Save And Persist Methods
by  Java4s | 23 Comments
  [ Ask Question ]
Actually the difference between hibernate save() and persist() methods is depends on generator class we are using. If our generator class is assigned, then there is no difference between save() and persist() methods. Because generator ‘assigned’ means, as a…