[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2241) Transaction registerSynchronization
Phillip Tornroth (JIRA)
noreply at atlassian.com
Tue Nov 14 17:48:06 EST 2006
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2241?page=comments#action_25289 ]
Phillip Tornroth commented on HHH-2241:
---------------------------------------
Crap. Sorry. Finger slipped and hit the enter key before finishing. At any rate.. Transaction registerSynchronization() allows duplicate entries. It would be helpful if it didn't as duplicate calls to afterCompletion() are a bit of a pain, and so it duplicating the relationship by having to track which transactions a component is associated with. If it's not too much trouble, I'd find it helpful. Attached is a patch to JDBCTransaction (it looks like most or all of the others delegate to an underlying javax instance, and I couldn't find documentation about how those would dependably work).. That said, I can't imagine anyone desiring the acceptance of the same instance multiple times.
Thanks... and sorry for the snafu adding the issue.
> Transaction registerSynchronization
> -----------------------------------
>
> Key: HHH-2241
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2241
> Project: Hibernate3
> Type: Patch
> Components: core
> Versions: 3.2.0.ga
> Reporter: Phillip Tornroth
> Priority: Minor
> Attachments: JDBCTransaction_Patch.txt
>
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list