diff --git a/src/grails/grails-app/conf/DataSource.groovy b/src/grails/grails-app/conf/DataSource.groovy index 91143e70f09..b12a821575d 100644 --- a/src/grails/grails-app/conf/DataSource.groovy +++ b/src/grails/grails-app/conf/DataSource.groovy @@ -14,7 +14,7 @@ environments { development { dataSource { dbCreate = "create-drop" // one of 'create', 'create-drop','update' - url = "jdbc:hsqldb:mem:devDB" + url = "jdbc:hsqldb:mem:devDb" } } test { diff --git a/src/java/grails/orm/HibernateCriteriaBuilder.java b/src/java/grails/orm/HibernateCriteriaBuilder.java index 9d3190d4ef3..89951890ddc 100644 --- a/src/java/grails/orm/HibernateCriteriaBuilder.java +++ b/src/java/grails/orm/HibernateCriteriaBuilder.java @@ -954,7 +954,7 @@ public Object sizeEq(String propertyName, int size) { */ public Object sizeGt(String propertyName, int size) { if (!validateSimpleExpression()) { - throwRuntimeException(new IllegalArgumentException("Call to [sizeEq] with propertyName [" + + throwRuntimeException(new IllegalArgumentException("Call to [sizeGt] with propertyName [" + propertyName + "] and size [" + size + "] not allowed here.")); } @@ -972,7 +972,7 @@ public Object sizeGt(String propertyName, int size) { */ public Object sizeGe(String propertyName, int size) { if (!validateSimpleExpression()) { - throwRuntimeException(new IllegalArgumentException("Call to [sizeEq] with propertyName [" + + throwRuntimeException(new IllegalArgumentException("Call to [sizeGe] with propertyName [" + propertyName + "] and size [" + size + "] not allowed here.")); } @@ -990,7 +990,7 @@ public Object sizeGe(String propertyName, int size) { */ public Object sizeLe(String propertyName, int size) { if (!validateSimpleExpression()) { - throwRuntimeException(new IllegalArgumentException("Call to [sizeEq] with propertyName [" + + throwRuntimeException(new IllegalArgumentException("Call to [sizeLe] with propertyName [" + propertyName + "] and size [" + size + "] not allowed here.")); } @@ -1008,7 +1008,7 @@ public Object sizeLe(String propertyName, int size) { */ public Object sizeLt(String propertyName, int size) { if (!validateSimpleExpression()) { - throwRuntimeException(new IllegalArgumentException("Call to [sizeEq] with propertyName [" + + throwRuntimeException(new IllegalArgumentException("Call to [sizeLt] with propertyName [" + propertyName + "] and size [" + size + "] not allowed here.")); } @@ -1026,7 +1026,7 @@ public Object sizeLt(String propertyName, int size) { */ public Object sizeNe(String propertyName, int size) { if (!validateSimpleExpression()) { - throwRuntimeException(new IllegalArgumentException("Call to [sizeEq] with propertyName [" + + throwRuntimeException(new IllegalArgumentException("Call to [sizeNe] with propertyName [" + propertyName + "] and size [" + size + "] not allowed here.")); }