well, looking deeper i found openejb-core imports some classes of openjpa, to stay simple i created a module openejb-core-hibernate (type pom) and a profile "hibernate" in openejb-tomcat-webapp.
It should fit the need. Next step could be to deliver the openejb tomcat webapp with hibernate but we should probably create an openejb account on code google or any other forge to respect licence restriction, any thoughtvi po? i'll commit soon - Romain 2011/7/31 Mohammad Nour El-Din <[email protected]> > +1 > > A a suitable number of people on users@ asked for OEJB + Hibernate > integration. > > On Sat, Jul 30, 2011 at 12:05 AM, Jonathan Gallimore > <[email protected]> wrote: > > I agree. Using hibernate seems to be a popular configuration so I think a > > Maven profile, or even something that could download hibernate and > include > > it in TomEE (link in the OpenEJB web dashboard?) or some other means of > > making it easier to use these JPA providers would be great. > > > > Jon > > > > On Fri, Jul 29, 2011 at 8:13 PM, Jacek Laskowski <[email protected]> > wrote: > > > >> +1 > >> > >> On Fri, Jul 29, 2011 at 9:35 AM, Romain Manni-Bucau > >> <[email protected]> wrote: > >> > Hi, > >> > > >> > As you may know a lot of people (i'm in these people ;)) use hibernate > >> > instead of openjpa for different reasons. > >> > > >> > As we deliver an Apache product we can't activate hibernate. > >> > > >> > However we can put a profile with hibernate into our pom if we dont' > >> > activate it on Apache platform isn't it? > >> > > >> > What i would like to do: > >> > > >> > - add a profile in openejb-core for openjpa -> by default > >> > - add a profile in openejb-core for hibernate -> activate on > hibernate > >> > system property > >> > - ...if someone want eclipselink we can do the same etc... > >> > > >> > What is important if we do it is to use the system property because it > >> will > >> > allow us to activate transitive profile from maven (yes!). > >> > > >> > Any thought? > >> > > >> > - Romain > >> > > >> > >> > >> > >> -- > >> Jacek Laskowski > >> Java EE, functional languages and IBM WebSphere - http://blog.japila.pl > >> Warszawa JUG conference = Confitura (formerly Javarsovia) :: > >> http://confitura.pl > >> > > > > > > -- > Thanks > - Mohammad Nour > Author of (WebSphere Application Server Community Edition 2.0 User Guide) > http://www.redbooks.ibm.com/abstracts/sg247585.html > - LinkedIn: http://www.linkedin.com/in/mnour > - Blog: http://tadabborat.blogspot.com > ---- > "Life is like riding a bicycle. To keep your balance you must keep moving" > - Albert Einstein > > "Writing clean code is what you must do in order to call yourself a > professional. There is no reasonable excuse for doing anything less > than your best." > - Clean Code: A Handbook of Agile Software Craftsmanship > > "Stay hungry, stay foolish." > - Steve Jobs >
