List/Grid Tag Archives: JBoss Hibernate

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 to map multiple entities in your native SQL. You have to ...

Hibernate lazy/eager loading example
This post will focus on why and how we use the concepts known as LAZY and EAGER loading in an application and how to use Spring’s hibernate ...

Hibernate caches basics
Recently I have experimented with hibernate cache. In this post I would like share my experience and point out some of the details of Hibernate Second Level Cache. On the way I will ...

JSF – PrimeFaces & Hibernate Integration Project
This article shows how to develop a project by using JSF, PrimeFaces and Hibernate. A sample application is below : Used Technologies : JDK 1.6.0_21 Maven 3.0.2 JSF 2.0.3 PrimeFaces ...

Spring Security Implementing Custom UserDetails with Hibernate
Most of the time, we will want to configure our own security access roles in web applications. This is easily achieved in Spring Security. In this article we will see the most simple ...

Hibernate Composite Ids with association mappings
Recently, We faced a tricky situation with hibernate association mapping with a composite id field. We needed to have bidirectional association with one-to-may and many-to-one.Our ...

Testing Spring & Hibernate Without XML
I’m very keen on the improvements in Spring 3 that eventually let you move away from XML into plain Java configuration with proper support from IDE and compiler. It doesn’t change ...

Schema Creation Script With Hibernate 4, JPA And Maven
The scenario is trivial – you want to generate a database schema creation script while building your application (and then execute the script on the target database) This was relatively ...

Generational caching and Envers
Konrad recently shared on our company’s technical room an interesting article on how caching is done is a big polish social network, nk.pl. One of the central concepts in the algorithm ...

Full Web Application Tomcat JSF Primefaces JPA Hibernate – Part 3
Primefaces AutoComplete, JSF Converter This post continues from part 1 and part 2. The JSF has the Converter tool that helps us get some data from the user view and transform into an ...

