List/Grid Tag Archives: JBoss Hibernate

Hibernate 4 with Spring
1. Overview This article will focus on setting up Hibernate 4 with Spring – we’ll look at how to setup and configure Spring 3 with Hibernate 4 using both Java and XML Configuration. ...

Hibernate 3 with Spring
1. Overview This article will focus on setting up Hibernate 3 with Spring – we’ll look at how to configure Spring 3 with Hibernate 3 using both Java and XML Configuration. 2. Maven To ...

Spring MVC: Security with MySQL and Hibernate
Spring has a lot of different modules. All of them are useful for the concrete purposes. Today I’m going to talk about Spring Security. This module provides flexible approach to manage ...

Spring MVC + Hibernate + Maven: CRUD operations example
In this article I want to examine an example of Spring MVC + Hibernate + Maven usage. This set of technology implies basic knowledge of the domain area. So I will try to explain all ...

JPA – Hibernate – Type mapping on package level
When we are finally mature enough to use some custom types mapping in JPA, we usually stuck with some provider specific solution, because JPA itself doesn’t define any mechanism ...

JPA 2.0 Criteria Query with Hibernate
Criteria Query has been introduced in JPA 2.0. With the help of criteria queries you can write your queries in a type-safe way. Before criteria queries, developers had to write queries ...

Bidirectional @OneToMany / @ManyToOne association
One of goals in programming is representing of models from real world. Very often an application need to model some relationship between entities. In the last article about Hibernate ...

Bidirectional @OneToOne primary key association
It’s time to continue articles about Hibernate. The last one was dedicated to unidirectional @OneToOne association. So today I will show you how to obtain bidirectional @OneTonOne ...

Bulk fetching with Hibernate
If you need to process large database result sets from Java you can opt for JDBC to give you the low level control required. On the other hand if you are already using an ORM in your ...

Migrating from Hibernate 3 to 4 with Spring integration
This week it was time to upgrade our code base to the latest Hibernate 4.x. We postponed our migration (still being on Hibernate 3.3) since the newer maintenance releases of the 3.x ...

