Re: T5.4 and OLD Hibernate 3x

2016-01-13 Thread JumpStart
Please note an alternative is the tapestry-jpa module, which you could support with hibernate or any other implementation of JPA. Another alternative is to not use either and use standard Java EE Session Beans instead, as indeed I usually do. > On 13 Jan 2016, at 8:49 PM, Ido Dovrat wrote: >

Re: T5.4 and OLD Hibernate 3x

2016-01-13 Thread Thiago H de Paula Figueiredo
On Wed, 13 Jan 2016 10:49:41 -0200, Ido Dovrat wrote: Hibernate is not a dependency of Tapestry. The integration is provided as a separate module. There is no surefire way to make such a module compatible across all version combinations (tapestry and hibernate). Agreed, even if I underst

Re: T5.4 and OLD Hibernate 3x

2016-01-13 Thread Ido Dovrat
Hibernate is not a dependency of Tapestry. The integration is provided as a separate module. There is no surefire way to make such a module compatible across all version combinations (tapestry and hibernate). I think tapestry-hibernate should always be aligned with the latest version of Hibernate

Re: T5.4 and OLD Hibernate 3x

2016-01-13 Thread Jens Breitenstein
Hi Kalle, hi all! I migrated to Hibernate 4.2.8 and everything works fine. Nevertheless I want to open a discussion about the current persistence layer integration of T5.4, if I am allowed to. I do not believe an UI Framework should force users to upgrade a persistence layer to a particular ve

Re: T5.4 and OLD Hibernate 3x

2016-01-11 Thread Prakash Manjeshwar
This might be useful, from StackOverflow: http://stackoverflow.com/questions/8799121/java-lang-nosuchmethoderror-org-hibernate-sessionfactory-opensessionlorg-hibe >From the accepted answer: "In Hibernate 3.6 the SessionFactory.openSession no longer returns an org.hibernate.classic.Session, rathe

Re: T5.4 and OLD Hibernate 3x

2016-01-11 Thread Kalle Korhonen
You could try backing out the tapestry-hibernate and tapestry-hibernate-core libs to a T5.4 version before beta-17 (see http://markmail.org/message/yeqlybz6hivwwcxk#query:+page:1+mid:ahfcfibfff2t6ueu+state:results). They were not available via Maven central and the staging repos are not available a

Re: T5.4 and OLD Hibernate 3x

2016-01-11 Thread Jens Breitenstein
Hi Thiago, thanks for your answer! After some "more" dependency exclusions, the following (hibernate related) libs are left: * org.apache.tapestry:tapestry-hibernate:5.4.0 * org.apache.tapestry:tapestry-hibernate-core:5.4.0 and * org.hibernate.javax.persistence:hibernate-jpa-2.0-api:1.0

Re: T5.4 and OLD Hibernate 3x

2016-01-11 Thread Thiago H de Paula Figueiredo
On Mon, 11 Jan 2016 14:06:15 -0200, Jens Breitenstein wrote: Hi All, Hi! I am migrating an application from T5.3.8 to T5.4. In the past the application was based one Hibernate 3x but T5.4 seems to make use of Hibernate 4 explicitly (correct me if I am wrong). So currently I am facing

T5.4 and OLD Hibernate 3x

2016-01-11 Thread Jens Breitenstein
Hi All, I am migrating an application from T5.3.8 to T5.4. In the past the application was based one Hibernate 3x but T5.4 seems to make use of Hibernate 4 explicitly (correct me if I am wrong). So currently I am facing the following exception: Caused by: java.lang.NoSuchMethodError: org.hi