failed to lazily initialize a collection of role: com.huawei.ciweb.entity.po.Rnd
2013-08-13 14:33:42 [ERROR] (LazyInitializationException.java:42) - failed to lazily initialize a collection of role: com.huawei.ciweb.entity.po.RndlteCiVersion.rndlteCiBrokens, no session or session was closed org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.huawei.ciweb.entity.po.RndlteCiVersion.rndlteCiBrokens, no session or session was closed at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:380) at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:372) at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:365) at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:108) at org.hibernate.collection.PersistentSet.equals(PersistentSet.java:429) at java.util.Vector.indexOf(Vector.java:361) at java.util.Vector.contains(Vector.java:320) at org.apache.struts2.json.JSONWriter.value(JSONWriter.java:110) at org.apache.struts2.json.JSONWriter.add(JSONWriter.java:363) at org.apache.struts2.json.JSONWriter.bean(JSONWriter.java:223) at org.apache.struts2.json.JSONWriter.processCustom(JSONWriter.java:171) at org.apache.struts2.json.JSONWriter.process(JSONWriter.java:161) at org.apache.struts2.json.JSONWriter.value(JSONWriter.java:127) at org.apache.struts2.json.JSONWriter.add(JSONWriter.java:363) at org.apache.struts2.json.JSONWriter.bean(JSONWriter.java:223) at org.apache.struts2.json.JSONWriter.processCustom(JSONWriter.java:171) at org.apache.struts2.json.JSONWriter.process(JSONWriter.java:161) at org.apache.struts2.json.JSONWriter.value(JSONWriter.java:127) at org.apache.struts2.json.JSONWriter.add(JSONWriter.java:363) at org.apache.struts2.json.JSONWriter.bean(JSONWriter.java:223) at org.apache.struts2.json.JSONWriter.processCustom(JSONWriter.java:171) at org.apache.struts2.json.JSONWriter.process(JSONWriter.java:161) at org.apache.struts2.json.JSONWriter.value(JSONWriter.java:127) at org.apache.struts2.json.JSONWriter.write(JSONWriter.java:95) at org.apache.struts2.json.JSONUtil.serialize(JSONUtil.java:116) at org.apache.struts2.json.JSONResult.createJSONString(JSONResult.java:196) at org.apache.struts2.json.JSONResult.execute(JSONResult.java:170) at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:374) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:278) at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:256) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249) at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:176) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249) at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:265)
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> <!-- Mapping file autogenerated by MyEclipse Persistence Tools --> <hibernate-mapping> <class name="com.huawei.ciweb.entity.po.RndlteCiVersion" table="rndlte_ci_version" > <id name="id" type="java.lang.Integer"> <column name="id" /> <generator class="identity" /> </id> <property name="version" type="java.lang.String"> <column name="version" length="100" not-null="true" unique="true"> <comment>版本号</comment> </column> </property> <property name="commonVersion" type="java.lang.String"> <column name="common_version" length="100" not-null="true"> <comment>俗名</comment> </column> </property> <property name="versionPo" type="java.lang.String"> <column name="version_po" length="100" not-null="true"> <comment>版本经理或软件经理</comment> </column> </property> <property name="connectionPerson" type="java.lang.String"> <column name="connection_person" length="2000"> <comment>版本的所有接口人</comment> </column> </property> <property name="versionDomain" type="java.lang.String"> <column name="version_domain" length="50" not-null="true"> <comment>域</comment> </column> </property> <property name="software" type="java.lang.String"> <column name="software" length="500"> <comment>软件包Summary.xml文件共享路径</comment> </column> </property> <property name="smoking" type="java.lang.String"> <column name="smoking" length="500"> <comment>冒烟Summary.xml文件共享路径</comment> </column> </property> <property name="adapter" type="java.lang.String"> <column name="adapter" length="500"> <comment>适配层Summary.xml文件共享路径</comment> </column> </property> <property name="material" type="java.lang.String"> <column name="material" length="500"> <comment>资料Summary.xml文件共享路径</comment> </column> </property> <property name="necessaryTool" type="java.lang.String"> <column name="necessary_tool" length="500"> <comment>配套工具Summary.xml文件共享路径</comment> </column> </property> <property name="realtimeSharedDirectory" type="java.lang.String"> <column name="realtime_shared_directory" length="500"> <comment>实时构建工程共享目录</comment> </column> </property>
[1] [2] 下一页
|