Update HQL queries from listener
--------------------------------
Key: HHH-2635
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2635
Project: Hibernate3
Issue Type: Bug
Components: query-hql
Affects Versions: 3.2.0.ga
Environment: JBoss 4
Reporter: Cédric Chantepie
Done :
HQL DELETE query executed from a DeleteEventListener.
n = query.executeUpdate(...) -> n > 0 (so there are some removal)
Expected :
Entities really removed from cache, and DeleteEventListener get called a new time from HQL
DELETE.
What's happen :
When call session.load(entity, id | id = [any pk supposed to be removed by HSQL DELETE])
an entity is loaded.
DeleteEventListener is not called from HQL DELETE.
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira