Brett Meyer
commented
on an issue
Re: <sql-delete check="none"> fails with NullPointerException when the sql affects multiple tables
Can you please attach a test case that reproduces the issue? Thanks!
Add Comment
Hibernate ORM
/
HHH-7410
<sql-delete check="none"> fails with NullPointerException when the sql affects multiple tables
I have a case in which my sql-delete needs to update two tables (set delete flag & date on ENTITY table, set date on CHANNEL_MARK).
<sql-delete check="none">declare @entity_id int = ?, @update_date date = getdate(); update ENTITY set DELETED = 1, UPDATE_DATE = @update_date where ENTITY_ID = @entity_id; update CHANNEL_MARK set LAST_UPDATE_DATE = ...
This message was sent by Atlassian JIRA
(v6.1-OD-09-WN#6144-
sha1:62dfc48
)