Changed orm backbone declaration and entities declarations according to JPA specification. Reimplemented getAll() and saveEntity(obj) using JPA in BaseDAOImpl.