可是在我做的一个demo中,却始终没有看到这种效果,不知道是不是我的配置有问题,现在我把我的配置文件列出来。
使用框架:Struts 2.0+Spring+Hibernate+ExtJs,其中Hibernate使用的连接池是Proxool。
以下是Spring的配置文件信息:
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
org.hibernate.dialect.SQLServerDialect
如果我的数据库表结构完整,程序是可以正常地跑动。如果我只创建了一个空的数据库,那么,程序就会抛出找不到SQLException,提示对象名无效。
[该贴被admin于2009-03-11 08:56修改过]