[jbossseam-issues] [JBoss JIRA] Assigned: (JBSEAM-1962) add default value expressions to EntityTransaction and HibernateTransaction

Dan Allen (JIRA) jira-events at lists.jboss.org
Wed Nov 28 16:23:46 EST 2007


     [ http://jira.jboss.com/jira/browse/JBSEAM-1962?page=all ]

Dan Allen reassigned JBSEAM-1962:
---------------------------------

    Assignee: Dan Allen  (was: Pete Muir)

> add default value expressions to EntityTransaction and HibernateTransaction
> ---------------------------------------------------------------------------
>
>                 Key: JBSEAM-1962
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1962
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: Core
>    Affects Versions: 2.0.0.CR1
>            Reporter: Dan Allen
>         Assigned To: Dan Allen
>            Priority: Minor
>             Fix For: 2.0.1.GA
>
>         Attachments: JBSEAM-1962-v1.txt
>
>   Original Estimate: 15 minutes
>  Remaining Estimate: 15 minutes
>
> The Seam CRUD framework uses the standard names entityManager for JPA and session for Hibernate when the name of the persistence context is not specified. However, EntityTransaction and HibernateTransaction components do not use default values. It seems like it would be beneficial to add default values to save a couple of keystrokes. I agree it is pretty minor, but as the Seam documentation says, and I quote "All those keystrokes add up!"
> Assuming I have a managed persistence context named "entityManager"
> Current:
> <transaction:entity-transaction entity-manager="#{entityManager}" />
> Desired:
> <transaction:entity-transaction />

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list