Hibernate Dependency #9

titusjose opened this Issue Oct 24, 2013 · 2 comments


None yet

2 participants


With out adding hibernate as a plugin dependency in BuildConfig.groovy as follows

plugins {
test ":hibernate:$grailsVersion"
test ":plastic-criteria:1.3"

I get the following error while I run my tests.

plugins/plastic-criteria-1.3/src/groovy/plastic/criteria/PlasticCriteria.groovy: 254: unable to resolve class org.hibernate.NonUniqueResultException
@ line 254, column 11.
throw new org.hibernate.NonUniqueResultException(ls.size())
1 error

I see that only on line 254 a hibernate exception is thrown. Can that exception be more generic so that there is no hibernate dependency ?


Grails version?


Thanks for the fix. The Grails version in my setup is 2.2.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment