[hibernate-dev] firing proper events after HQL?

Sanne Grinovero sanne.grinovero at gmail.com
Mon Nov 23 13:49:09 EST 2009


Hello,
a user on forums is posting about an HQL like
"delete from product where id = 4"
which - in case of Hibernate Search - is not going to remove the
relevant document from the index.

Another interesting case would be
"delete from product"

Any thoughts about this? Should we always use API when making changes?
(https://forum.hibernate.org/viewtopic.php?f=9&t=1001076)

Sanne



More information about the hibernate-dev mailing list