[jbossseam-issues] [JBoss JIRA] Reopened: (JBSEAM-1700) Raise after transaction success events from EntityHome, HibernateEntityHome

Christian Bauer (JIRA) jira-events at lists.jboss.org
Wed Aug 15 17:42:02 EDT 2007


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

Christian Bauer reopened JBSEAM-1700:
-------------------------------------

             
This breaks EntityHome.remove() because you call getEntityName() on the removed instance:

   [testng] Caused by: org.hibernate.TransientObjectException: proxy was not associated with the session
   [testng]     at org.hibernate.impl.SessionImpl.getEntityName(SessionImpl.java:1744)
   [testng]     at org.hibernate.search.impl.FullTextSessionImpl.getEntityName(FullTextSessionImpl.java:474)
   [testng]     at org.jboss.seam.persistence.HibernateSessionProxy.getEntityName(HibernateSessionProxy.java:216)
   [testng]     at org.jboss.seam.persistence.HibernatePersistenceProvider.getName(HibernatePersistenceProvider.java:205)
   [testng]     at org.jboss.seam.framework.EntityHome.getEntityName(EntityHome.java:119)
   [testng]     at org.jboss.seam.framework.Home.getSimpleEntityName(Home.java:255)
   [testng]     at org.jboss.seam.framework.Home.raiseAfterTransactionSuccessEvent(Home.java:250)
   [testng]     at org.jboss.seam.framework.EntityHome.remove(EntityHome.java:64)
   [testng]     at org.jboss.seam.wiki.core.action.NodeHome.remove(NodeHome.java:221)

> Raise after transaction success events from EntityHome, HibernateEntityHome
> ---------------------------------------------------------------------------
>
>                 Key: JBSEAM-1700
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1700
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: Framework
>            Reporter: Gavin King
>         Assigned To: Pete Muir
>             Fix For: 2.0.0.CR1
>
>
> This is useful since it lets people add observer methods and refresh query results.

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