Revert "Revert "WCP-33 First JPA2 DAO implemented""

This reverts commit 07fa1c65e9e13dc0b40db862d1eb0c1961c9cc72.