当前位置: 代码迷 >> org.hibernate.LazyInitializationException.html的解决方案
 
  • org.springframework.beans.factory.UnsatisfiedDependencyException

    java的Spring配置问题异常为:2011-9-2110:16:57org.apache.catalina.core.StandardContextlistenerStart严重:Exceptionsendingcontextinitializedeventtolistenerinstanceofclassorg.springframework.web.context.ContextLoade...

    336
    热度
  • hibernate 执行插入失败!该怎么处理

    hibernate执行插入失败!请教各位大神,是什么原因?附上执行报告:2015-5-1411:34:37org.hibernate.annotations.common.reflection.java.JavaReflectionManager<clinit>INFO:HCANN000001:HibernateCommonsAnnotations{4.0.5.Final}2015-5...

    57
    热度
  • hibernate+struts单独用这两个框架没有关问题,但和在一起就这样,用户名密码都没有关问题,还望各位帮帮忙

    hibernate+struts单独用这两个框架没问题,但和在一起就这样,用户名密码都没问题,还望各位帮帮忙org.hibernate.exception.GenericJDBCException.html'>org.hibernate.exception.GenericJDBCException:Cannotopenconnection atorg.hibernate.exception.SQL...

    1178
    热度
  • Spring+Hibernate延迟加载的有关问题,貌似无法延迟加载啊老是说没有session

    Spring+Hibernate延迟加载的问题,貌似无法延迟加载啊,老是说没有session我用的Spring的org.springframework.orm.hibernate3.support.HibernateDaoSupport;里面的getHibernateTemplate()来进行Hibernate操作的但是eclipse自动生成的用的里面的find()方法,不知道是不是这个方法用的g...

    52
    热度
  • hibernate4连接数据库时,提醒No suitable driver found for jdbc:mysql://localhost:3306/te

    用hibernate4连接数据库时,提示Nosuitabledriverfoundforjdbc:mysql://localhost:3306/te刚接触hibernate,这个问题纠结了一天了,网上各种方法都试过了,依旧提示Nosuitabledriverfoundforjdbc:mysql://localhost:3306/test用的是hibernate4,以下几个应该注意的地方都检查过了,...

    52
    热度
  • 错误:/hibernate.cfg.xml not found

    异常:/hibernate.cfg.xmlnotfound是在ssh整合时发生的,ssh是手动搭建的,后来因为在hibernate反向工程的时候找不到项目名,所以又直接右键工程-->MyEclipse-->AddHibernate。我明明是将applicationContext.xml和hibernate.cfg.xml合并了为什么它还要去找hibernate写了一个简单的登录程序在运...

    424
    热度
  • hibernate4.3连接SQLServer2012,配置正常,但无法打开数据库,同时爆出连接错误

    hibernate4.3连接SQLServer2012,配置正常,但无法打开数据库,同时爆出连接异常使用hibernate4.3连接SQLServer2012,所有的配置都正常,但是出现无法打开数据库,同时爆出连接错误。hibernate.cfg.xml配置:<?xmlversion='1.0'encoding='utf-8'?><!DOCTYPEhibernate-config...

    7461
    热度
  • android 导入org.htmlparser的有关问题

    android导入org.htmlparser的问题org.htmlparser想必大家都用过,效率很搞的现成的东西今天试了试,org.htmlparser.beans.StringBean,提取html中的文字buildpath导入jar包在android项目里用不了啊,在Java项目中使用正常大家一起研究下,怎样能在android项目中使用org.htmlparser总结出一套提取html信息...

    12
    热度
  • spring调整hibernate proxool的时候出错了

    spring整合hibernateproxool的时候出错了!2015-06-1415:18:35,769ERROR[org.logicalcobwebs.proxool.proxool]-Prototypehtml'>com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException:Accessdeniedforuser''@'localhost...

    47
    热度
  • 新手,hibernate配置有关问题

    新手,hibernate配置问题本帖最后由luoning1217于2012-11-1314:50:29编辑想用hibernate连sqlserver2005express用的最新版hibernate4.1.8主配置文件如下:<?xmlversion="1.0"encoding="UTF-8"?><!DOCTYPEhibernate-configurationPUBLIC "-//...

    70
    热度
  • 【web开发】spring+hibernate4支持汉语言排序

    【web开发】spring+hibernate4支持中文排序mysql在utf8编码格式下的中文排序会出现问题,因为现在用的是hql查询,不支持原生sql函数convert。有效的一种解决方法如下: (1)新建一个类,派生自MySQL5Dialect publicclassMyISAMDialectextendsMySQL5Dialect{ publicMyISAMDialect...

    99
    热度
  • org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc解决方法

    org.apache.catalina.loader.WebappClassLoaderclearReferencesJdbcibernate:selectthis_.idasid72_0_,this_.notice_smsasnotice2_72_0_,this_.notice_mailasnotice3_72_0_,this_.study_smsasstudy4_72_0_,this_.stu...

    2775
    热度
  • [求助]org.apache.jasper.JasperException

    [求助]org.apache.jasper.JasperException 我在eclipse里面导入了JSTL1.1,为什么启动Tomcat以后,打开网页报下面的错误?这是什么异常,如何解决,请高手指教~org.apache.jasper.JasperException:Theabsoluteuri:http://java.sun.com/jstl/core_rtca...

    927
    热度
  • ssh集成关于hibernate有关问题

    ssh集成关于hibernate问题Hibernate:updateQMAX_GSM_EX_PLAN_GAGESsetEXAMINE_PLAN_ID=nullwhereEXAMINE_PLAN_ID=?[log4j][ERROR]org.hibernate.util.JDBCExceptionReporter.logExceptions(JDBCExceptionReporter.java:72)...

    24
    热度
  • org.apache.jasper.JasperException报错,该如何解决

    org.apache.jasper.JasperException'>org.apache.jasper.JasperException报错org.apache.jasper.JasperException:FailedtoloadorinstantiateTagExtraInfoclass:org.apache.struts.taglib.nested.NestedWriteNestingTei...

    24
    热度
  • Hibernate奇怪有关问题

    Hibernate奇怪问题我在Java工程使用hibernate,一点问题没有。但我在web工程中使用hibernate,就报下面这个错误。org.hibernate.HibernateException'>org.hibernate.HibernateException:ErrorapplyingBeanValidationrelationalconstraints atorg.hibernat...

    42
    热度
  • hibernate 中多对多关系照射:session中不能save()两个对象

    hibernate中多对多关系映射:session中不能save()两个对象求各位帮忙测试类如下:publicclassMany2Many2{ publicstaticvoidmain(Stringargs[]){ d(); } staticvoidd(){ Sessions=null; Transactionts=null; try{ Teacherte=newTeacher(...

    12
    热度
  • Spring和Hibernate整合时出现的有关问题,求帮忙

    Spring和Hibernate整合时出现的问题,求帮忙最近在自学马士兵的视频教程。在整合Spring和Hibernate的时候一直出现下面的错误不知道怎么解决,希望高手出来解答一下。Spring和Hibernate用的都是Myeclipse自带的类库,现在在网上下的Spring和马士兵视频里讲的差距很大了,也不知道是不是因为Jar包冲突的问题,在线等。html'>org.springframew...

    2551
    热度
  • hibernate类型映射的有关问题

    hibernate类型映射的问题遇到个hibernate的问题,请教下:mysql+hibernate3我用session.createSQLQuery(sql).setResultTransformer(Transformers.aliasToBean(MyBean.class));的方式装载数据,表中的content字段是text类型的,我的MyBean.content字段定义为String,...

    89
    热度
  • Struts+spring+hibernate

    Struts+spring+hibernate 请问一下,我现在是只懂得JAVA基础,不知道能不能直接学习Struts+spring+hibernate如果不能,应该先学什么? 搜索更多相关的解决方案: hibernate"target="_blank">color="red">hibernatecolor="red">Strutscolor=...

    324
    热度