Upgraded hibernate, modified DAOs to use JPA APIs, etc.