Sorry. It was my mistake. I was trying different scenairos. I forgot to remove @Embeddable annotation.
If i use embeddable, I am getting below exception org.apache.openjpa.persistence.InvalidStateException: Cannot instantiate virtual mapping "com.company.vo.BranchVO". I am running application on WAS 7 and using application managed entity manager because we have requirement to get the entity manager based on business department. -- View this message in context: http://openjpa.208410.n2.nabble.com/How-to-Enable-Buildtime-entity-enhancement-in-RSA-tp6836583p6841736.html Sent from the OpenJPA Users mailing list archive at Nabble.com.