问题描述
[2010-08-1114:52:21,906][main]INFO-org.springframework.web.context.ContextLoaderorg.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:186)RootWebApplicationContext:initializationstarted[2010-08-1114:52:22,375][main]INFO-org.springframework.web.context.support.XmlWebApplicationContextorg.springframework.context.support.AbstractApplicationContext.prepareRefresh(AbstractApplicationContext.java:454)RefreshingRootWebApplicationContext:startupdate[WedAug1114:52:22CST2010];rootofcontexthierarchy[2010-08-1114:52:23,015][main]INFO-org.springframework.beans.factory.xml.XmlBeanDefinitionReaderorg.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:315)LoadingXMLbeandefinitionsfromfile[D:ProgramFilesapache-tomcat-6.0.26webappsSSHCompassWEB-INFclassesapplicationContext-compass.xml][2010-08-1114:52:23,515][main]INFO-org.springframework.beans.factory.xml.XmlBeanDefinitionReaderorg.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:315)LoadingXMLbeandefinitionsfromfile[D:ProgramFilesapache-tomcat-6.0.26webappsSSHCompassWEB-INFclassesapplicationContext.xml][2010-08-1114:52:26,984][main]INFO-org.springframework.beans.factory.support.DefaultListableBeanFactoryorg.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:537)Pre-instantiatingsingletonsinorg.springframework.beans.factory.support.DefaultListableBeanFactory@1c1ac46:definingbeans[annotationConfiguration,compass,hibernateGpsDevice,compassGps,compassTemplate,compassIndexBuilder,dataSource,hibernateProperties,sessionFactory,pdao,pservice,pbean,transactionManager,txAdvice,org.springframework.aop.config.internalAutoProxyCreator,seviceOperation,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0];rootoffactoryhierarchy[2010-08-1114:52:30,156][main]INFO-org.springframework.jdbc.datasource.DriverManagerDataSourceorg.springframework.jdbc.datasource.DriverManagerDataSource.setDriverClassName(DriverManagerDataSource.java:153)LoadedJDBCdriver:com.mysql.jdbc.Driver[2010-08-1114:52:30,875][main]INFO-org.hibernate.cfg.Environmentorg.hibernate.cfg.Environment.<clinit>(Environment.java:564)Hibernate3.5.0-Final[2010-08-1114:52:30,890][main]INFO-org.hibernate.cfg.Environmentorg.hibernate.cfg.Environment.<clinit>(Environment.java:597)hibernate.propertiesnotfound[2010-08-1114:52:30,906][main]INFO-org.hibernate.cfg.Environmentorg.hibernate.cfg.Environment.buildBytecodeProvider(Environment.java:775)Bytecodeprovidername:javassist[2010-08-1114:52:30,984][main]INFO-org.hibernate.cfg.Environmentorg.hibernate.cfg.Environment.<clinit>(Environment.java:656)usingJDK1.4java.sql.Timestamphandling[2010-08-1114:52:33,000][main]INFO-org.hibernate.cfg.HbmBinderorg.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues(HbmBinder.java:348)Mappingclass:com.model.Product->PRODUCT[2010-08-1114:52:33,156][main]INFO-org.springframework.orm.hibernate3.LocalSessionFactoryBeanorg.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:772)BuildingnewHibernateSessionFactory[2010-08-1114:52:33,718][main]INFO-org.hibernate.connection.ConnectionProviderFactoryorg.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:95)Initializingconnectionprovider:org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider[2010-08-1114:52:34,796][main]INFO-org.hibernate.cfg.SettingsFactoryorg.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:117)RDBMS:MySQL,version:5.1.40-community[2010-08-1114:52:34,796][main]INFO-org.hibernate.cfg.SettingsFactoryorg.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:118)JDBCdriver:MySQL-ABJDBCDriver,version:mysql-connector-java-5.1.6(Revision:${svn.Revision})[2010-08-1114:52:35,062][main]INFO-org.hibernate.dialect.Dialectorg.hibernate.dialect.Dialect.<init>(Dialect.java:222)Usingdialect:org.hibernate.dialect.MySQLDialect[2010-08-1114:52:35,125][main]INFO-org.hibernate.engine.jdbc.JdbcSupportLoaderorg.hibernate.engine.jdbc.JdbcSupportLoader.useContextualLobCreation(JdbcSupportLoader.java:79)DisablingcontextualLOBcreationasJDBCdriverreportedJDBCversion[3]lessthan4[2010-08-1114:52:35,156][main]INFO-org.hibernate.transaction.TransactionFactoryFactoryorg.hibernate.transaction.TransactionFactoryFactory.buildTransactionFactory(TransactionFactoryFactory.java:62)Transactionstrategy:org.springframework.orm.hibernate3.SpringTransactionFactory[2010-08-1114:52:35,171][main]INFO-org.hibernate.transaction.TransactionManagerLookupFactoryorg.hibernate.transaction.TransactionManagerLookupFactory.getTransactionManagerLookup(TransactionManagerLookupFactory.java:80)NoTransactionManagerLookupconfigured(inJTAenvironment,useofread-writeortransactionalsecond-levelcacheisnotrecommended)[2010-08-1114:52:35,171][main]INFO-org.hibernate.cfg.SettingsFactoryorg.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:169)AutomaticflushduringbeforeCompletion():disabled[2010-08-1114:52:35,187][main]INFO-org.hibernate.cfg.SettingsFactoryorg.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:173)Automaticsessioncloseatendoftransaction:disabled[2010-08-1114:52:35,187][main]INFO-org.hibernate.cfg.SettingsFactoryorg.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:180)JDBCbatchsize:15[2010-08-1114:52:35,187][main]INFO-org.hibernate.cfg.SettingsFactoryorg.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:183)JDBCbatchupdatesforversioneddata:disabled[2010-08-1114:52:35,265][main]INFO-org.hibernate.cfg.SettingsFactoryorg.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:188)Scrollableresultsets:enabled[2010-08-1114:52:35,265][main]INFO-org.hibernate.cfg.SettingsFactoryorg.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:196)JDBC3getGeneratedKeys():enabled[2010-08-1114:52:35,265][main]INFO-org.hibernate.cfg.SettingsFactoryorg.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:204)Connectionreleasemode:auto[2010-08-1114:52:35,281][main]INFO-org.hibernate.cfg.SettingsFactoryorg.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:228)Maximumouterjoinfetchdepth:2[2010-08-1114:52:35,281][main]INFO-org.hibernate.cfg.SettingsFactoryorg.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:231)Defaultbatchfetchsize:1[2010-08-1114:52:35,281][main]INFO-org.hibernate.cfg.SettingsFactoryorg.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:235)GenerateSQLwithcomments:disabled[2010-08-1114:52:35,281][main]INFO-org.hibernate.cfg.SettingsFactoryorg.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:239)OrderSQLupdatesbyprimarykey:disabled[2010-08-1114:52:35,281][main]INFO-org.hibernate.cfg.SettingsFactoryorg.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:243)OrderSQLinsertsforbatching:disabled[2010-08-1114:52:35,281][main]INFO-org.hibernate.cfg.SettingsFactoryorg.hibernate.cfg.SettingsFactory.createQueryTranslatorFactory(SettingsFactory.java:410)Querytranslator:org.hibernate.hql.ast.ASTQueryTranslatorFactory[2010-08-1114:52:35,312][main]INFO-org.hibernate.hql.ast.ASTQueryTranslatorFactoryorg.hibernate.hql.ast.ASTQueryTranslatorFactory.<init>(ASTQueryTranslatorFactory.java:47)UsingASTQueryTranslatorFactory[2010-08-1114:52:35,312][main]INFO-org.hibernate.cfg.SettingsFactoryorg.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:251)Querylanguagesubstitutions:{}[2010-08-1114:52:35,328][main]INFO-org.hibernate.cfg.SettingsFactoryorg.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:256)JPA-QLstrictcompliance:disabled[2010-08-1114:52:35,328][main]INFO-org.hibernate.cfg.SettingsFactoryorg.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:261)Second-levelcache:enabled[2010-08-1114:52:35,406][main]INFO-org.hibernate.cfg.SettingsFactoryorg.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:265)Querycache:disabled[2010-08-1114:52:35,421][main]INFO-org.hibernate.cfg.SettingsFactoryorg.hibernate.cfg.SettingsFactory.createRegionFactory(SettingsFactory.java:395)Cacheregionfactory:org.hibernate.cache.impl.NoCachingRegionFactory[2010-08-1114:52:35,421][main]INFO-org.hibernate.cfg.SettingsFactoryorg.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:275)Optimizecacheforminimalputs:disabled[2010-08-1114:52:35,421][main]INFO-org.hibernate.cfg.SettingsFactoryorg.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:284)Structuredsecond-levelcacheentries:disabled[2010-08-1114:52:35,609][main]INFO-org.hibernate.cfg.SettingsFactoryorg.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:304)EchoingallSQLtostdout[2010-08-1114:52:35,609][main]INFO-org.hibernate.cfg.SettingsFactoryorg.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:313)Statistics:disabled