You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Dan Adams (JIRA)" <de...@tapestry.apache.org> on 2008/03/08 22:11:46 UTC

[jira] Created: (TAPESTRY-2246) Add @Persist strategy for Hibernate entities

Add @Persist strategy for Hibernate entities
--------------------------------------------

                 Key: TAPESTRY-2246
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2246
             Project: Tapestry
          Issue Type: New Feature
          Components: tapestry-hibernate
    Affects Versions: 5.0.10
            Reporter: Dan Adams
            Assignee: Dan Adams


Allow using something like

@Persist("entity")
private SomeEntity _entity;

to persist Hibernate entities using the id of the entity rather than storing the whole thing in the session. Came out of TAPESTRY-1318.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Re: [jira] Closed: (TAPESTRY-2246) Add @Persist strategy for Hibernate entities

Posted by Dan Adams <da...@ifactory.com>.
This can be used with any object that is in a Hibernate Session.

Yunhua Sang wrote:
> This is cool!
>
> I have a question, is this can be used with JPA or other ORM framework?
>
> Thanks
> Yunhua
>
> On Sat, Mar 8, 2008 at 8:29 PM, Dan Adams (JIRA)
> <de...@tapestry.apache.org> wrote:
>   
>>      [ https://issues.apache.org/jira/browse/TAPESTRY-2246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>>
>>  Dan Adams closed TAPESTRY-2246.
>>  -------------------------------
>>
>>        Resolution: Fixed
>>     Fix Version/s: 5.0.11
>>
>>  > Add @Persist strategy for Hibernate entities
>>  > --------------------------------------------
>>  >
>>  >                 Key: TAPESTRY-2246
>>  >                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2246
>>  >             Project: Tapestry
>>  >          Issue Type: New Feature
>>  >          Components: tapestry-hibernate
>>  >    Affects Versions: 5.0.10
>>  >            Reporter: Dan Adams
>>  >            Assignee: Dan Adams
>>  >             Fix For: 5.0.11
>>  >
>>  >
>>  > Allow using something like
>>  > @Persist("entity")
>>  > private SomeEntity _entity;
>>  > to persist Hibernate entities using the id of the entity rather than storing the whole thing in the session. Came out of TAPESTRY-1318.
>>
>>  --
>>  This message is automatically generated by JIRA.
>>  -
>>  You can reply to this email to add a comment to the issue online.
>>
>>
>>  ---------------------------------------------------------------------
>>  To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
>>  For additional commands, e-mail: dev-help@tapestry.apache.org
>>
>>
>>     
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Re: [jira] Closed: (TAPESTRY-2246) Add @Persist strategy for Hibernate entities

Posted by Yunhua Sang <yu...@gmail.com>.
This is cool!

I have a question, is this can be used with JPA or other ORM framework?

Thanks
Yunhua

On Sat, Mar 8, 2008 at 8:29 PM, Dan Adams (JIRA)
<de...@tapestry.apache.org> wrote:
>
>      [ https://issues.apache.org/jira/browse/TAPESTRY-2246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
>  Dan Adams closed TAPESTRY-2246.
>  -------------------------------
>
>        Resolution: Fixed
>     Fix Version/s: 5.0.11
>
>  > Add @Persist strategy for Hibernate entities
>  > --------------------------------------------
>  >
>  >                 Key: TAPESTRY-2246
>  >                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2246
>  >             Project: Tapestry
>  >          Issue Type: New Feature
>  >          Components: tapestry-hibernate
>  >    Affects Versions: 5.0.10
>  >            Reporter: Dan Adams
>  >            Assignee: Dan Adams
>  >             Fix For: 5.0.11
>  >
>  >
>  > Allow using something like
>  > @Persist("entity")
>  > private SomeEntity _entity;
>  > to persist Hibernate entities using the id of the entity rather than storing the whole thing in the session. Came out of TAPESTRY-1318.
>
>  --
>  This message is automatically generated by JIRA.
>  -
>  You can reply to this email to add a comment to the issue online.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
>  For additional commands, e-mail: dev-help@tapestry.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Closed: (TAPESTRY-2246) Add @Persist strategy for Hibernate entities

Posted by "Dan Adams (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-2246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Adams closed TAPESTRY-2246.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0.11

> Add @Persist strategy for Hibernate entities
> --------------------------------------------
>
>                 Key: TAPESTRY-2246
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2246
>             Project: Tapestry
>          Issue Type: New Feature
>          Components: tapestry-hibernate
>    Affects Versions: 5.0.10
>            Reporter: Dan Adams
>            Assignee: Dan Adams
>             Fix For: 5.0.11
>
>
> Allow using something like
> @Persist("entity")
> private SomeEntity _entity;
> to persist Hibernate entities using the id of the entity rather than storing the whole thing in the session. Came out of TAPESTRY-1318.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org