I have a named query with List parameter that gets recognised as StringJavaType. example query:
This throws org.springframework.orm.jpa.JpaSystemException: Unknown wrap conversion requested: java.util.ArrayList to java.lang.String : org.hibernate.type.descriptor.java.StringJavaType (java.lang.String). It does not seem to fail with every execution (about 30% fail rate?). Looping over the query either fails or runs multiple times successfully in the same test. example:
having a non null list of accountNames. Expected I expect the test to work everytime. Additional info Project with failing test Spring/Hibernate github project with error StackTrace: org.hibernate.HibernateException: Unknown wrap conversion requested: java.util.ArrayList to java.lang.String : org.hibernate.type.descriptor.java.StringJavaType (java.lang.String)
|