equality « Cascade « JPA Q&A





1. Cascading updates with business key equality: Hibernate best practices?    stackoverflow.com

I'm new to Hibernate, and while there are literally tons of examples to look at, there seems to be so much flexibility here that it's sometimes very hard to narrow all ...

2. Cascading update with business key equality: best practices?    forum.hibernate.org

Write a custom interceptor to fetch and set object identifiers on each operation. This looks cleaner than the first option but is rather heavy-handed, and it seems wrong to me that you should be expected to write a plug-in which overrides Hibernate's default behavior for a mapping which follows the recommended design.