Hello, First there is no "usage of openejb-core-x in tomee-embedded-maven-plugin". These dependencies were originally there to replace openejb-core in embedding testing (pure openejb).
Concretely they just switch the jpa (+ for hibernate the bean validation) implementation. This means that is you define hibernate dependencies yourself this is pretty useless to use that dependency. With hibernate you also have to take care to exclude the conflicting API (jpa and few others). Finally a big warning for hibernate on > 7.0.1: jpa-cdi has a chicken egg issue, to be spec compliant I fixed it for the coming 7.0.2 but for hibernate it implies to start it lazily (there is a property for that) otherwise it will start using CDI before CDI is started (all details are on the associated jira ticket if you are interested). Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> | JavaEE Factory <https://javaeefactory-rmannibucau.rhcloud.com> 2016-10-20 13:46 GMT+02:00 gilbertoca <[email protected]>: > Hello everyone. I hope you're having a good day. > > Does openejb-core-hibernate have the same usage as openejb-core-eclipselink > in tomee-embedded-maven-plugin? > I ask because of this: > > > The plugin setup > https://gist.github.com/gilbertoca/f10e7ef47c0802286a5cdc43b2375d8f > > Regards, > > Gilberto > > > > -- > View this message in context: http://tomee-openejb.979440. > n4.nabble.com/TomEE-7-0-1-Does-openejb-core-hibernate- > have-the-same-usage-as-openejb-core-eclipselink-in- > tomee-emb-tp4680402.html > Sent from the TomEE Users mailing list archive at Nabble.com. >
