Re: JPA with pure hibernate

2017-01-18 Thread Dmitry Gusev
an). > [ERROR] failed app > > The first lines suggest that now the setup seems to work. But then the the > jdbc connection fails. Weird > > Thanks anyhow for the input. > > > > Janko > > -Ursprüngliche Nachricht- > Von: Dmitry Gusev [mailto:

AW: JPA with pure hibernate

2017-01-18 Thread Jochimsen, Janko
itry.gu...@gmail.com] Gesendet: Mittwoch, 18. Januar 2017 13:39 An: Tapestry users Betreff: Re: JPA with pure hibernate Hey, tapestry-jpa supports latest Hibernate 5.x, at least we have it running in production with 5.2.5.Final You don't have to provide hibernate.cfg.xml, alt

Re: JPA with pure hibernate

2017-01-18 Thread Dmitry Gusev
Hey, tapestry-jpa supports latest Hibernate 5.x, at least we have it running in production with 5.2.5.Final You don't have to provide hibernate.cfg.xml, although the settings you have in your persistence.xml are not correct for 5.2.x Hibernate Here's a working persistence.xml that we use in our a

JPA with pure hibernate

2017-01-18 Thread Jochimsen, Janko
Hi, I am trying to switch my application from a standard tapestry-hibernate version to a tapestry-jpa version. I would like to have a pure hibernate solution and skip any eclipselink dependency. After spending some time with http://tapestry.apache.org/integrating-with-jpa.html