-
org.springframework.jdbc.UncategorizedSQLException: (HibernateTemplate):
Hibnerate报数据大小超出此类型的最大值错误我的配置是spring1.2+hibernate3+strut1.2,数据库Oracle9数据源在tomcat中,配置为:<Contextpath="/***"docBase="***"debug="0"reloadable="true"><Resou...
671
热度 -
by: org.apache.commons.logging.LogConfigurationException
hibernate抛出异常问题在运行测试用的HiberTest类时抛出如下异常,我找了很长时间还是没能解决,外国论坛也有这种,但是他们的方法有的我试过,还是不行。有的看不懂,请高手们帮帮忙,能解决的话,我有分再加分。Exceptioninthread"main"java.lang.ExceptionInInitializerError atcom.ctcmc.hibernate...
573
热度 -
hibernate新手,不知道什么原因一直出现这个异常
hibernate新手,不知道什么原因一直出现这个错误这是错误提示:Exceptioninthread"main"java.lang.UnsupportedOperationException:TheusermustsupplyaJDBCconnection atorg.hibernate.connection.UserSuppliedConnectionProvider.ge...
104
热度 -
<html xmlns="http://www.w3.org/1999/xhtml">这句话是什么意思,有什么功用
<htmlxmlns="http://www.w3.org/1999/xhtml">这句话是什么意思,有什么作用?<htmlxmlns="http://www.w3.org/1999/xhtml">这句话是什么意思,有什么作用?color='#e78608'>------解决方案--------------------xmlns其实是...
979
热度 -
hibernate使用jboss5上的xa数据源出现类型转换错误
hibernate使用jboss5下的xa数据源出现类型转换异常小弟最近在看hibernate书籍的时候发现书本提及了jta分布式的事务处理,于是想尝试一下。我下了jboss5.1,在我机子上D:\java_data\jboss\jboss-5.1.0.GA\server\default\deploy下有一文件mysql-xa-ds.xml,内容如下<?xmlversion="1.0"enc...
6005
热度 -
关于SSH整合的解析映射文件的异常Caused by: org.dom4j.DocumentException
关于SSH整合的解析映射文件的错误Causedby:org.dom4j.DocumentExceptionCausedby:org.hibernate.InvalidMappingException'>org.hibernate.InvalidMappingException:UnabletoreadXML atorg.hibernate.util.xml.MappingReader.readMa...
2202
热度 -
Communications link failure due to underlying exception:
tomcat问题!!!!急求答案整合iis后过一段时间网页登陆不上去,tomcat进程还在,重新启动tomcat网页登陆正常,是不是hibernate连接池的问题啊?? <propertyname="hibernate.connection.provider_class"> org.hibernate.connection.C3P0ConnectionProvi...
454
热度 -
关于HIBERNATE
关于HIBERNATE 我有四张表A,B,C,DD是关系表A,B,C他们之间的关系都是靠D来维护的我用HIBERNATE可以写出ABC的实体BEAN和配置文件但不知道如何来写关系表D,有没有必要去写这张表的实体BEAN和配置文件呢!请教! 搜索更多相关主题的帖子: color="red">HIBERNATE ...
497
热度 -
hibernate报错,该如何解决
hibernate报错错误如下:org.hibernate.exception.ConstraintViolationException.html'>org.hibernate.exception.ConstraintViolationException:couldnotinsert:[orm.Userinfo] org.hibernate.exception.SQLStateConverter....
111
热度 -
run tomcat 时报org.objectweb.asm.ClassVisitor.visit错误
runtomcat时报org.objectweb.asm.ClassVisitor.visit异常 2007-8-2420:33:01org.apache.catalina.core.AprLifecycleListenerlifecycleEvent 信息:TheApachePortableRuntimewhichallowsoptimalperformanceinproductionenvir...
673
热度 -
hibernate 查询疏失
hibernate查询出错-hibernate查询语句:userid字段参照的是UserInfo表里面的主键,在我发hql语句就报错了,求解~@Override publicList<Address>getallAddress(intuserid){ System.out.println("---getalladdress---"); Queryquery=sessionFacto...
81
热度 -
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
热度 -
们,快点过来瞅瞅,搞的头都大了.关于ORA-01858的有关问题
大虾们,快点过来瞅瞅,搞的头都大了.关于ORA-01858的问题.在线等这是代码:publicPagepageCount(Pagepage,StringuserName,StringstartDate,StringendDate,Stringdeptid){Stringsql="selectsum(cnt)from(selectcount(*)ascntfromt_humn_leavew...
699
热度 -
下传文件并split后保存到表的有关问题
上传文件并split后保存到表的问题本身不复杂的一件事,上传后按行读取文件,内容用逗号分隔,split后就存入表,也不需要更多的数据处理。但是保存时报错:[WARN]12120611:22:45,093JDBCExceptionReporter:77-SQLError:0,SQLState:22001[ERROR]12120611:22:45,093JDBCExceptionReporter:78...
7926
热度 -
hibernate错误(有关问题很急小女子在此谢过大家了。)
hibernate异常(问题很急,小女子在此谢过大家了。)问题很急,小女子在此谢过大家了。问题描述:数据成功插入数据库,但程序抛了如下异常。数据库:sqlserver2000其中主键是:uniqueidentifiler下面要报错信息:Hibernate:insertintobom_parent(BomId,ParentId,ParentScrap,SharingPartId)values(?,?...
8163
热度 -
急求达人帮助!Hibernate插入的有关问题
急求达人帮助!Hibernate插入的问题org.hibernate.exception.GenericJDBCException'>org.hibernate.exception.GenericJDBCException:couldnotinsert:[struction.dao.Dispr00f] atorg.hibernate.exception.SQLStateConverter.hand...
63
热度 -
关于hibernate报错,该怎么解决
关于hibernate报错hibernate配置文件<?xmlversion='1.0'encoding='UTF-8'?><!DOCTYPEhibernate-configurationPUBLIC"-//Hibernate/HibernateConfigurationDTD3.0//EN""http://hibernate.sourceforge...
48
热度 -
Hibernate――(一)Hibernate入门
Hibernate――(1)Hibernate入门一、Hibernate简介 1、Hibernate是一款ORM框架,ObjectRelationMapping对象关系映射。 2、可以将DB映射成Object,这样程序只要对Object对象进行操作就能完成对数据库的操作。 3、主流的ORM框架有Hibernate,iBatis,JPA...... 二、Hibernate框架体系结构 1、主配置...
572
热度 -
Hibernate SQL土话
HibernateSQL方言转载:http://www.jacken.com.cn/hibernatesqlfangyan.yy/HibernateSQL方言,方便日后查阅:RDBMS方言DB2org.hibernate.dialect.DB2DialectDB2AS/400org.hibernate.dialect.DB2400DialectDB2OS390org.hibernate.diale...
70
热度 -
org.springframework.beans.factory.BeanDefinitionStoreException:
整合hibernate3.3和spring3.0出现问题,望高手解答Exceptioninthread"main"org.springframework.beans.factory.BeanDefinitionStoreException:UnexpectedexceptionparsingXMLdocumentfromclasspathresource[application...
616
热度