List/Grid Tag Archives: JBoss Hibernate

Hibernate inheritance: Table per class hierarchy
In this tutorial we will see how to implement inheritance in hibernate.There are 3 ways in which you can implement inheritance in hibernate.In this post,we will see one of them i.e.one ...

Hibernate Search 4.2 final released: spatial query supported
JBoss has announced the release of Hibernate Search 4.2 final. You may download it from Sourceforge or use the Maven artifacts. In the new release, some interesting features are included:Hibernate ...

How cool is integration testing with Spring and Hibernate
I am guilty of not writing integration testing (At least for database related transactions) up until now. So in order to eradicate the guilt i read up on how one can achieve this with ...

JPA/Hibernate: Version-Based Optimistic Concurrency Control
This article is an introduction to version-based optimistic concurrency control in Hibernate and JPA. The concept is fairly old and much has been written on it, but anyway I have seen ...

Batoo JPA – 15x Faster Than The Leading JPA Provider
Introduction I loved the JPA 1.0 back in early 2000s. I started using it together with EJB 3.0 even before the stable releases. I loved it so much that I contributed bits and parts ...

Logging Hibernate SQL
There are two well-known ways to log Hibernate SQL in Grails; one is to add logSql = true in DataSource.groovy (either in the top-level block for all environments or per-environment) dataSource ...

Spring – DAO and Service layer
Welcome to the third part of Spring tutorial. In this part, we will continue in writing our Timesheet application and this time we’ll implement DAO layer, business services and write ...

Spring – Persistence layer – writing entities and configuring Hibernate
Welcome to the second part of this tutorial. Don’t freak out when you see how long this article is – I promise you it’s mostly easy POJOs and some generated code. Before we start, ...

Hibernate: save vs persist and saveOrUpdate
What is difference between save and saveOrUpdate or Difference between save and persist ...

Customizing Spring Data JPA Repository
Spring Data is a very convenient library. However, as the project as quite new, it is not well featured. By default, Spring Data JPA will provide implementation of the DAO based on ...

