Category Archives: ORM

Hibernate Mapping

Hibernate mappings are one of the key features of  Hibernate. They establish the relationship between two database tables as attributes in your model. That allows you to easily navigate the associations in your model and Criteria queries. You can establish either unidirectional or bidirectional i.e you can either model them as an attribute on only one Continue Reading »

Spring Hibernate With EhCache

Ehcache is an open-source, standards-based cache for boosting performance, simplifying scalability and offloading your database. EhCache is used to improve performance by reducing the load on underlying resources.  It can also be used for RESTful server caching, application persistence, and distributed caching. In simple words, cache means a store of things that will be required Continue Reading »

Spring Data JPA

  Spring Data JPA is not a JPA provider but is a specification. It is a library / framework that adds an extra layer of abstraction on the top of our JPA provider. It simply “hides” the Java Persistence API (and the JPA provider) behind its repository abstraction. JPA is the sun specification for persisting Continue Reading »