JBoss Hibernate
-
Enterprise Java
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…
Read More » -
Enterprise Java
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…
Read More » -
Enterprise Java
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…
Read More » -
Groovy
Logging Hibernate SQL
There are two well-known ways to log Hibernate SQL in Grails; one is to add logSql = true in DataSource.groovy…
Read More » -
Enterprise Java
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…
Read More » -
Enterprise Java
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 –…
Read More » -
Enterprise Java
Hibernate: save vs persist and saveOrUpdate
What is difference between save and saveOrUpdate or Difference between save and persist are common interview question in any Hibernate…
Read More » -
Enterprise Java
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…
Read More » -
Enterprise Java
Hibernate native SQL features into your Spring Data Repository
JPA provides @NamedNativeQuery for you to use native SQL. However, the usage is not so convenient, especially when you need…
Read More »