Re: [hibernate-dev] JPA Events

2018-03-19 Thread Petar Tahchiev
Hi Steve, thank you for your reply. I really appreciate it. Here's my situation: my client asked me to get the dirty Products. Now the Product has a List manufacturers so to me it is obvious that when the manufacturers are changed then the Product is dirty, and this is exactly what I try to

Re: [hibernate-dev] JPA Events

2018-03-19 Thread Steve Ebersole
It is actually very unclear. Look at the wording... "...update operations to *entity* data...". So clearly it boils down to your definition of "entity data" and what is being updated, as Oliver mentions as well. We take the interpretation that since we are not updating the entity table here, we

[hibernate-dev] JPA Events

2018-03-19 Thread Petar Tahchiev
Hi guys, I opened an issue in the JPA spec here yesterday: https://github.com/javaee/jpa-spec/issues/167 because @PreUpdate and @PrePersist events are not fired when I save a collection on the owner. Since then, a discussion with Oliver Gierke from the SpringDATA team started and I wanted to