Gavin King (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiODE4ZDFhNmVl...
) / Improvement (
https://hibernate.atlassian.net/browse/HHH-15587?atlOrigin=eyJpIjoiODE4ZD...
) HHH-15587 (
https://hibernate.atlassian.net/browse/HHH-15587?atlOrigin=eyJpIjoiODE4ZD...
) deprecate ExecuteUpdateResultCheckStyle,ResultCheckStyle (
https://hibernate.atlassian.net/browse/HHH-15587?atlOrigin=eyJpIjoiODE4ZD...
)
Issue Type: Improvement Assignee: Unassigned Created: 07/Oct/2022 08:23 AM Priority: Major
Reporter: Gavin King (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
ExecuteUpdateResultCheckStyle and ResultCheckStyle are enums which basically just let you
select a pre-implemented Expectation when you define custom SQL using @SqlXxxx. It seems
to me that an enum is an inapt design here since they don’t let you customize things like
the number of expected rows or the parameter position.
I think we should change @SqlInsert and friends to just let you directly specify a class
which implements Expectation , or possibly a simplified version of Expectation. I would
then deprecate the enums and surrounding machinery.
(
https://hibernate.atlassian.net/browse/HHH-15587#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-15587#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100207- sha1:591c2ef )