You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Igor Drobiazko (JIRA)" <ji...@apache.org> on 2009/07/20 08:27:14 UTC

[jira] Created: (TAP5-790) Provide ApplicationStatePersistenceStrategy for Hibernate entities

Provide ApplicationStatePersistenceStrategy for Hibernate entities 
-------------------------------------------------------------------

                 Key: TAP5-790
                 URL: https://issues.apache.org/jira/browse/TAP5-790
             Project: Tapestry 5
          Issue Type: Improvement
          Components: tapestry-hibernate
    Affects Versions: 5.2.0.0
            Reporter: Igor Drobiazko


Persisting a hibernate entity in HttpSession is not good idea because the entity becomes detached from the Hibernate session.
It would be nice to have a ApplicationStatePersistenceStrategy which stores only the primary key of the entity into the session.
This strategy should make use of the class  PersistedEntity like EntityPersistentFieldStrategy does.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (TAP5-790) Provide ApplicationStatePersistenceStrategy for Hibernate entities

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

Igor Drobiazko closed TAP5-790.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 5.2.0.0

> Provide ApplicationStatePersistenceStrategy for Hibernate entities 
> -------------------------------------------------------------------
>
>                 Key: TAP5-790
>                 URL: https://issues.apache.org/jira/browse/TAP5-790
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-hibernate
>    Affects Versions: 5.2.0.0
>            Reporter: Igor Drobiazko
>            Assignee: Igor Drobiazko
>             Fix For: 5.2.0.0
>
>
> Persisting a hibernate entity in HttpSession is not good idea because the entity becomes detached from the Hibernate session.
> It would be nice to have a ApplicationStatePersistenceStrategy which stores only the primary key of the entity into the session.
> This strategy should make use of the class  PersistedEntity like EntityPersistentFieldStrategy does.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (TAP5-790) Provide ApplicationStatePersistenceStrategy for Hibernate entities

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

Igor Drobiazko reassigned TAP5-790:
-----------------------------------

    Assignee: Igor Drobiazko

> Provide ApplicationStatePersistenceStrategy for Hibernate entities 
> -------------------------------------------------------------------
>
>                 Key: TAP5-790
>                 URL: https://issues.apache.org/jira/browse/TAP5-790
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-hibernate
>    Affects Versions: 5.2.0.0
>            Reporter: Igor Drobiazko
>            Assignee: Igor Drobiazko
>
> Persisting a hibernate entity in HttpSession is not good idea because the entity becomes detached from the Hibernate session.
> It would be nice to have a ApplicationStatePersistenceStrategy which stores only the primary key of the entity into the session.
> This strategy should make use of the class  PersistedEntity like EntityPersistentFieldStrategy does.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (TAP5-790) Provide ApplicationStatePersistenceStrategy for Hibernate entities

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

Igor Drobiazko reassigned TAP5-790:
-----------------------------------

    Assignee: Igor Drobiazko

> Provide ApplicationStatePersistenceStrategy for Hibernate entities 
> -------------------------------------------------------------------
>
>                 Key: TAP5-790
>                 URL: https://issues.apache.org/jira/browse/TAP5-790
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-hibernate
>    Affects Versions: 5.2.0.0
>            Reporter: Igor Drobiazko
>            Assignee: Igor Drobiazko
>
> Persisting a hibernate entity in HttpSession is not good idea because the entity becomes detached from the Hibernate session.
> It would be nice to have a ApplicationStatePersistenceStrategy which stores only the primary key of the entity into the session.
> This strategy should make use of the class  PersistedEntity like EntityPersistentFieldStrategy does.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (TAP5-790) Provide ApplicationStatePersistenceStrategy for Hibernate entities

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

Igor Drobiazko closed TAP5-790.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 5.2.0.0

> Provide ApplicationStatePersistenceStrategy for Hibernate entities 
> -------------------------------------------------------------------
>
>                 Key: TAP5-790
>                 URL: https://issues.apache.org/jira/browse/TAP5-790
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-hibernate
>    Affects Versions: 5.2.0.0
>            Reporter: Igor Drobiazko
>            Assignee: Igor Drobiazko
>             Fix For: 5.2.0.0
>
>
> Persisting a hibernate entity in HttpSession is not good idea because the entity becomes detached from the Hibernate session.
> It would be nice to have a ApplicationStatePersistenceStrategy which stores only the primary key of the entity into the session.
> This strategy should make use of the class  PersistedEntity like EntityPersistentFieldStrategy does.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.