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

Dan Allen (JIRA) jira-events at lists.jboss.org
Mon Sep 24 22:44:45 EDT 2007


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
            Priority: Minor
             Fix For: 2.0.1.GA


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