Tag Archives: hibernate interview question

Difference between save vs persist methods in Hibernate

Difference between save vs persist methods in Hibernate

Difference between save vs persist methods in Hibernate session.save() method returns the generated identity value but session.persist() method doesn’t return the generated identity value because the return type is void. Whenever we are using ORM like Hibernate, there are two from many others methods save() and persist() using to save the object in the database. But these two methods have the ...

Read More »

What is O-R Mapping?

What is O-R Mapping

What is O-R Mapping? The process of mapping java class with the Database table, Java class member variable with Database table columns and making the object of java class representing database table records having synchronization between them is called O-R Mapping (Object-Relational Mapping). In O-R mapping synchronization means the modification done in object data will reflect in the Database table. ...

Read More »

Responsive WordPress Theme Freetheme wordpress magazine responsive freetheme wordpress news responsive freeWORDPRESS PLUGIN PREMIUM FREEDownload theme free