Added and Fixed the DAO issues with OPENJPA and WildFly