小编Joh*_*2_2的帖子

Grails PermGem错误

我需要帮助解决这个问题.我需要有人向我解释为什么会发生这种情况以及如何预防或避免它.

Exception in thread "Thread-747" java.lang.OutOfMemoryError: PermGen space
Exception in thread "Thread-748" java.lang.OutOfMemoryError: PermGen space
Exception in thread "Thread-759" java.lang.OutOfMemoryError: PermGen space
Exception in thread "Thread-760" java.lang.OutOfMemoryError: PermGen space
Exception in thread "Thread-764" java.lang.OutOfMemoryError: PermGen space
Exception in thread "Thread-765" java.lang.OutOfMemoryError: PermGen space
Exception in thread "Thread-766" java.lang.OutOfMemoryError: PermGen space
Exception in thread "Thread-767" java.lang.OutOfMemoryError: PermGen space
Exception in thread "Thread-773" java.lang.OutOfMemoryError: PermGen space
Exception in thread "Thread-774" java.lang.OutOfMemoryError: PermGen space
Exception in thread "Thread-780" java.lang.OutOfMemoryError: PermGen space
Exception in …
Run Code Online (Sandbox Code Playgroud)

grails permgen

4
推荐指数
1
解决办法
1万
查看次数

Grails HQL与SQL语句

关于简单性,复杂性和性能,我希望使用HQL或SQL语句查询数据库.

sql grails hql

3
推荐指数
1
解决办法
880
查看次数

Grails创建标准简单问题

在此示例中,如何在类似条件的语句中使用"%":

def c = Shop.createCriteria()
def results = c.list {
    like("name", "Harrods")

def aha = params.name
    like("store.name", %aha%) ##
}
Run Code Online (Sandbox Code Playgroud)

"%aha%"部分无效.但如果我做"%ola%"它确实有效.那么如何解决这个问题呢?

或者在成瘾中,而不是"%aha",我如何使用'contains'groovy方法而不是像?

grails criteria

1
推荐指数
1
解决办法
400
查看次数

标签 统计

grails ×3

criteria ×1

hql ×1

permgen ×1

sql ×1