Java Can';HQL查询创建中的t load类

Java Can';HQL查询创建中的t load类,java,hibernate,jakarta-ee,glassfish,glassfish-4,Java,Hibernate,Jakarta Ee,Glassfish,Glassfish 4,在将glassfish升级到4版本并将hibernate升级到4.3.5之后,我在类加载方面遇到了奇怪的问题 因此,我创建了这样的HQL: 从GroupTransaction gt.JOIN gt.transaction t JOIN t.service s中选择新列表(s.id、s.name、s.serviceGroup.id、s.serviceGroup.name、s.serviceGroup.id、s.serviceGroup.name、s.serviceGroup.name、s.serv

在将glassfish升级到4版本并将hibernate升级到4.3.5之后,我在类加载方面遇到了奇怪的问题

因此,我创建了这样的HQL:

从GroupTransaction gt.JOIN gt.transaction t JOIN t.service s中选择新列表(s.id、s.name、s.serviceGroup.id、s.serviceGroup.name、s.serviceGroup.id、s.serviceGroup.name、s.serviceGroup.name、s.serviceGroup.name、count(t.id)、sum(COALESCE(t.dealerfeefeact,0)+t.sum)),其中1=1和(t.date>=:date_1和t.date<:date_2)和t.status in(:status_list)和gt.node.id=:节点组按,s.serviceGroup.name按s.serviceGroup.id排序

当我调用em.createQuery时,它抛出异常:

!![2014-04-27T22:56:29.757+0600][glassfish 4.0][警告][[javax.enterprise.system.util][tid:_ThreadID=156 _ThreadName=http-listener-1(1)][timeMillis:1398617789757][levelValue:900][[ ASURLClassLoader EarLibClassLoader: doneCalled=true 在EarLibClassLoader上调用了doneSnapshot=ASURLClassLoader.done(): urlSet=[URLEntry:file:/home/ash/projects/ermak2/dist/gfdeploy/ermak2/lib/javaconfig-1.4.jar,URLEntry:file:/home/ash/projects/ermak2/dist/gfdeploy/ermak2/dist/gfdeploy/gfdeploy/ermak2/dist/lib/commons-io-2.1.jar,URLEntry:file:/home/ash/projects/ermak2/dist/gfdeploy/gfermak2/lib/httpclient-4.1.2.jarr、 URLEntry:file:/home/ash/projects/ermak2/dist/gfdeploy/ermak2/lib/async-http-client-1.7.0.jar,URLEntry:file:/home/ash/projects/ermak2/dist/gfdeploy/ermak2/collections-genic-4.01.jar,URLEntry:file:/home/ash/projects/ermak2/lib/httpcore-4.2-alpha2.jar2/lib/jboss-logging-3.1.3.GA.jar,URLEntry:file:/home/ash/projects/ermak2/dist/gfdeploy/ermak2/lib/jdom.jar,URLEntry:file:/home/ash/projects/ermak2/lib/smslib-v3.5.0.jar,URLEntry:file:/home/ash/projects/ermak2/dist/gfdeploy/ermak2/lib/log4j-1.2.16.jar/lib/lib/jsmpp-2.1.0.jar,URLEntry:file:/home/ash/projects/ermak2/dist/gfdeploy/ermak2/lib/lib/lib/commons-net-2.2.jar,URLEntry:file:/home/ash/projects/ermak2/dist/gfdeploy/ermak2/lib/slf4j/lib/slf4j/lib/slf4j-api-1.6.1.jarst/gfdeploy/ermak2/lib/commons-logging-1.1.jar,URLEntry:file:/home/ash/projects/ermak2/dist/gfdeploy/ermak2/lib/jboss-transaction-api_1.2_spec-1.0.0.Final.jar,URLEntry:file:/home/ash/projects/ermak2/dist/gfdeploy/ermak2/lib/hibernate-commons-annotations-4.0.Final.jarmons-codec-1.4.jar,URLEntry:file:/home/ash/projects/ermak2/dist/gfdeploy/ermak2/lib/log4j-1.2.16.jareploy/ermak2/lib/cglib-2.2.jar,urlength:file:/home/ash/projects/ermak2/dist/gfdeploy/ermak2/lib/dom4j-1.6.1.jar/lib/pduutils.jar,URLEntry:file:/home/ash/projects/ermak2/dist/gfdeploy/ermak2/lib/commons-collections-3.2.1.jar,URLEntry:file:/home/ash/projects/ermak2/lib/gfdeploy/ermak2/httpcore-nio-4.2-alpha2.jar,URLEntry:file:/home/ash/projects/ermak2/ermak2/dist/gfdeploy/ermak2/lib/hibernate-core-4.3.5.Final.jar,URLEntry:file:/home/ashmak2/dist/gfdeploy/ermak2/lib/itextpdf-5.1.0.jar,URLEntry:file:/home/ash/projects/ermak2/dist/gfdeploy/ermak2/lib/termak2/dist/gfdeploy/ermak2/lib/hibernate-ehcache-4.3.5.Final.jar,URLENTRYR:file:/home/ash/projects/ermak2/ermak2/lib/commons-exec-1.jar,URLENTRlext:file:/home/ashome/ash/projects/ermak2/dist/gfdeploy/ermak2/lib/httpclient-cache-4.1.2.jar,URLEntry:file:/home/ash/projects/ermak2/dist/gfdeploy/ermak2.7.jar,条目:file:/home/ash/projects/ermak2/dist/gfdeploy/ermak2/ermak2/gfdeploy/ermak2/lib/hibernate-entimanager-4.3.5.Final.jar-2.1-api-1.0.0.Final.jar,URLEntry:file:/home/ash/projects/ermak2/dist/gfdeploy/ermak2/lib/javassist-3.18.1-GA.jar,URLEntry:file:/home/ash/projects/ermak2/dist/gfdeploy/ermak2/lib/slf4j12-1.6.1.jar,URLENTRLENTRY:file:/home/ash/projects/distcha/gfdeployoy/ermak2/lib/json.jar,URLEntry:file:/home/ash/projects/ermak2/dist/gfdeploy/ermak2/lib/jsmpp-2.1.0.jar,URLEntry:file:/home/ash/projects/ermak2/dist/gfdeploy/ermak2/lib/jdom-2.0.5.jarime-4.1.2.jar,URLEntry:file:/home/ash/projects/ermak2/dist/gfdeploy/ermak2/lib/backport-util-concurrent.jar,URLEntry:file:/home/ash/projects/ermak2/dist/lib/jandex-1.1.0.Final.jarmak2/lib/commons-httpclient-3.1.jar]

doneCalled=false 父级->org.glassfish.internal.api。DelegatingClassLoader@987c45

2014年4月27日星期日22:44:57 KGT 作者:[java.lang.Thread.getStackTrace(Thread.java:1588),com.sun.enterprise.loader.ASURLClassLoader.done(ASURLClassLoader.java:216),com.sun.enterprise.loader.ASURLClassLoader.preDestroy(ASURLClassLoader.java:184),org.glassfish.javaee.full.deployment.EarClassLoader.preDestroy(EarCla