java.lang.IllegalArgumentException: Could not locate appropriate constructor on class : org.hibernate.test.type.contributor.ArrayTypeContributorTest$CorporateUserDTO
at org.hibernate.loader.custom.ConstructorResultColumnProcessor.resolveConstructor(ConstructorResultColumnProcessor.java:92)
at org.hibernate.loader.custom.ConstructorResultColumnProcessor.performDiscovery(ConstructorResultColumnProcessor.java:45)
at org.hibernate.loader.custom.CustomLoader.autoDiscoverTypes(CustomLoader.java:494)
at org.hibernate.loader.Loader.processResultSet(Loader.java:2338)
It looks like the Constructor is resolved using the Hibernate Type instead of the actual Java Type.