Most Used Categories

Learn Hibernate

Hibernate – Batch Processing

Hibernate – Batch Processing, Consider a situation when you need to upload a large number of records into your database using Hibernate. Following is the code snippet to achieve this using H…Read More

Learn Hibernate

Hibernate – Interceptors

Hibernate – Interceptors, As you have learnt that in Hibernate, an object will be created and persisted. Once the object has been changed, it must be saved back to the database. This pro…Read More

Learn Hibernate

Hibernate – Native SQL

Hibernate – Native SQL, You can use native SQL to express database queries if you want to utilize database-specific features such as query hints or the CONNECT keyword in Oracle. Hiber…Read More

Learn Hibernate

Hibernate – Caching

Hibernate – Caching, Caching is a mechanism to enhance the performance of a system. It is a buffer memorythat lies between the application and the database. Cache memory stores rece…Read More

Learn Hibernate

Hibernate – Criteria Queries

Hibernate – Criteria Queries, Hibernate provides alternate ways of manipulating objects and in turn data available in RDBMS tables. One of the methods is Criteria API, which allows you to bu…Read More

Learn Hibernate

Hibernate – O/R Mappings

Hibernate – O/R Mappings, So far, we have seen very basic O/R mapping using hibernate, but there are three most important mapping topics, which we have to learn in detail.…Read More

Learn Hibernate

Hibernate – Annotations

Hibernate – Annotations, So far you have seen how Hibernate uses XML mapping file for the transformation of data from POJO to database tables and vice versa. Hibernate annotations are t…Read More

Learn Hibernate

Hibernate – Query Language

Hibernate – Query Language, Hibernate Query Language (HQL) is an object-oriented query language, similar to SQL, but instead of operating on tables and columns, HQL works with persistent o…Read More

Learn Hibernate

Hibernate – Mapping Files

Hibernate – Mapping Files, An Object/relational mappings are usually defined in an XML document. This mapping file instructs Hibernate — how to map the defined class or classes to th…Read More

Learn Hibernate

Hibernate – Mapping Types

Hibernate – Mapping Types, When you prepare a Hibernate mapping document, you find that you map the Java data types into RDBMS data types. The types declared and used in the mapping files…Read More