tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship (JIRA)" <...@tapestry.apache.org>
Subject [jira] Created: (TAPESTRY-2256) Add simple transaction manager decorator service
Date Fri, 14 Mar 2008 00:01:24 GMT
Add simple transaction manager decorator service
------------------------------------------------

                 Key: TAPESTRY-2256
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2256
             Project: Tapestry
          Issue Type: New Feature
          Components: tapestry-hibernate
    Affects Versions: 5.0.11
            Reporter: Howard M. Lewis Ship
             Fix For: 5.1


It would be nice to have an annotation, @CommitAfter, that could be placed on a service interface
method.

A decorator could recognize methods with such annotations, and use the HibernateSessionManager
to commit the transaction after invoking the method.

Currently, you must inject the HSM directly and invoke commit() on it.

-- 
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


Mime
View raw message