Fix jpa configuration issue

Change-Id: I98261c86f46b06b633ad5b26e5ad63e4e3c325f8
Fix bug/ java compiler 

Change-Id: I19b8732d67dd75fc4402d8deb2b4e62ba70e87f0