decription:
Integrating Spring with Hibernate :-<
the underlying database table "modules" was intepreted to "__modules", not the expected "modules"
Why so ?
email to :
koqiui2008@msn.com
THANK YOU !
jdk version:
jdk1.5.0_10
spring & hibernate version(s):
spring 1.2 , hibernate 3.x
database and driver:
RDBMS: MySQL, version: 5.0.18-nt
JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.0.4
spring config:
// applicationContext.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
<description>root context description</description>
<!-- 定义Hibernate的SessionFactory的属性 -->
<bean id="sessionFactory"
class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
<property name="configLocation">
<value>classpath:/hibernate.cfg.xml</value>
</property>
<property name="namingStrategy">
<ref bean="hibernateNamingStrategy" />
</property>
</bean>
<!-- 配置Hibernate的事务管理器 -->
<bean id="transactionManager"
class="org.springframework.orm.hibernate3.HibernateTransactionManager"
abstract="false" singleton="true" lazy-init="default"
autowire="default" dependency-check="default">
<property name="sessionFactory">
<ref bean="sessionFactory" />
</property>
</bean>
<!-- 定义事务拦截器 -->
<bean id="transactionInterceptor"
class="org.springframework.transaction.interceptor.TransactionInterceptor">
<!-- 事务管理器 -->
<property name="transactionManager" ref="transactionManager" />
<!-- 事务传播属性 -->
<property name="transactionAttributes">
<props>
<prop key="save">PROPAGATION_REQUIRED</prop>
<prop key="delete">PROPAGATION_REQUIRED</prop>
<prop key="find*">PROPAGATION_REQUIRED,readOnly</prop>
<prop key="merge">PROPAGATION_REQUIRED</prop>
<prop key="attach*">PROPAGATION_REQUIRED</prop>
</props>
</property>
</bean>
<!-- Spring提供BeanPostProcessor的实现类BeanNameAutoProxyCreator-->
<bean id="beanNameAutoProxyCreator"
class="org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator">
<!-- 指定对满足哪些bean name的bean自动生成业务代理 -->
<property name="beanNames">
<list>
<value>moduleDAO"</value>
<!-- more bean names here... -->
</list>
</property>
<!-- 下面定义BeanNameAutoProxyCreator所需要的事务拦截器 -->
<property name="interceptorNames">
<list>
<value>transactionInterceptor</value>
<!-- more Interceptors here... -->
</list>
</property>
</bean>
<!-- DAO list -->
<bean id="hibernateNamingStrategy"
class="org.hibernate.cfg.ImprovedNamingStrategy" abstract="false"
singleton="true" lazy-init="default" autowire="default"
dependency-check="default">
</bean>
<bean id="moduleDAO" class="cn.koqiui.persist.access.ModuleDAO">
<property name="sessionFactory">
<ref bean="sessionFactory" />
</property>
</bean>
</beans>
hibernate config:
//hibernate.cfg.xml
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<!-- Generated by MyEclipse Hibernate Tools. -->
<hibernate-configuration>
<session-factory>
<property name="dialect">
org.hibernate.dialect.MySQLDialect
</property>
<property name="connection.url">
jdbc:mysql://localhost:3306/adassist
</property>
<property name="connection.username">xuser</property>
<property name="connection.password">555</property>
<property name="connection.driver_class">
com.mysql.jdbc.Driver
</property>
<property name="myeclipse.connection.profile">
local_mysql_adassist
</property>
<property name="show_sql">true</property>
<property name="c3p0.min_size">5</property>
<property name="c3p0.max_size">25</property>
<property name="c3p0.timeout">1800</property>
<property name="c3p0.max_statements">50</property>
<mapping resource="cn/koqiui/persist/access/Module.hbm.xml" />
</session-factory>
</hibernate-configuration>
modules mapping config
//Module.hbm.xml
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!--
Mapping file autogenerated by MyEclipse - Hibernate Tools
-->
<hibernate-mapping>
<class name="cn.koqiui.persist.access.Module" table="modules" catalog="">
<id name="modId" type="java.lang.String">
<column name="mod_id" length="50" />
<generator class="assigned"></generator>
</id>
<property name="modName" type="java.lang.String">
<column name="mod_name" length="50" not-null="true" />
</property>
<property name="disabled" type="java.lang.Boolean">
<column name="disabled" not-null="true" />
</property>
<property name="remark" type="java.lang.String">
<column name="remark" length="100" />
</property>
</class>
</hibernate-mapping>
test file :
//AppContext.java
package cn.koqiui.test;
import java.util.ArrayList;
import debug.*;
import org.apache.commons.logging.*;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import java.util.*;
public class AppContext {
private static final Log log = LogFactory.getLog(AppContext.class);
protected static ArrayList contextPathList = new ArrayList();
protected static ClassPathXmlApplicationContext theAppContext = null;
static {
contextPathList.add("/applicationContext.xml");
}
public static ClassPathXmlApplicationContext getContext() {
log.debug("----------------------------------");
log.debug("fetching... @ "+new Date().toString());
log.debug("----------------------------------\n");
if (theAppContext == null) {
String[] pathLocations = (String[]) contextPathList
.toArray(new String[0]);
theAppContext = new ClassPathXmlApplicationContext(pathLocations);
}
return theAppContext;
}
public static void main(String[] args) {
ClassPathXmlApplicationContext appContext = AppContext.getContext();
String[] beanNames = appContext.getBeanDefinitionNames();
for(int i=0; i<beanNames.length;i++){
Output.ln(beanNames[i]);
}
}
}
console details
AppContext - ----------------------------------
AppContext - fetching... @ Thu Jan 11 09:34:09 CST 2007
AppContext - ----------------------------------
CollectionFactory - JDK 1.4+ collections available
CollectionFactory - Commons Collections 3.x available
CollectionFactory - Creating [java.util.LinkedHashMap]
XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [applicationContext.xml]
XmlBeanDefinitionReader - Using JAXP implementation [org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@1f7d134]
ResourceEntityResolver - Trying to resolve XML entity with public ID [-//SPRING//DTD BEAN//EN] and system ID [http://www.springframework.org/dtd/spring-beans.dtd]
ResourceEntityResolver - Trying to locate [spring-beans.dtd] in Spring jar
ResourceEntityResolver - Found beans DTD [http://www.springframework.org/dtd/spring-beans.dtd] in classpath
DefaultXmlBeanDefinitionParser - Loading bean definitions
DefaultXmlBeanDefinitionParser - Default lazy init 'false'
DefaultXmlBeanDefinitionParser - Default autowire 'no'
DefaultXmlBeanDefinitionParser - Default dependency check 'none'
DefaultXmlBeanDefinitionParser - Found 6 <bean> elements in class path resource [applicationContext.xml]
XmlBeanDefinitionReader - Loaded 6 bean definitions from location pattern [/applicationContext.xml]
ClassPathXmlApplicationContext - Bean factory for application context [org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=7704521]: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [sessionFactory,transactionManager,transactionInterceptor,beanNameAutoProxyCreator,hibernateNamingStrategy,moduleDAO]; root of BeanFactory hierarchy
ClassPathXmlApplicationContext - 6 beans defined in application context [org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=7704521]
CollectionFactory - Creating [java.util.LinkedHashMap]
DefaultListableBeanFactory - Creating shared instance of singleton bean 'beanNameAutoProxyCreator'
DefaultListableBeanFactory - Creating instance of bean 'beanNameAutoProxyCreator' with merged definition [Root bean: class [org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [applicationContext.xml]]
DefaultListableBeanFactory - Invoking BeanPostProcessors before instantiation of bean 'beanNameAutoProxyCreator'
DefaultAopProxyFactory - CGLIB2 available: proxyTargetClass feature enabled
CachedIntrospectionResults - Getting BeanInfo for class [org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator]
CachedIntrospectionResults - Caching PropertyDescriptors for class [org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator]
CachedIntrospectionResults - Found property 'advisorAdapterRegistry' of type [org.springframework.aop.framework.adapter.AdvisorAdapterRegistry]
CachedIntrospectionResults - Found property 'aopProxyFactory' of type [org.springframework.aop.framework.AopProxyFactory]
CachedIntrospectionResults - Found property 'applyCommonInterceptorsFirst' of type [boolean]
CachedIntrospectionResults - Found property 'beanFactory' of type [org.springframework.beans.factory.BeanFactory]
CachedIntrospectionResults - Found property 'beanNames' of type [[Ljava.lang.String;]
CachedIntrospectionResults - Found property 'class' of type [java.lang.Class]
CachedIntrospectionResults - Found property 'customTargetSourceCreators' of type [[Lorg.springframework.aop.framework.autoproxy.TargetSourceCreator;]
CachedIntrospectionResults - Found property 'exposeProxy' of type [boolean]
CachedIntrospectionResults - Found property 'frozen' of type [boolean]
CachedIntrospectionResults - Found property 'interceptorNames' of type [[Ljava.lang.String;]
CachedIntrospectionResults - Found property 'opaque' of type [boolean]
CachedIntrospectionResults - Found property 'optimize' of type [boolean]
CachedIntrospectionResults - Found property 'order' of type [int]
CachedIntrospectionResults - Found property 'proxyTargetClass' of type [boolean]
CachedIntrospectionResults - Class [org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator] is cache-safe
CollectionFactory - Creating [java.util.LinkedHashMap]
DefaultListableBeanFactory - Eagerly caching bean with name 'beanNameAutoProxyCreator' to allow for resolving potential circular references
BeanWrapperImpl - About to invoke write method [public void org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator.setBeanNames(java.lang.String[])] on object of class [org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator]
BeanWrapperImpl - Invoked write method [public void org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator.setBeanNames(java.lang.String[])] with value of type [[Ljava.lang.String;]
BeanWrapperImpl - About to invoke write method [public void org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.setInterceptorNames(java.lang.String[])] on object of class [org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator]
BeanWrapperImpl - Invoked write method [public void org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.setInterceptorNames(java.lang.String[])] with value of type [[Ljava.lang.String;]
DefaultListableBeanFactory - Invoking setBeanFactory on BeanFactoryAware bean 'beanNameAutoProxyCreator'
DefaultListableBeanFactory - Invoking BeanPostProcessors before initialization of bean 'beanNameAutoProxyCreator'
DefaultListableBeanFactory - Invoking BeanPostProcessors after initialization of bean 'beanNameAutoProxyCreator'
ClassPathXmlApplicationContext - Bean 'beanNameAutoProxyCreator' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
ClassPathXmlApplicationContext - Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@ba6c83]
CollectionFactory - Creating [java.util.LinkedHashSet]
ClassPathXmlApplicationContext - Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@d0a5d9]
CollectionFactory - Creating [java.util.LinkedHashMap]
DefaultListableBeanFactory - Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [sessionFactory,transactionManager,transactionInterceptor,beanNameAutoProxyCreator,hibernateNamingStrategy,moduleDAO]; root of BeanFactory hierarchy]
DefaultListableBeanFactory - Creating shared instance of singleton bean 'sessionFactory'
DefaultListableBeanFactory - Creating instance of bean 'sessionFactory' with merged definition [Root bean: class [org.springframework.orm.hibernate3.LocalSessionFactoryBean]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [applicationContext.xml]]
DefaultListableBeanFactory - Invoking BeanPostProcessors before instantiation of bean 'sessionFactory'
BeanNameAutoProxyCreator - Checking for custom TargetSource for bean with name 'sessionFactory'
CachedIntrospectionResults - Getting BeanInfo for class [org.springframework.orm.hibernate3.LocalSessionFactoryBean]
CachedIntrospectionResults - Caching PropertyDescriptors for class [org.springframework.orm.hibernate3.LocalSessionFactoryBean]
CachedIntrospectionResults - Found property 'cacheableMappingLocations' of type [[Lorg.springframework.core.io.Resource;]
CachedIntrospectionResults - Found property 'class' of type [java.lang.Class]
CachedIntrospectionResults - Found property 'collectionCacheStrategies' of type [java.util.Properties]
CachedIntrospectionResults - Found property 'configLocation' of type [org.springframework.core.io.Resource]
CachedIntrospectionResults - Found property 'configLocations' of type [[Lorg.springframework.core.io.Resource;]
CachedIntrospectionResults - Found property 'configuration' of type [org.hibernate.cfg.Configuration]
CachedIntrospectionResults - Found property 'configurationClass' of type [java.lang.Class]
CachedIntrospectionResults - Found property 'dataSource' of type [javax.sql.DataSource]
CachedIntrospectionResults - Found property 'entityCacheStrategies' of type [java.util.Properties]
CachedIntrospectionResults - Found property 'entityInterceptor' of type [org.hibernate.Interceptor]
CachedIntrospectionResults - Found property 'eventListeners' of type [java.util.Map]
CachedIntrospectionResults - Found property 'exposeTransactionAwareSessionFactory' of type [boolean]
CachedIntrospectionResults - Found property 'filterDefinitions' of type [[Lorg.hibernate.engine.FilterDefinition;]
CachedIntrospectionResults - Found property 'hibernateProperties' of type [java.util.Properties]
CachedIntrospectionResults - Found property 'jtaTransactionManager' of type [javax.transaction.TransactionManager]
CachedIntrospectionResults - Found property 'lobHandler' of type [org.springframework.jdbc.support.lob.LobHandler]
CachedIntrospectionResults - Found property 'mappingDirectoryLocations' of type [[Lorg.springframework.core.io.Resource;]
CachedIntrospectionResults - Found property 'mappingJarLocations' of type [[Lorg.springframework.core.io.Resource;]
CachedIntrospectionResults - Found property 'mappingLocations' of type [[Lorg.springframework.core.io.Resource;]
CachedIntrospectionResults - Found property 'mappingResources' of type [[Ljava.lang.String;]
CachedIntrospectionResults - Found property 'namingStrategy' of type [org.hibernate.cfg.NamingStrategy]
CachedIntrospectionResults - Found property 'object' of type [java.lang.Object]
CachedIntrospectionResults - Found property 'objectType' of type [java.lang.Class]
CachedIntrospectionResults - Found property 'schemaUpdate' of type [boolean]
CachedIntrospectionResults - Found property 'singleton' of type [boolean]
CachedIntrospectionResults - Found property 'typeDefinitions' of type [[Lorg.springframework.orm.hibernate3.TypeDefinitionBean;]
CachedIntrospectionResults - Found property 'useTransactionAwareDataSource' of type [boolean]
CachedIntrospectionResults - Class [org.springframework.orm.hibernate3.LocalSessionFactoryBean] is cache-safe
CollectionFactory - Creating [java.util.LinkedHashMap]
DefaultListableBeanFactory - Eagerly caching bean with name 'sessionFactory' to allow for resolving potential circular references
BeanDefinitionValueResolver - Resolving reference from property 'bean property 'namingStrategy'' in bean 'sessionFactory' to bean 'hibernateNamingStrategy'
CollectionFactory - Creating [java.util.LinkedHashSet]
DefaultListableBeanFactory - Creating shared instance of singleton bean 'hibernateNamingStrategy'
DefaultListableBeanFactory - Creating instance of bean 'hibernateNamingStrategy' with merged definition [Root bean: class [org.hibernate.cfg.ImprovedNamingStrategy]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [applicationContext.xml]]
DefaultListableBeanFactory - Invoking BeanPostProcessors before instantiation of bean 'hibernateNamingStrategy'
BeanNameAutoProxyCreator - Checking for custom TargetSource for bean with name 'hibernateNamingStrategy'
CachedIntrospectionResults - Getting BeanInfo for class [org.hibernate.cfg.ImprovedNamingStrategy]
CachedIntrospectionResults - Caching PropertyDescriptors for class [org.hibernate.cfg.ImprovedNamingStrategy]
CachedIntrospectionResults - Found property 'class' of type [java.lang.Class]
CachedIntrospectionResults - Class [org.hibernate.cfg.ImprovedNamingStrategy] is cache-safe
CollectionFactory - Creating [java.util.LinkedHashMap]
DefaultListableBeanFactory - Eagerly caching bean with name 'hibernateNamingStrategy' to allow for resolving potential circular references
DefaultListableBeanFactory - Invoking BeanPostProcessors before initialization of bean 'hibernateNamingStrategy'
DefaultListableBeanFactory - Invoking BeanPostProcessors after initialization of bean 'hibernateNamingStrategy'
BeanWrapperImpl - Converting String to [interface org.springframework.core.io.Resource] using property editor [org.springframework.core.io.ResourceEditor@77158a]
BeanWrapperImpl - About to invoke write method [public void org.springframework.orm.hibernate3.LocalSessionFactoryBean.setConfigLocation(org.springframework.core.io.Resource)] on object of class [org.springframework.orm.hibernate3.LocalSessionFactoryBean]
BeanWrapperImpl - Invoked write method [public void org.springframework.orm.hibernate3.LocalSessionFactoryBean.setConfigLocation(org.springframework.core.io.Resource)] with value of type [org.springframework.core.io.Resource]
BeanWrapperImpl - About to invoke write method [public void org.springframework.orm.hibernate3.LocalSessionFactoryBean.setNamingStrategy(org.hibernate.cfg.NamingStrategy)] on object of class [org.springframework.orm.hibernate3.LocalSessionFactoryBean]
BeanWrapperImpl - Invoked write method [public void org.springframework.orm.hibernate3.LocalSessionFactoryBean.setNamingStrategy(org.hibernate.cfg.NamingStrategy)] with value of type [org.hibernate.cfg.NamingStrategy]
DefaultListableBeanFactory - Invoking BeanPostProcessors before initialization of bean 'sessionFactory'
DefaultListableBeanFactory - Invoking afterPropertiesSet() on bean with name 'sessionFactory'
Environment - Hibernate 3.0.5
Environment - hibernate.properties not found
Environment - using CGLIB reflection optimizer
Environment - using JDK 1.4 java.sql.Timestamp handling
Configuration - configuring from url: file:/D:/workdir/MyEclipse/workspace5.0/AdAssistWeb/WebRoot/WEB-INF/classes/hibernate.cfg.xml
DTDEntityResolver - trying to locate
http://hibernate.sourceforge.net/hibern ... on-3.0.dtd in classpath under org/hibernate/
DTDEntityResolver - found
http://hibernate.sourceforge.net/hibern ... on-3.0.dtd in classpath
Configuration - dialect=org.hibernate.dialect.MySQLDialect
Configuration - connection.url=jdbc:mysql://localhost:3306/adassist
Configuration - connection.username=xuser
Configuration - connection.password=555
Configuration - connection.driver_class=com.mysql.jdbc.Driver
Configuration - myeclipse.connection.profile=local_mysql_adassist
Configuration - show_sql=true
Configuration - c3p0.min_size=5
Configuration - c3p0.max_size=25
Configuration - c3p0.timeout=1800
Configuration - c3p0.max_statements=50
Configuration - null<-org.dom4j.tree.DefaultAttribute@1b9ce4b [Attribute: name resource value "cn/koqiui/persist/access/Module.hbm.xml"]
Configuration - Mapping resource: cn/koqiui/persist/access/Module.hbm.xml
DTDEntityResolver - trying to locate
http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath under org/hibernate/
DTDEntityResolver - found
http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath
HbmBinder - Mapping class: cn.koqiui.persist.access.Module -> modules
HbmBinder - Mapped property: modId -> mod_id
HbmBinder - Mapped property: modName -> mod_name
HbmBinder - Mapped property: disabled -> disabled
HbmBinder - Mapped property: remark -> remark
Configuration - Configured SessionFactory: null
Configuration - properties: {java.vendor=Sun Microsystems Inc., show_sql=true, hibernate.connection.url=jdbc:mysql://localhost:3306/adassist, sun.management.compiler=HotSpot Client Compiler, c3p0.min_size=5, os.name=Windows XP, sun.boot.class.path=D:\jdk1.5.0_10\jre\lib\rt.jar;D:\jdk1.5.0_10\jre\lib\i18n.jar;D:\jdk1.5.0_10\jre\lib\sunrsasign.jar;D:\jdk1.5.0_10\jre\lib\jsse.jar;D:\jdk1.5.0_10\jre\lib\jce.jar;D:\jdk1.5.0_10\jre\lib\charsets.jar;D:\jdk1.5.0_10\jre\classes;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\activation.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\javax.servlet.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\javax.servlet.jsp.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\jboss-j2ee.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\jboss-jaxrpc.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\jboss-jsr77.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\jboss-saaj.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\mail.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\namespace.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\xml-apis.jar, sun.desktop=windows, hibernate.c3p0.max_size=25, java.vm.specification.vendor=Sun Microsystems Inc., c3p0.max_size=25, java.runtime.version=1.5.0_10-b03, hibernate.c3p0.min_size=5, user.name=Administrator, connection.driver_class=com.mysql.jdbc.Driver, hibernate.connection.release_mode=on_close, hibernate.c3p0.timeout=1800, user.language=zh, sun.boot.library.path=D:\jdk1.5.0_10\jre\bin, dialect=org.hibernate.dialect.MySQLDialect, java.version=1.5.0_10, user.timezone=Asia/Shanghai, sun.arch.data.model=32, java.endorsed.dirs=D:\jdk1.5.0_10\jre\lib\endorsed, sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86, sun.jnu.encoding=GBK, file.encoding.pkg=sun.io, file.separator=\, java.specification.name=Java Platform API Specification, hibernate.cglib.use_reflection_optimizer=true, java.class.version=49.0, user.country=CN, connection.url=jdbc:mysql://localhost:3306/adassist, java.home=D:\jdk1.5.0_10\jre, java.vm.info=mixed mode, sharing, os.version=5.1, path.separator=;, connection.password=555, java.vm.version=1.5.0_10-b03, hibernate.connection.password=555, user.variant=, java.awt.printerjob=sun.awt.windows.WPrinterJob, sun.io.unicode.encoding=UnicodeLittle, awt.toolkit=sun.awt.windows.WToolkit, hibernate.connection.username=xuser, user.home=C:\Documents and Settings\Administrator, java.specification.vendor=Sun Microsystems Inc., java.library.path=D:\jdk1.5.0_10\bin;.;C:\WINDOWS\system32;C:\WINDOWS;D:\jdk1.5.0_10\bin;D:\oracle\bin;C:\Program Files\Oracle\jre\1.1.7\bin;C:\WINDOWS\SYSTEM32;C:\WINDOWS;C:\WINDOWS\SYSTEM32\WBEM;C:\WINDOWS;C:\WINDOWS\SYSTEM32\WBEM;C:\WINDOWS\SYSTEM32;C:\PROGRA~1\FARSTONE\VDPPRO\VDP;C:\PROGRA~1\FARSTONE\VDPPRO\;D:\Program Files\Rational\common;C:\MySQL\MySQL Server 5.0\bin;E:\ExtApps\ant-1.6.5\bin;E:\ExtApps\aspectj1.5\bin, java.vendor.url=http://java.sun.com/, hibernate.connection.driver_class=com.mysql.jdbc.Driver, connection.username=xuser, java.vm.vendor=Sun Microsystems Inc., hibernate.dialect=org.hibernate.dialect.MySQLDialect, java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, java.class.path=D:\workdir\MyEclipse\workspace5.0\AdAssistWeb\WebRoot\WEB-INF\classes;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\spring-core.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\spring-beans.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\spring-context.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jakarta-commons\commons-attributes-api.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jakarta-commons\commons-attributes-compiler.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jakarta-commons\commons-beanutils.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jakarta-commons\commons-collections.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jakarta-commons\commons-digester.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jakarta-commons\commons-lang.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jakarta-commons\commons-logging.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\dom4j\dom4j-1.6.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\dom4j\jaxen-1.1-beta-4.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\log4j\log4j-1.2.13.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\spring-dao.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\spring-hibernate.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\spring-jdbc.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\spring-orm.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\antlr\antlr-2.7.5H3.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jakarta-commons\commons-dbcp.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jakarta-commons\commons-pool.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\c3p0\c3p0-0.9.0.4.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\ehcache\ehcache-1.1.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\hibernate\hibernate3.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\hibernate\hibernate-annotations.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\ibatis\ibatis-sqlmap.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\ibatis\ibatis-sqlmap-2.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\ibatis\ibatis-common-2.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jdo\jdo2.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jotm\jotm.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jotm\xapool.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\ojb\db-ojb-1.0.4.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\toplink\toplink-api.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\spring-support.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\quartz\quartz-1.5.2.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jamon\JAMon.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jmx\jmxri.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jmx\jmxremote.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jmx\jmxremote_optional.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\spring-mock.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\easymock\easymock.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\easymock\easymockclassextension.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\junit\junit.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\spring-web.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\spring-webmvc.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\cos\cos.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jakarta-commons\commons-fileupload.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jakarta-commons\commons-httpclient.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\oro\jakarta-oro-2.0.8.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\velocity\velocity-1.4.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\velocity\velocity-tools-generic-1.2.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\velocity\velocity-tools-view-1.2.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\freemarker\freemarker.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\itext\itext-1.3.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jasperreports\jasperreports-1.0.3.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\poi\poi-2.5.1.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jexcelapi\jxl.jar;C:\common_libs\jdbc_drivers\my_sql\mysql-connector-java-5.0.4-bin.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\antlr-2.7.5H3.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\asm.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\asm-attrs.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\cglib-2.1.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\commons-collections-2.1.1.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\commons-logging-1.0.4.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\dom4j-1.6.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\ehcache-1.1.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\hibernate3.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\jaas.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\jaxen-1.1-beta-4.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\jdbc2_0-stdext.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\jta.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\log4j-1.2.9.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\xerces-2.6.2.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\xml-apis.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\c3p0-0.8.5.2.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\concurrent-1.3.2.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\connector.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\optional\jboss-cache.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\optional\jboss-common.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\optional\jboss-jmx.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\optional\jboss-system.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\jacc-1_0-fr.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\jgroups-2.2.7.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\oscache-2.1.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\proxool-0.8.3.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\swarmcache-1.0rc2.jar;D:\workdir\MyEclipse\workspace5.0\AdAssistWeb\WebRoot\WEB-INF\lib\antlr.jar;D:\workdir\MyEclipse\workspace5.0\AdAssistWeb\WebRoot\WEB-INF\lib\commons-beanutils.jar;D:\workdir\MyEclipse\workspace5.0\AdAssistWeb\WebRoot\WEB-INF\lib\commons-digester.jar;D:\workdir\MyEclipse\workspace5.0\AdAssistWeb\WebRoot\WEB-INF\lib\commons-fileupload.jar;D:\workdir\MyEclipse\workspace5.0\AdAssistWeb\WebRoot\WEB-INF\lib\commons-logging.jar;D:\workdir\MyEclipse\workspace5.0\AdAssistWeb\WebRoot\WEB-INF\lib\commons-validator.jar;D:\workdir\MyEclipse\workspace5.0\AdAssistWeb\WebRoot\WEB-INF\lib\jakarta-oro.jar;D:\workdir\MyEclipse\workspace5.0\AdAssistWeb\WebRoot\WEB-INF\lib\struts.jar;E:\ExtApps\eclipse\plugins\org.junit4_4.1.0.1\junit-4.1.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\spring-aop.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\cglib\cglib-nodep-2.1_3.jar, c3p0.timeout=1800, java.vm.specification.name=Java Virtual Machine Specification, java.vm.specification.version=1.0, sun.cpu.endian=little, sun.os.patch.level=Service Pack 2, java.io.tmpdir=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, os.arch=x86, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, myeclipse.connection.profile=local_mysql_adassist, java.ext.dirs=D:\jdk1.5.0_10\jre\lib\ext, user.dir=D:\workdir\MyEclipse\workspace5.0\AdAssistWeb, line.separator=
, java.vm.name=Java HotSpot(TM) Client VM, hibernate.myeclipse.connection.profile=local_mysql_adassist, file.encoding=GBK, java.specification.version=1.5, c3p0.max_statements=50, hibernate.c3p0.max_statements=50, hibernate.show_sql=true}
LocalSessionFactoryBean - Building new Hibernate SessionFactory
Configuration - Preparing to build session factory with filters : {}
Configuration - processing extends queue
Configuration - processing collection mappings
Configuration - processing association property references
Configuration - processing foreign key constraints
C3P0ConnectionProvider - C3P0 using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://localhost:3306/adassist
C3P0ConnectionProvider - Connection properties: {user=xuser, password=****, release_mode=on_close}
C3P0ConnectionProvider - autocommit mode: false
MLog - MLog clients using log4j logging.
C3P0Registry - Initializing c3p0-0.9.0.4 [built 23-January-2006 22:20:29 -0500; debug? true; trace: 10]
PoolBackedDataSource - Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@1d332b [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@d6a05e [ acquireIncrement -> 1, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> d6a05e, idleConnectionTestPeriod -> 0, initialPoolSize -> 5, maxIdleTime -> 1800, maxPoolSize -> 25, maxStatements -> 50, maxStatementsPerConnection -> 0, minPoolSize -> 5, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@87c268 [ description -> null, driverClass -> null, factoryClassLocation -> null, identityToken -> 87c268, jdbcUrl -> jdbc:mysql://localhost:3306/adassist, properties -> {user=******, password=******, release_mode=on_close} ], preferredTestQuery -> null, propertyCycle -> 300, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, usesTraditionalReflectiveProxies -> false ], factoryClassLocation -> null, identityToken -> 1d332b, numHelperThreads -> 3 ]
BasicResourcePool - awaitAvailable(): [unknown]
BasicResourcePool - trace com.mchange.v2.resourcepool.BasicResourcePool@ef137d [managed: 0, unused: 0, excluded: 0]
BasicResourcePool - trace com.mchange.v2.resourcepool.BasicResourcePool@ef137d [managed: 1, unused: 1, excluded: 0]
BasicResourcePool - resource age is okay: com.mchange.v2.c3p0.impl.NewPooledConnection@145c859 ---> age: 0 max: 1800000 [com.mchange.v2.resourcepool.BasicResourcePool@ef137d]
BasicResourcePool - trace com.mchange.v2.resourcepool.BasicResourcePool@ef137d [managed: 1, unused: 0, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@145c859)
SettingsFactory - RDBMS: MySQL, version: 5.0.18-nt
SettingsFactory - JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.0.4 ( $Date: 2006-10-19 17:47:48 +0200 (Thu, 19 Oct 2006) $, $Revision: 5908 $ )
GooGooStatementCache - checkinAll(): com.mchange.v2.c3p0.stmt.GlobalMaxOnlyStatementCache stats -- total size: 0; checked out: 0; num connections: 0; num keys: 0
BasicResourcePool - trace com.mchange.v2.resourcepool.BasicResourcePool@ef137d [managed: 1, unused: 0, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@145c859)
Dialect - Using dialect: org.hibernate.dialect.MySQLDialect
TransactionFactoryFactory - Using default transaction strategy (direct JDBC transactions)
TransactionManagerLookupFactory - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
SettingsFactory - Automatic flush during beforeCompletion(): disabled
SettingsFactory - Automatic session close at end of transaction: disabled
SettingsFactory - JDBC batch size: 15
SettingsFactory - JDBC batch updates for versioned data: disabled
SettingsFactory - Scrollable result sets: enabled
SettingsFactory - Wrap result sets: disabled
SettingsFactory - JDBC3 getGeneratedKeys(): enabled
SettingsFactory - Connection release mode: on_close
SettingsFactory - Maximum outer join fetch depth: 2
SettingsFactory - Default batch fetch size: 1
BasicResourcePool - trace com.mchange.v2.resourcepool.BasicResourcePool@ef137d [managed: 2, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@145c859)
SettingsFactory - Generate SQL with comments: disabled
BasicResourcePool - trace com.mchange.v2.resourcepool.BasicResourcePool@ef137d [managed: 3, unused: 3, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@145c859)
SettingsFactory - Order SQL updates by primary key: disabled
SettingsFactory - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
ASTQueryTranslatorFactory - Using ASTQueryTranslatorFactory
SettingsFactory - Query language substitutions: {}
SettingsFactory - Second-level cache: enabled
SettingsFactory - Query cache: disabled
SettingsFactory - Cache provider: org.hibernate.cache.EhCacheProvider
SettingsFactory - Optimize cache for minimal puts: disabled
SettingsFactory - Structured second-level cache entries: disabled
SQLExceptionConverterFactory - Using dialect defined converter
SettingsFactory - Echoing all SQL to stdout
SettingsFactory - Statistics: disabled
SettingsFactory - Deleted entity synthetic identifier rollback: disabled
SettingsFactory - Default entity-mode: pojo
SessionFactoryImpl - building session factory
SessionFactoryImpl - Session factory constructed with filter configurations : {}
SessionFactoryImpl - instantiating session factory with properties: {java.vendor=Sun Microsystems Inc., show_sql=true, hibernate.connection.url=jdbc:mysql://localhost:3306/adassist, sun.management.compiler=HotSpot Client Compiler, c3p0.min_size=5, os.name=Windows XP, sun.boot.class.path=D:\jdk1.5.0_10\jre\lib\rt.jar;D:\jdk1.5.0_10\jre\lib\i18n.jar;D:\jdk1.5.0_10\jre\lib\sunrsasign.jar;D:\jdk1.5.0_10\jre\lib\jsse.jar;D:\jdk1.5.0_10\jre\lib\jce.jar;D:\jdk1.5.0_10\jre\lib\charsets.jar;D:\jdk1.5.0_10\jre\classes;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\activation.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\javax.servlet.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\javax.servlet.jsp.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\jboss-j2ee.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\jboss-jaxrpc.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\jboss-jsr77.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\jboss-saaj.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\mail.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\namespace.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\xml-apis.jar, sun.desktop=windows, hibernate.c3p0.max_size=25, java.vm.specification.vendor=Sun Microsystems Inc., c3p0.max_size=25, java.runtime.version=1.5.0_10-b03, hibernate.c3p0.min_size=5, user.name=Administrator, connection.driver_class=com.mysql.jdbc.Driver, hibernate.connection.release_mode=on_close, hibernate.c3p0.timeout=1800, user.language=zh, sun.boot.library.path=D:\jdk1.5.0_10\jre\bin, dialect=org.hibernate.dialect.MySQLDialect, java.version=1.5.0_10, user.timezone=Asia/Shanghai, sun.arch.data.model=32, java.endorsed.dirs=D:\jdk1.5.0_10\jre\lib\endorsed, sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86, sun.jnu.encoding=GBK, file.encoding.pkg=sun.io, file.separator=\, java.specification.name=Java Platform API Specification, hibernate.cglib.use_reflection_optimizer=true, java.class.version=49.0, user.country=CN, connection.url=jdbc:mysql://localhost:3306/adassist, java.home=D:\jdk1.5.0_10\jre, java.vm.info=mixed mode, sharing, os.version=5.1, path.separator=;, connection.password=555, java.vm.version=1.5.0_10-b03, hibernate.connection.password=555, user.variant=, java.awt.printerjob=sun.awt.windows.WPrinterJob, sun.io.unicode.encoding=UnicodeLittle, awt.toolkit=sun.awt.windows.WToolkit, hibernate.connection.username=xuser, user.home=C:\Documents and Settings\Administrator, java.specification.vendor=Sun Microsystems Inc., java.library.path=D:\jdk1.5.0_10\bin;.;C:\WINDOWS\system32;C:\WINDOWS;D:\jdk1.5.0_10\bin;D:\oracle\bin;C:\Program Files\Oracle\jre\1.1.7\bin;C:\WINDOWS\SYSTEM32;C:\WINDOWS;C:\WINDOWS\SYSTEM32\WBEM;C:\WINDOWS;C:\WINDOWS\SYSTEM32\WBEM;C:\WINDOWS\SYSTEM32;C:\PROGRA~1\FARSTONE\VDPPRO\VDP;C:\PROGRA~1\FARSTONE\VDPPRO\;D:\Program Files\Rational\common;C:\MySQL\MySQL Server 5.0\bin;E:\ExtApps\ant-1.6.5\bin;E:\ExtApps\aspectj1.5\bin, java.vendor.url=http://java.sun.com/, hibernate.connection.driver_class=com.mysql.jdbc.Driver, connection.username=xuser, java.vm.vendor=Sun Microsystems Inc., hibernate.dialect=org.hibernate.dialect.MySQLDialect, java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, java.class.path=D:\workdir\MyEclipse\workspace5.0\AdAssistWeb\WebRoot\WEB-INF\classes;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\spring-core.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\spring-beans.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\spring-context.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jakarta-commons\commons-attributes-api.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jakarta-commons\commons-attributes-compiler.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jakarta-commons\commons-beanutils.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jakarta-commons\commons-collections.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jakarta-commons\commons-digester.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jakarta-commons\commons-lang.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jakarta-commons\commons-logging.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\dom4j\dom4j-1.6.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\dom4j\jaxen-1.1-beta-4.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\log4j\log4j-1.2.13.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\spring-dao.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\spring-hibernate.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\spring-jdbc.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\spring-orm.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\antlr\antlr-2.7.5H3.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jakarta-commons\commons-dbcp.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jakarta-commons\commons-pool.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\c3p0\c3p0-0.9.0.4.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\ehcache\ehcache-1.1.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\hibernate\hibernate3.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\hibernate\hibernate-annotations.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\ibatis\ibatis-sqlmap.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\ibatis\ibatis-sqlmap-2.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\ibatis\ibatis-common-2.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jdo\jdo2.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jotm\jotm.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jotm\xapool.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\ojb\db-ojb-1.0.4.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\toplink\toplink-api.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\spring-support.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\quartz\quartz-1.5.2.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jamon\JAMon.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jmx\jmxri.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jmx\jmxremote.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jmx\jmxremote_optional.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\spring-mock.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\easymock\easymock.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\easymock\easymockclassextension.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\junit\junit.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\spring-web.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\spring-webmvc.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\cos\cos.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jakarta-commons\commons-fileupload.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jakarta-commons\commons-httpclient.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\oro\jakarta-oro-2.0.8.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\velocity\velocity-1.4.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\velocity\velocity-tools-generic-1.2.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\velocity\velocity-tools-view-1.2.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\freemarker\freemarker.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\itext\itext-1.3.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jasperreports\jasperreports-1.0.3.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\poi\poi-2.5.1.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jexcelapi\jxl.jar;C:\common_libs\jdbc_drivers\my_sql\mysql-connector-java-5.0.4-bin.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\antlr-2.7.5H3.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\asm.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\asm-attrs.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\cglib-2.1.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\commons-collections-2.1.1.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\commons-logging-1.0.4.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\dom4j-1.6.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\ehcache-1.1.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\hibernate3.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\jaas.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\jaxen-1.1-beta-4.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\jdbc2_0-stdext.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\jta.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\log4j-1.2.9.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\xerces-2.6.2.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\xml-apis.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\c3p0-0.8.5.2.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\concurrent-1.3.2.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\connector.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\optional\jboss-cache.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\optional\jboss-common.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\optional\jboss-jmx.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\optional\jboss-system.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\jacc-1_0-fr.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\jgroups-2.2.7.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\oscache-2.1.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\proxool-0.8.3.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.org.hibernate.eclipse_5.1.0\myeclipse-data\3.0\lib\swarmcache-1.0rc2.jar;D:\workdir\MyEclipse\workspace5.0\AdAssistWeb\WebRoot\WEB-INF\lib\antlr.jar;D:\workdir\MyEclipse\workspace5.0\AdAssistWeb\WebRoot\WEB-INF\lib\commons-beanutils.jar;D:\workdir\MyEclipse\workspace5.0\AdAssistWeb\WebRoot\WEB-INF\lib\commons-digester.jar;D:\workdir\MyEclipse\workspace5.0\AdAssistWeb\WebRoot\WEB-INF\lib\commons-fileupload.jar;D:\workdir\MyEclipse\workspace5.0\AdAssistWeb\WebRoot\WEB-INF\lib\commons-logging.jar;D:\workdir\MyEclipse\workspace5.0\AdAssistWeb\WebRoot\WEB-INF\lib\commons-validator.jar;D:\workdir\MyEclipse\workspace5.0\AdAssistWeb\WebRoot\WEB-INF\lib\jakarta-oro.jar;D:\workdir\MyEclipse\workspace5.0\AdAssistWeb\WebRoot\WEB-INF\lib\struts.jar;E:\ExtApps\eclipse\plugins\org.junit4_4.1.0.1\junit-4.1.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\spring-aop.jar;C:\MyEclipse 5.1GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\cglib\cglib-nodep-2.1_3.jar, c3p0.timeout=1800, java.vm.specification.name=Java Virtual Machine Specification, java.vm.specification.version=1.0, sun.cpu.endian=little, sun.os.patch.level=Service Pack 2, java.io.tmpdir=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, os.arch=x86, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, myeclipse.connection.profile=local_mysql_adassist, java.ext.dirs=D:\jdk1.5.0_10\jre\lib\ext, user.dir=D:\workdir\MyEclipse\workspace5.0\AdAssistWeb, line.separator=
, java.vm.name=Java HotSpot(TM) Client VM, hibernate.myeclipse.connection.profile=local_mysql_adassist, file.encoding=GBK, java.specification.version=1.5, c3p0.max_statements=50, hibernate.c3p0.max_statements=50, hibernate.show_sql=true}
BasicResourcePool - trace com.mchange.v2.resourcepool.BasicResourcePool@ef137d [managed: 4, unused: 4, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@145c859)
CacheManager - Creating new CacheManager with default config
CacheManager - Configuring ehcache from classpath.
Configurator - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/C:/MyEclipse%205.1GA/eclipse/plugins/com.genuitec.eclipse.springframework_5.1.0/data/1.2/lib/dependencies/ehcache/ehcache-1.1.jar!/ehcache-failsafe.xml
Configuration$DiskStore - Disk Store Path: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\
BasicResourcePool - trace com.mchange.v2.resourcepool.BasicResourcePool@ef137d [managed: 5, unused: 5, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@145c859)
BasicEntityPersister - Static SQL for entity: cn.koqiui.persist.access.Module
BasicEntityPersister - Version select: select mod_id from __modules where mod_id =?
BasicEntityPersister - Snapshot select: select module_.mod_id, module_.mod_name as mod2_0_, module_.disabled as disabled0_, module_.remark as remark0_ from __modules module_ where module_.mod_id=?
BasicEntityPersister - Insert 0: insert into __modules (mod_name, disabled, remark, mod_id) values (?, ?, ?, ?)
BasicEntityPersister - Update 0: update __modules set mod_name=?, disabled=?, remark=? where mod_id=?
BasicEntityPersister - Delete 0: delete from __modules where mod_id=?
EntityLoader - Static select for entity cn.koqiui.persist.access.Module: select module0_.mod_id as mod1_0_, module0_.mod_name as mod2_0_0_, module0_.disabled as disabled0_0_, module0_.remark as remark0_0_ from __modules module0_ where module0_.mod_id=?
EntityLoader - Static select for entity cn.koqiui.persist.access.Module: select module0_.mod_id as mod1_0_, module0_.mod_name as mod2_0_0_, module0_.disabled as disabled0_0_, module0_.remark as remark0_0_ from __modules module0_ where module0_.mod_id=?
EntityLoader - Static select for entity cn.koqiui.persist.access.Module: select module0_.mod_id as mod1_0_, module0_.mod_name as mod2_0_0_, module0_.disabled as disabled0_0_, module0_.remark as remark0_0_ from __modules module0_ where module0_.mod_id=? for update
EntityLoader - Static select for entity cn.koqiui.persist.access.Module: select module0_.mod_id as mod1_0_, module0_.mod_name as mod2_0_0_, module0_.disabled as disabled0_0_, module0_.remark as remark0_0_ from __modules module0_ where module0_.mod_id=? for update
SessionFactoryObjectFactory - initializing class SessionFactoryObjectFactory
SessionFactoryObjectFactory - registered: 402881ec100eca6f01100eca727d0000 (unnamed)
SessionFactoryObjectFactory - Not binding factory to JNDI, no JNDI name configured
SessionFactoryImpl - instantiated session factory
SessionFactoryImpl - Checking 0 named queries
DefaultListableBeanFactory - Invoking BeanPostProcessors after initialization of bean 'sessionFactory'
DefaultListableBeanFactory - Calling code asked for FactoryBean instance for name 'sessionFactory'
DefaultListableBeanFactory - Returning cached instance of singleton bean 'sessionFactory'
DefaultListableBeanFactory - Bean with name 'sessionFactory' is a factory bean
DefaultListableBeanFactory - Creating shared instance of singleton bean 'transactionManager'
DefaultListableBeanFactory - Creating instance of bean 'transactionManager' with merged definition [Root bean: class [org.springframework.orm.hibernate3.HibernateTransactionManager]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [applicationContext.xml]]
DefaultListableBeanFactory - Invoking BeanPostProcessors before instantiation of bean 'transactionManager'
BeanNameAutoProxyCreator - Checking for custom TargetSource for bean with name 'transactionManager'
CachedIntrospectionResults - Getting BeanInfo for class [org.springframework.orm.hibernate3.HibernateTransactionManager]
CachedIntrospectionResults - Caching PropertyDescriptors for class [org.springframework.orm.hibernate3.HibernateTransactionManager]
CachedIntrospectionResults - Found property 'autodetectDataSource' of type [boolean]
CachedIntrospectionResults - Found property 'beanFactory' of type [org.springframework.beans.factory.BeanFactory]
CachedIntrospectionResults - Found property 'class' of type [java.lang.Class]
CachedIntrospectionResults - Found property 'dataSource' of type [javax.sql.DataSource]
CachedIntrospectionResults - Found property 'entityInterceptor' of type [org.hibernate.Interceptor]
CachedIntrospectionResults - Found property 'entityInterceptorBeanName' of type [java.lang.String]
CachedIntrospectionResults - Found property 'globalRollbackOnParticipationFailure' of