hibernate / jpa model and dao for census project