Upgrading to Hibernate Core 4.1.1 Final

2012-04-27 Thread netdawg
Issue: Current (5.3.2) versions of Tapestry-Hibernate seem to clash with latest 4.1.1 Final of Hibernate core. Specifically, import org.hibernate.Session can no longer be resolved after introducing the 4.1.1 Final dependency in pom. Anyone else experience this, have a convenient workaround?

Re: Upgrading to Hibernate Core 4.1.1 Final

2012-04-27 Thread Chris Mylonas
i think tapestry-hibernate pulls in hibernate jars, so you can remove it from your pom doing it how you've done is how to break it On 27/04/2012, at 6:15 PM, netdawg wrote: Issue: Current (5.3.2) versions of Tapestry-Hibernate seem to clash with latest 4.1.1 Final of Hibernate core.

Re: Upgrading to Hibernate Core 4.1.1 Final

2012-04-27 Thread Kristian Marinkovic
you have to add exclusions to your tapestry-hibernate dependency g, kris On Fri, Apr 27, 2012 at 10:19 AM, Chris Mylonas ch...@opencsta.org wrote: i think tapestry-hibernate pulls in hibernate jars, so you can remove it from your pom doing it how you've done is how to break it On

Re: Upgrading to Hibernate Core 4.1.1 Final

2012-04-27 Thread netdawg
Whacking tapestry-hibernate does not help either... -- View this message in context: http://tapestry.1045711.n5.nabble.com/Upgrading-to-Hibernate-Core-4-1-1-Final-tp5669640p5669693.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Upgrading to Hibernate Core 4.1.1 Final

2012-04-27 Thread netdawg
Neither did this work... dependency groupIdorg.apache.tapestry/groupId artifactIdtapestry-hibernate/artifactId version${tapestry-release-version}/version exclusions exclusion groupIdorg.hibernate/groupId

Re: Upgrading to Hibernate Core 4.1.1 Final

2012-04-27 Thread Kristian Marinkovic
can you post your exception? On Fri, Apr 27, 2012 at 10:45 AM, netdawg net.d...@yahoo.com wrote: Neither did this work...    dependency            groupIdorg.apache.tapestry/groupId            artifactIdtapestry-hibernate/artifactId            version${tapestry-release-version}/version    

Re: Upgrading to Hibernate Core 4.1.1 Final

2012-04-27 Thread netdawg
Yes, basically the exception is a compile exception saying the following could not be resolved: import org.hibernate.Session; And, finally, I also tried this: dependency groupIdorg.apache.tapestry/groupId artifactIdtapestry-hibernate/artifactId

Re: Upgrading to Hibernate Core 4.1.1 Final

2012-04-27 Thread Kristian Marinkovic
open the pom.xml of your main application in the eclipse pom editor and switch to the dependency tab. there you can see all the direct and transitive dependencies. and do a clean install of all your modules.. or parent project. On Fri, Apr 27, 2012 at 11:03 AM, netdawg net.d...@yahoo.com wrote:

Re: Upgrading to Hibernate Core 4.1.1 Final

2012-04-27 Thread netdawg
OK. Gave up on this, next version will probably include anyway. For now, looks like Tapestry 3.5.2 depends on Hibernate 3.6.0.Final. I downloaded that http://grepcode.com/snapshot/repo1.maven.org/maven2/org.hibernate/hibernate-core/3.6.0.Final and I am off doing useful work ;-). Thanks,

Re: Upgrading to Hibernate Core 4.1.1 Final

2012-04-27 Thread netdawg
Thanks, kristian. I tried that already (couple of times). Thanks, though. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Upgrading-to-Hibernate-Core-4-1-1-Final-tp5669640p5669799.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Upgrading to Hibernate Core 4.1.1 Final

2012-04-27 Thread Felix Scheffer
Hi, i created a ticket for this: https://issues.apache.org/jira/browse/TAP5-1922 Felix Scheffer 2012/4/27 netdawg net.d...@yahoo.com Thanks, kristian. I tried that already (couple of times). Thanks, though. -- View this message in context:

Re: Upgrading to Hibernate Core 4.1.1 Final

2012-04-27 Thread netdawg
Thanks! Believe this is planned for 5.4.x...so let it slide. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Upgrading-to-Hibernate-Core-4-1-1-Final-tp5669640p5670087.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Upgrading to Hibernate Core 4.1.1 Final

2012-04-27 Thread Kalle Korhonen
Yes, T5.4 trunk is already using Hibernate 4.1. If you want to use 4.1 with T5.3, you have to recompile tapestry-hibernate. See comments in https://issues.apache.org/jira/browse/TAP5-1922. Kalle On Fri, Apr 27, 2012 at 5:06 AM, netdawg net.d...@yahoo.com wrote: Thanks!  Believe this is planned