But for what use is the openejb-core-hibernate.?

Il Mer 27 Ott 2021, 19:48 Gilberto Caetano de Andrade <[email protected]>
ha scritto:

> Tomee comes with 4 flavors: microprofile, webprofile, plume and plus [1].
> Each one comes with defaults java ee api implementation and you can
> customize you option.
> For example, I choose webprofile and than I've replaced the JSF,
> Validation and JPA api - so I've customized it.
> For customization, the tomee project created such abstractions to help the
> integration:
> tomee-mojarra
> openejb-core-eclipselink
>
> So, you should use the lib (openejb-core-hibernate), not the pom.xml to
> make your customization.
>
> Hth,
>
> Gilberto
>
> [1] http://tomee.apache.org/comparison.html
>
> On 2021/10/27 15:41:14, naciu <[email protected]> wrote:
> > Ok But this pom.xml when i can use it?
> >
> > Il Mar 26 Ott 2021, 16:54 naciu <[email protected]> ha scritto:
> >
> > >
> > >
> https://github.com/apache/tomee/blob/master/utils/openejb-core-hibernate/pom.xml
> > >
> > > hi guys.
> > >
> > > Please some of you can explain me how and when  i can use this pom.xml
> > > into a web app,
> > >  for use hibernate or also for get a tomee plus with hibernate from
> > > tomee-maven-plugin
> > > using the openejb-core-hibernate pom.xml as dependency ?
> > >
> > > i have already tried the instrucion like into tomee.pdf :
> > >
> > > https://tomee.apache.org/developer/tools/maven/tomee.pdf
> > >
> > > i used the following configuration:
> > >
> > > <plugin>
> > > <groupId>org.apache.tomee.maven</groupId>
> > > <artifactId>tomee-maven-plugin</artifactId>
> > > <version>7.1.4</version>
> > > <configuration>
> > > <tomeeClassifier>plus</tomeeClassifier>
> > > <debug>false</debug>
> > > <debugPort>5005</debugPort>
> > > <args>-Dfoo=bar</args>
> > > <config>${project.basedir}/src/test/tomee/conf</config>
> > > <libs>
> > > <lib>mysql:mysql-connector-java:5.1.20</lib>
> > > </libs>
> > > <webapps>
> > > <webapp>org.superbiz:myapp:4.3?name=ROOT</webapp>
> > > <webapp>org.superbiz:api:1.1</webapp>
> > > </webapps>
> > > <apps>
> > > <app>org.superbiz:mybugapp:3.2:ear</app>
> > > </apps>
> > > <libs>
> > > <lib>mysql:mysql-connector-java:5.1.21</lib>
> > > <lib>unzip:org.superbiz:hibernate-bundle:4.1.0.Final:zip</lib>
> > > <lib>remove:openjpa-</lib>
> > > </libs>
> > > </configuration>
> > > </plugin>
> > >
> > >
> > > but i get that error:
> > > org.superbiz:hibernate-bundle:4.1.0.Final:zip is not evailable.
> > >
> > > please how i can resolve?
> > >
> > > i would get with tomee mavn plugin a tomee plus 7.1,4 but with
> hibernate
> > > and not openjpa.
> > >
> > > the
> > > utils/openejb-core-hibernate/pom.xml can help me for get tomee7.1.4
> plus
> > > with hibernate?
> > >
> > >
> > >
> > >
> > >
> > > <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
> Mail
> > > priva di virus. www.avast.com
> > > <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient
> >
> > > <#m_-2701380692736520617_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> > >
> >
>

Reply via email to