In our project we are using a couple of embeddables (with some nullable attributes) as business keys so we have to use them often in queries via criteria api.
I ended up implementing a rather ugly workaround for adding "is null" instead of = ...
Hibernate should really do this automatically. Thanks!
PS: Hibernate version in use: 4.0.1 (JBoss EAP 6.0.1)
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
In our project we are using a couple of embeddables (with some nullable attributes) as business keys so we have to use them often in queries via criteria api.
I ended up implementing a rather ugly workaround for adding "is null" instead of = ...
Hibernate should really do this automatically. Thanks!
PS: Hibernate version in use: 4.0.1 (JBoss EAP 6.0.1)