Blog
Mapping components in Hibernate using XML
22 Dec, 13

Mapping components in Hibernate using XML

In persistent units we often face a scenario where we think of grouping few similar properties and creating separate persistent entity for them would be expensive. For such situation creating embedded components for grouping such properties makes more sense. The life...
Create simple JPA application.
15 Dec, 13

Create simple JPA application.

We’ll be using maven for dependency management and H2 database. Let’s start by adding all the dependencies to the pom.xml. <dependency> <groupId>org.hibernate</groupId>...