您现在的位置: 爱51代码网 >> 范文 >> 文章正文
failed to lazily initialize a collection of role: com.huawei.ciweb.entity.po.Rnd

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] 下一页

  • 上一篇文章:

  • 下一篇文章: 没有了
  • 最新文章 热点文章 相关文章
    java如何判断一个字符串里的数字
    随机找出24个不一样的字,在把一
    java怎么实现html转为pdf
    lotus数据列表文档个数如何实时统
    lotus代理中LS如何将字符串保存到
    在lotus BS系统里怎样方便实现统
    undefined reference timer_crea
    linux文件/usr/lib破坏了,还原后
    linux上运行system函数时,print
    Failed to open eth0
    java如何判断一个字符串里的数字
    undefined reference timer_crea
    Failed to open eth0
    C/C++洗牌算法源代码
    ZOJ 3700 Ever Dream 文章中单词
    TortoiseGit和msysGit安装及使用
    sharepoint 2010 获取用户信息Us
    设计包含max函数的队列
    mysql主从同步延迟方案解决的学习
    青岛科学六年级下册教材分析
    SSH框架在页面表单中的数据上
    ,<s:submit>怎么样做表单验
    Eclipse中怎样调试JSP页面
    java如何判断一个字符串里的
    随机找出24个不一样的字,在
    java怎么实现html转为pdf
    tomcat用debug启动不了用ser
    java终止运行时间超时的线程
    java类似qq空间的无限回复功
    jbpm4.4集成ssh出错,process
     



    设为首页 | 加入收藏 | 网站地图 | 友情链接 |