Hi Ivan what I would do will be droppng openjpa jars and add Hibernate since it is the solution that IMHO most of the people use.
There is a doc in tomee website that explains it Alex El 26 abr. 2016 5:52 a. m., "Mitia Alexandrov" <mitiaalexand...@gmail.com> escribió: > OpenJpa 2.1 is not ready. Use EclipseLink for JPA 2.1, its shipped with > latest Plume :) > > вт, 26 апр. 2016, 2:08 Ivan St. Ivanov <ivan.st.iva...@gmail.com>: > > > Hi folks, > > > > We will be running a series of workshops in Bulgarian JUG to develop our > > new website. We'll be using Java EE 7 and TomEE 7. I know it is still > > milestone release and not fully EE 7 compatible. But we decided to take > the > > "risk". > > > > In the app we are using the new schema generation annotations coming with > > JPA 2.1, but they did not work. When I turned back to the old, > > implementation specific ones, it worked. > > > > Did I get it wrong that none of the WebProfile or PLUME distributions > > supports the JPA 2.1 spec? In the former I find OpenJPA 2.4.0, while in > the > > latter I see EclipseLink 2.4.2. > > > > Do you plan to provide JPA 2.1 support at least in the PLUME distro? > > > > Thanks, > > Ivan > > > > P.S. Roberto sent me a couple of weeks ago instructions how to integrate > > Hibernate JPA, but I would like to keep the configuration steps as few as > > possible as there will be a lot of people that will have to do them > during > > the workshop > > >