Added JPA stuff.