-
前台用struts , 数据库用hibernate 出现了这样的异常,请帮忙。
前台用struts,数据库用hibernate出现了这样的错误,请帮忙。。typeExceptionreportmessagedescriptionTheserverencounteredaninternalerror()thatpreventeditfromfulfillingthisrequest.exceptionjavax.servlet.ServletException:class&qu...
57
热度 -
main" org.springframework.mail.MailAuthenticationException
Spring中利用SimpleMailMessage发邮件的一个问题.非XML配置.我一个项目需要用到邮件功能.刚好这个项目是用spring+hibernate开发的.我想spring对javamail也进行了封装.就想顺便用一下.以前没有用过spring封装的javamail来进行发邮件.遇到了这样一个问题.而在网上查找相关内容,多是通过BAEN去配置.我想直接通过JAVA代码写好.不通过BAE...
672
热度 -
HIbernate 4.1.8版本的源代码哪里能上载到
HIbernate4.1.8版本的源代码哪里能下载到HIbernate4.1.8版本的源代码哪里能下载到我从www.hibernate.org下载的包hibernate-release-4.1.8.Final.rar中没有源代码源代码在哪呢?!!https://repository.jboss.org/nexus/content/groups/public/org/hibernate/hibern...
1105
热度 -
hibernate错误(有关问题很急小女子在此谢过大家了。)
hibernate异常(问题很急,小女子在此谢过大家了。)问题很急,小女子在此谢过大家了。问题描述:数据成功插入数据库,但程序抛了如下异常。数据库:sqlserver2000其中主键是:uniqueidentifiler下面要报错信息:Hibernate:insertintobom_parent(BomId,ParentId,ParentScrap,SharingPartId)values(?,?...
8163
热度 -
weblogic的异常信息,大哥来看上吧。小弟我找了好久了
weblogic的错误信息,大哥来看下吧。我找了好久了异常:Cannotopenconnectionorg.springframework.dao.DataAccessResourceFailureException:Cannotopenconnection;nestedexceptionisorg.hibernate.exception.JDBCConnectionException:Canno...
4988
热度 -
hibernate 有关问题
hibernate问题小弟想找一本javapersistencewithhibernatehibernate实战的中文版电子书,我有英文版的,但是看不懂啊!!!那位大神有,赐我一本吧。我的邮箱:879240432@qq.com有链接地址也成:感谢!!!!color='#e78608'>------解决方案--------------------http://ajava.org/book/hiber...
178
热度 -
Spring调整Hibernate时出错,求高手帮忙
Spring整合Hibernate时出错,求高手帮忙!出现的错误:Errorcreatingbeanwithname'sessionFactory'definedinclasspathresource[beans.xml]:Instantiationofbeanfailed;nestedexceptionisorg.springframework.beans.BeanInstantiationEx...
62
热度 -
org.jboss.resource.JBossResourceException: SQLException; -
救命啊,大家帮我看看这个问题,已经很多天了,不知出在哪(JBossManagedConnectionPool]Exceptiondestroying)(Connectiontimedout)WARN[org.jboss.resource.connectionmanager.JBossManagedConnectionPool]ExceptiondestroyingManagedConnection...
292
热度 -
哪位高手帮小弟我解决Hibernate有关问题
谁帮我解决Hibernate问题?这是配置XMLcode<?xmlversion="1.0"encoding="UTF-8"?><!DOCTYPEhibernate-mappingPUBLIC"-//Hibernate/HibernateMappingDTD3.0//EN""http://www.hiberna...
69
热度 -
JPA使用中级联删除,出现了错误
JPA使用中级联删除,出现了异常严重:Servlet.service()forservletdefaultthrewexceptionorg.hibernate.ObjectDeletedException:deletedentitypassedtopersist:[net.aykj.pojo.Expert#<null>] atorg.hibernate.event.def.Defau...
1846
热度 -
Hibernate的入门学问
Hibernate的入门知识 Hibernate的入门知识一,hibernate概述Hibernate是由JBoss公司著名构架师GavinKing设计,开发的一个开源ORM框架,可以从不同的角度解析Hibernate。1. 它是连接java应用程序和关系数据库的中间件2. 它对JDBCAPI进行了封装,负责Java对象的持久化3. 在分层的软件架构中它位于持久化层,封装了所有数据访问细节,使业务...
306
热度 -
错误求分析,jsp结合hibernate的
异常求分析,jsp结合hibernate的严重:Servlet.service()forservletjspthrewexceptionjava.lang.ClassNotFoundException:org.hibernate.HibernateException'>org.hibernate.HibernateException atorg.apache.catalina.loader.Web...
1139
热度 -
hibernate 报错,帮忙看看。才开始学hibernate解决办法
hibernate报错,帮忙看看。才开始学hibernate五月28,20123:15:27下午org.hibernate.annotations.common.Version<clinit>INFO:HCANN000001:HibernateCommonsAnnotations{4.0.1.Final}五月28,20123:15:27下午org.hibernate.Versionlo...
85
热度 -
Hibernate简况续
Hibernate概况续<!DOCTYPEhibernate-configurationPUBLIC "-//Hibernate/HibernateConfigurationDTD3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> <hib...
275
热度 -
SEVERE: Exception starting filter struts2,该怎么处理
SEVERE:Exceptionstartingfilterstruts2项目在本地运行没错,发布到网上空间,启动tomcat报错!JavacodeJun17,201012:29:28AMorg.apache.catalina.core.ApplicationContextlogINFO:SessionListener:contextDestroyed()Jun17,201012:29:28AMo...
10553
热度 -
高分答谢,Hibernate动态创建表语句,路过有分(散分贴)。解决方法
高分答谢,Hibernate动态创建表语句,路过有分(散分贴)。。。我想使用Hql动态创建一个表(最好也能生成相应的类文件和xml文件里的属性),我现在使用SQLQuery(原生SQL语句)可以动态的生成表,但是会报一个异常,可能与我用SQLQuery.list()方法的关系,但是表确实可以生成,语句如下:SQLQueryquery=session.createSQLQuery("cre...
3088
热度 -
hibernate聚合类型映射
hibernate集合类型映射Set无序元素不可重复List有序元素可重复Bag无序元素可重复Map键值对Student:packagemodel;importjava.util.Set;publicclassStudent{privatelongid;privateStringname;privateSet<String>images;publiclonggetId(){return...
47
热度 -
Hibernate要义
Hibernate要点 原文:http://blog.csdn.net/sunsnow8/archive/2005/03/05/312359.aspx1.两种配置文件:A.hibernate.cfg.xml和B.hibernate.propertiesA中可含映射文件的配置,而B中hardcodes加映射文件。A。Configurationconfig=newConfiguration().con...
461
热度 -
spring+hibernate jpa(2)
spring+hibernatejpa(二) persistenc.xml <?xmlversion="1.0"encoding="UTF-8"?> <persistencexmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi...
407
热度 -
WebWork.Spring.Hibernate整合开发网络书城-学习遇到的异常3
WebWork.Spring.Hibernate整合开发网络书城----学习遇到的错误3 严重:Exceptionsendingcontextinitializedeventtolistenerinstanceofclassorg.springframework.web.context.ContextLoaderListenerorg.springframework.beans.factory.B...
554
热度