Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/grails/grails-app/conf/DataSource.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
10 changes: 5 additions & 5 deletions src/java/grails/orm/HibernateCriteriaBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -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."));
}

Expand All @@ -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."));
}

Expand All @@ -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."));
}

Expand All @@ -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."));
}

Expand All @@ -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."));
}

Expand Down