You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Felix Scheffer (JIRA)" <ji...@apache.org> on 2012/04/27 13:57:51 UTC

[jira] [Created] (TAP5-1922) Upgrade Hibernate dependency to latest, Hibernate 4.1.2.Final

Felix Scheffer created TAP5-1922:
------------------------------------

             Summary: Upgrade Hibernate dependency to latest, Hibernate 4.1.2.Final
                 Key: TAP5-1922
                 URL: https://issues.apache.org/jira/browse/TAP5-1922
             Project: Tapestry 5
          Issue Type: Task
          Components: tapestry-hibernate
    Affects Versions: 5.3.3
            Reporter: Felix Scheffer
            Priority: Minor




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TAP5-1922) Upgrade Hibernate dependency to latest, Hibernate 4.1.2.Final

Posted by "Kalle Korhonen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263720#comment-13263720 ] 

Kalle Korhonen commented on TAP5-1922:
--------------------------------------

5.4 trunk is already using Hibernate 4.1.1.Final. T5.3.x is using Hibernate 3.6 dependency and unfortunately, you need to recompile tapestry-hibernate if you want to use it together with Hibernate 4.1, see below (Jochen Frey reported this earlier on the dev mailing list). Suddenly bumping up the Hibernate version from 3.6.x to 4.1.x in a patch fix release might create more problems than it solves. As part of this issue, I'm upgrading T5.4 trunk to Hibernate 4.1.2 and closing the issue.

On Thu, Mar 22, 2012 at 11:23 AM, Jochen Frey <jo...@jochenfrey.com> wrote:
> Hey Kalle, thanks for the quick response.
>
> I think I found the reason why it's not working for me (and I am surprised what you're describing could have worked for you at all).  By way of a unit test I tried your approach (adding the <dependency> for Hibernate 4.1.1), and for me it fails with a
>
>        Caused by: java.lang.NoSuchMethodError: org.hibernate.SessionFactory.openSession()Lorg/hibernate/classic/Session;
>
> Since then I have found the reason for that, which this that SessionFactory.openSession() in:
> - Hibernate 4.1 returns org.hibernate.Session
> - Hibernate 3.6 returns org.hibernate.classic.Session.

                
> Upgrade Hibernate dependency to latest, Hibernate 4.1.2.Final
> -------------------------------------------------------------
>
>                 Key: TAP5-1922
>                 URL: https://issues.apache.org/jira/browse/TAP5-1922
>             Project: Tapestry 5
>          Issue Type: Task
>          Components: tapestry-hibernate
>    Affects Versions: 5.3.3
>            Reporter: Felix Scheffer
>            Priority: Minor
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TAP5-1922) Upgrade Hibernate dependency to latest, Hibernate 4.1.2.Final

Posted by "Felix Scheffer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263829#comment-13263829 ] 

Felix Scheffer commented on TAP5-1922:
--------------------------------------

That's fine. i just wanted this to be tracked / documented.

tapestry-hibernate 5.3.3 is still using Hibernate.3.6.0.Final. I think it shoud use the latest Hibernate 3.6.x release, currently 3.6.10.Final.

                
> Upgrade Hibernate dependency to latest, Hibernate 4.1.2.Final
> -------------------------------------------------------------
>
>                 Key: TAP5-1922
>                 URL: https://issues.apache.org/jira/browse/TAP5-1922
>             Project: Tapestry 5
>          Issue Type: Task
>          Components: tapestry-hibernate
>    Affects Versions: 5.3.3
>            Reporter: Felix Scheffer
>            Priority: Minor
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TAP5-1922) Upgrade Hibernate dependency to latest, Hibernate 4.1.2.Final

Posted by "Kalle Korhonen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263720#comment-13263720 ] 

Kalle Korhonen commented on TAP5-1922:
--------------------------------------

5.4 trunk is already using Hibernate 4.1.1.Final. T5.3.x is using Hibernate 3.6 dependency and unfortunately, you need to recompile tapestry-hibernate if you want to use it together with Hibernate 4.1, see below (Jochen Frey reported this earlier on the dev mailing list). Suddenly bumping up the Hibernate version from 3.6.x to 4.1.x in a patch fix release might create more problems than it solves. As part of this issue, I'm upgrading T5.4 trunk to Hibernate 4.1.2 and closing the issue.

On Thu, Mar 22, 2012 at 11:23 AM, Jochen Frey <jo...@jochenfrey.com> wrote:
> Hey Kalle, thanks for the quick response.
>
> I think I found the reason why it's not working for me (and I am surprised what you're describing could have worked for you at all).  By way of a unit test I tried your approach (adding the <dependency> for Hibernate 4.1.1), and for me it fails with a
>
>        Caused by: java.lang.NoSuchMethodError: org.hibernate.SessionFactory.openSession()Lorg/hibernate/classic/Session;
>
> Since then I have found the reason for that, which this that SessionFactory.openSession() in:
> - Hibernate 4.1 returns org.hibernate.Session
> - Hibernate 3.6 returns org.hibernate.classic.Session.

                
> Upgrade Hibernate dependency to latest, Hibernate 4.1.2.Final
> -------------------------------------------------------------
>
>                 Key: TAP5-1922
>                 URL: https://issues.apache.org/jira/browse/TAP5-1922
>             Project: Tapestry 5
>          Issue Type: Task
>          Components: tapestry-hibernate
>    Affects Versions: 5.3.3
>            Reporter: Felix Scheffer
>            Priority: Minor
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TAP5-1922) Upgrade Hibernate dependency to latest, Hibernate 4.1.2.Final

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263884#comment-13263884 ] 

Hudson commented on TAP5-1922:
------------------------------

Integrated in tapestry-trunk-freestyle #707 (See [https://builds.apache.org/job/tapestry-trunk-freestyle/707/])
    TAP5-1922: Upgrade Hibernate dependency to latest, Hibernate 4.1.2.Final
- update Hibernate version from 4.1.1 to 4.1.2 (Revision 1331510)

     Result = SUCCESS
kaosko : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1331510
Files : 
* /tapestry/tapestry5/trunk/tapestry-hibernate-core/build.gradle

                
> Upgrade Hibernate dependency to latest, Hibernate 4.1.2.Final
> -------------------------------------------------------------
>
>                 Key: TAP5-1922
>                 URL: https://issues.apache.org/jira/browse/TAP5-1922
>             Project: Tapestry 5
>          Issue Type: Task
>          Components: tapestry-hibernate
>    Affects Versions: 5.3.3
>            Reporter: Felix Scheffer
>            Priority: Minor
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TAP5-1922) Upgrade Hibernate dependency to latest, Hibernate 4.1.2.Final

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263884#comment-13263884 ] 

Hudson commented on TAP5-1922:
------------------------------

Integrated in tapestry-trunk-freestyle #707 (See [https://builds.apache.org/job/tapestry-trunk-freestyle/707/])
    TAP5-1922: Upgrade Hibernate dependency to latest, Hibernate 4.1.2.Final
- update Hibernate version from 4.1.1 to 4.1.2 (Revision 1331510)

     Result = SUCCESS
kaosko : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1331510
Files : 
* /tapestry/tapestry5/trunk/tapestry-hibernate-core/build.gradle

                
> Upgrade Hibernate dependency to latest, Hibernate 4.1.2.Final
> -------------------------------------------------------------
>
>                 Key: TAP5-1922
>                 URL: https://issues.apache.org/jira/browse/TAP5-1922
>             Project: Tapestry 5
>          Issue Type: Task
>          Components: tapestry-hibernate
>    Affects Versions: 5.3.3
>            Reporter: Felix Scheffer
>            Priority: Minor
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TAP5-1922) Upgrade Hibernate dependency to latest, Hibernate 4.1.2.Final

Posted by "Felix Scheffer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263829#comment-13263829 ] 

Felix Scheffer commented on TAP5-1922:
--------------------------------------

That's fine. i just wanted this to be tracked / documented.

tapestry-hibernate 5.3.3 is still using Hibernate.3.6.0.Final. I think it shoud use the latest Hibernate 3.6.x release, currently 3.6.10.Final.

                
> Upgrade Hibernate dependency to latest, Hibernate 4.1.2.Final
> -------------------------------------------------------------
>
>                 Key: TAP5-1922
>                 URL: https://issues.apache.org/jira/browse/TAP5-1922
>             Project: Tapestry 5
>          Issue Type: Task
>          Components: tapestry-hibernate
>    Affects Versions: 5.3.3
>            Reporter: Felix Scheffer
>            Priority: Minor
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (TAP5-1922) Upgrade Hibernate dependency to latest, Hibernate 4.1.2.Final

Posted by "Kalle Korhonen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kalle Korhonen resolved TAP5-1922.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 5.4
         Assignee: Kalle Korhonen
    
> Upgrade Hibernate dependency to latest, Hibernate 4.1.2.Final
> -------------------------------------------------------------
>
>                 Key: TAP5-1922
>                 URL: https://issues.apache.org/jira/browse/TAP5-1922
>             Project: Tapestry 5
>          Issue Type: Task
>          Components: tapestry-hibernate
>    Affects Versions: 5.3.3
>            Reporter: Felix Scheffer
>            Assignee: Kalle Korhonen
>            Priority: Minor
>             Fix For: 5.4
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (TAP5-1922) Upgrade Hibernate dependency to latest, Hibernate 4.1.2.Final

Posted by "Kalle Korhonen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kalle Korhonen resolved TAP5-1922.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 5.4
         Assignee: Kalle Korhonen
    
> Upgrade Hibernate dependency to latest, Hibernate 4.1.2.Final
> -------------------------------------------------------------
>
>                 Key: TAP5-1922
>                 URL: https://issues.apache.org/jira/browse/TAP5-1922
>             Project: Tapestry 5
>          Issue Type: Task
>          Components: tapestry-hibernate
>    Affects Versions: 5.3.3
>            Reporter: Felix Scheffer
>            Assignee: Kalle Korhonen
>            Priority: Minor
>             Fix For: 5.4
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira