Hi, Your posts are going all over the map... It looks like you are attempting to track several different issues and the details are getting muddled...
Since you are using WebSphere, have you considered using the PMR process to track this problem? You might get a more dedicated response... If you want to continue down this forum path, then I would suggest creating and posting a reproducible scenario. Right now, I think I am as confused as you are... :-) Thanks, Kevin On Wed, Sep 28, 2011 at 3:21 PM, chintan4181 <chintan4...@gmail.com> wrote: > 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. >