Have you tried creating your Entities by hand and see how OpenJPA handles them at runtime?
Thanks, Rick On Fri, Apr 29, 2011 at 5:26 PM, chintan4181 <[email protected]> wrote: > Hi, > > In my existing db schema, i have few look tables which doesnt have primary > key defined. When i generate entities from tables, i am getting error > saying > "Every entity must have primary key". Since this is exisitng schema, i dont > want to change these tables. > > is there a way to avoid these error? > > Thanks > chintan-
