-
声明式事务管理时总报错误!用的spring-3.0与hibernate-3.5整合
声明式事务管理时总报异常!用的spring-3.0与hibernate-3.5整合请各位大虾帮小弟看下,当我把UserDAOImpl.java中的Sessions=sessionFactory.getCurrentSession();改为Sessions=sessionFactory.openSession();不会报错,但是事务就根本没用上啊!请问是getCurrentSession()在以前的...
39
热度 -
【有关问题】powerbuilder 9怎么连接jdbc
【问题】powerbuilder9如何连接jdbcpowerbuilder9遇一个问题tool->systemoptions->java我配置好了setJDKlocation但是JVMstatus是unloaded,这是怎么回事?还需要别的配置吗?求指教color='#e78608'>------解决方案--------------------http://wenku.baidu.co...
69
热度 -
html+jquery透过传递json访问后台控制层
html+jquery通过传递json访问后台控制层 1、由于spring3已经对ajax支持的很好了,前端就可以使用html+jquery,后台使用spring,两者之间用json交换数据就可以了。放弃原来使用的jsp+struts了。 <!DOCTYPEhtmlPUBLIC"-//W3C//DTDHTML4.01Transitional//EN""http://www.w3.org/TR...
78
热度 -
struts2 2.0版本的struts.xml中转action的类型有关问题
struts22.0版本的struts.xml中转action的类型问题struts22.0版本的struts.xml中转action的类型有chain和redirect,为什么我写chain时前面有红叉,写redirect时编译倒是不报错,但是运行报500的错。<resultname="gxygl"type="chain">hypertensi...
6956
热度 -
SSH集成以后找不到实体类
SSH集成之后找不到实体类报错:一月08,201411:06:56上午org.springframework.web.context.ContextLoaderinitWebApplicationContext严重:Contextinitializationfailedhtml'>org.springframework.beans.factory.BeanCreationException:Err...
3147
热度 -
Spring整合Hibernate 使用c3p0数据源 帮忙看一上
Spring整合Hibernate使用c3p0数据源帮忙看一下Exceptioninthread"main"org.springframework.jdbc.UncategorizedSQLException:Hibernateoperation:Cannotopenconnection;uncategorizedSQLExceptionforSQL[???];SQLstate...
302
热度 -
jdbc rollback,该怎么解决
jdbcrollback Connectionconn=null; Statementsmt=null; ResultSetresult=null; //注册驱动 try{ Class.forName("com.mysql.jdbc.Driver"); Stringurl="jdbc:mysql://localhost:3306/hehe"; StringdbUsername...
617
热度 -
JDBC出错解决方案
JDBC出错importjava.sql.*;importjava.awt.*;publicclassJDBCtest{publicstaticvoidmain(Stringargs[]){Stringurl="jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=issa";Connectioncon=null;Stri...
17
热度 -
使用JDBC进行日期过滤
问题描述 datefiltering的正确格式是什么JDBC到SQL 我一直在尝试将以下内容与MS-AccessDB一起使用 SELECTdoctorbusiness.dateofreport, doctorbusiness.patientname, doctorbusiness.labcomm, doctorbusiness.xcomm, doctorbusiness.spccomm, do...
10
热度 -
SSI框架调整实战成果
SSI框架整合实战成果 闲来无事,收集了各种SSI整合资料之后,比葫芦画瓢终于画出来一个。备份于此,以免遗忘。 一,准备工作 数据库建立 /* SQLyogEnterprise-MySQLGUI Host-5.5.21 ********************************************************************* Serverversion:5.5.21...
280
热度 -
mybatis+spring 整合有关问题
mybatis+spring整合问题大家好问题贴上JavacodepublicclassTestSpringMyBatisextendsTestCase{privateString[]configFiles={"applicationContext-mybatis.xml","applicationContext-services.xml"};private...
201
热度 -
严重: ORA-00001: 违反唯一约束条件,该怎么解决
严重:ORA-00001:违反唯一约束条件插入数据的时候报的这个问题,大家给看看。XMLcodeHibernate:selecthibernate_sequence.nextvalfromdualHibernate:insertintoMAP_T_RELAY_STATION(DATA_GUID,RELAY_STATION_NAME,X,Y,RELAY_STATION_ID)values(?,?,?...
473
热度 -
SSH整合的时候出现有关问题
SSH整合的时候出现问题部署到tomcat的时候java.lang.ClassCastException:org.springframework.orm.hibernate3.LocalDataSourceConnectionProvidercannotbecasttoorg.hibernate.service.jdbc.connections.spi.ConnectionProviderThew...
78
热度 -
org.apache.jasper.JasperException解决思路
org.apache.jasper.JasperException'>org.apache.jasper.JasperException错误如下:2015-5-2713:23:59org.apache.catalina.core.StandardWrapperValveinvoke严重:Servlet.service()forservlet[jsp]incontextwithpath[/drp2....
18
热度 -
哪位帮小弟我看看tomcat启动时报的这些异常如何解决,感激不尽.
哪位帮我看看tomcat启动时报的这些错误怎么解决,感激不尽...用的shh的框架...只是在原有框架的基础上进行的修改...各位指点下,感激不尽....10:33:21,071ERRORorg.springframework.web.context.ContextLoader:215-Contextinitializationfailedhtml'>org.springframework.bea...
221
热度 -
Caused by: org.hibernate.PropertyNotFoundException: Could not find
SSH项目运行报:Couldnotfindagetterforpidinclass...在线等!!!!这个是运行部分错误信息:[ERROR]2011-09-0515:58:25,991org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3799)Exceptionsendingcontextinit...
6787
热度 -
HTML5的货色
HTML5的东西 http://www.mijia.org/blog/?cat=166
75
热度 -
jsoup,html解析的凶器
jsoup,html解析的利器 http://jsoup.org/download
313
热度 -
jdbc2.0,该怎么解决
jdbc2.0我在http://www.microsoft.com/downloads/results.aspx?pocId=3&freetext=jdbc&DisplayLang=en上下载的sqlserverdriverforjdbcsp3,不知是不是2.0,但装上后还是[Microsoft][SQLServer2000DriverforJDBC]Unsupportedmeth...
98
热度 -
java把html标签名符转普通字符(反转换成html标签)
java把html标签字符转普通字符(反转换成html标签) ? oyhk学习笔记 下面是java把html标签字符转换,我用了spring包中的org.springframework.web.util.HtmlUtils 了解了源代码并且进步了使用,发现写得真不错...同时也可以,看看别人的工具是怎么写的,增长知识了 TestHtmlUtils packagetest.org.springfra...
460
热度