PrimeFaces DataTable and server side pagination, filtering and sorting

Recently I’ve tried PrimeFaces 4x DataTable once again (after year or so working with Apache Wicket). One thing — I like it. It is now possible to implement scallable server side pagination, filtering and sorting logic without too much hacks

Read the rest of this entry »

Hibernate Tools and Custom DelegatingReverseEngineeringStrategy

In this post you will learn how to install Hibernate Tools (part of the JBoss Tools Project) from scratch and generate annotated POJOs for your database schema.
You will also learn how to create custom DelegatingReverseEngineeringStrategy implementation in order to tune your entities generation process

Read the rest of this entry »

Unit testing and integration testing using JUnit, Liquibase, HSQLDB, Hibernate, Maven and Spring Framework

In this article I’d like to show you how to create integration tests using JUnit, Liquibase, HSQLDB , Hibernate, Maven¬†and Spring Framework. We will create maven project, liquibase schema/data deployment to the in-memory database and run integration tests against this database using Spring ORM / Hibernate

Read the rest of this entry »