Eclipse中hibernate连接informix数据库问题
<?xml version= "1.0 " encoding= "GBK "?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN " "http://www.springframework.org/dtd/spring-beans.dtd ">
<beans>
<bean id= "dataSource "
class= "org.apache.commons.dbcp.BasicDataSource "
destroy-method= "open ">
<property name= "driverClassName ">
<value> com.informix.jdbc.IfxDriver </value>
</property>
<property name= "url ">
<value>
jdbc:informix-sqli://sunny:1526/loan_hld:informixServer=ol_sunny;NEWLOACLE=en_us,zh_cn,zh_tw;NEWCODESET=GB2312-80,8859-1,819,Big5
</value>
</property>
<property name= "username ">
<value> informix </value>
</property>
<property name= "password ">
<value> informix </value>
</property>
</bean>
<!-- Hibernate SessionFactory -->
<bean id= "sessionFactory "
class= "org.springframework.orm.hibernate3.LocalSessionFactoryBean ">
<property name= "dataSource ">
<ref bean= "dataSource " />
</property>
<property name= "hibernateProperties ">
<props>
<prop key= "hibernate.dialect ">
org.hibernate.dialect.InformixDialect
</prop>
<prop key= "hibernate.show_sql "> true </prop>
</props>
</property>
<!-- OR mapping files. -->
<property name= "mappingLocations ">
<list>
<value> classpath*:com/git/credit/pojohbm/*.hbm.xml </value>
</list>
</property>
</bean>
<!--通用数据库访问模板设置-->
<bean id= "gitJdbcTemplate "
class= "com.git.credit.common.GitJdbcTemplateImpl ">
<property name= "dataSource ">
<ref bean= "dataSource " />
</property>
</bean>
<!--事务管理-->
<bean id= "transactionManager "
class= "org.springframework.orm.hibernate3.HibernateTransactionManager ">
<property name= "sessionFactory ">
<ref bean= "sessionFactory " />
</property>
</bean>
<!--CollectionBorrower组件配置-->
<bean id= "collectionBorrower "
class= "com.git.credit.collection.hldsql2000.CollectionBorrowerImpl ">
<property name= "sessionFactory ">
<ref local= "sessionFactory " />
</property>
<property name= "gitJdbcTemplate ">
<ref local= "gitJdbcTemplate " />
</property>
</bean>
<bean id= "collectionBorrowerProxy "
class= "org.springframework.transaction.interceptor.TransactionProxyFactoryBean ">
<property name= "transactionManager ">
<ref bean= "