hibernate-test-case-templates
hibernate-test-case-templates copied to clipboard
Templates and examples to report issues to Hibernate
Test case for bidirectional OneToMany relationship save failure
Ticket: https://hibernate.atlassian.net/browse/HHH-13530 added unit tests to reproduce HHH-13530 issue
Testcase to demonstrate https://hibernate.atlassian.net/browse/HHH-13360 Works on 5.2.18 but not in 5.3.0
Load entity graph is ignored when entity to load is aready in session cache.
You can reproduce the issue by running "mvn clean install" or by just running the specific test under test-case-template-hibernate-orm5/src/test/java/org/hibernate/bugs/JPAUnitTestCase.java in my code In the console you will be able to...
https://hibernate.atlassian.net/browse/HHH-18415
… with an entity graph
https://hibernate.atlassian.net/browse/HHH-18390
https://hibernate.atlassian.net/browse/HHH-18389
``` java.lang.IllegalArgumentException: org.hibernate.query.sqm.produce.function.FunctionArgumentException: All array arguments must have a type compatible to the first argument type [BasicAttributeMapping(NavigableRole[org.hibernate.bugs.Author.{id}])@1504325562], but argument 2 has type 'BasicAttributeMapping(NavigableRole[org.hibernate.bugs.Author.{id}])@1468882178' at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:143) at org.hibernate.query.spi.AbstractSelectionQuery.list(AbstractSelectionQuery.java:431) at org.hibernate.query.spi.AbstractSelectionQuery.getSingleResult(AbstractSelectionQuery.java:555) at...