I have adapted a bit the ONess application to work with postgresql database: changed the hibernate id generator native to increment, as dbunit test insert data but don’t update sequences, and renamed user table and columns because they are reserved words.