首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Web开发 >

spring mvc + hibernate3 失误

2014-01-12 
spring mvc + hibernate3 出错2014-01-08 15:49:42INFO [ContextLoader.java:187] org.springframework.we

spring mvc + hibernate3 出错
2014-01-08 15:49:42  INFO [ContextLoader.java:187] org.springframework.web.context.ContextLoader.initWebApplicationContext() - Root WebApplicationContext: initialization started
2014-01-08 15:49:42  INFO [AbstractApplicationContext.java:456] org.springframework.web.context.support.XmlWebApplicationContext.prepareRefresh() - Refreshing Root WebApplicationContext: startup date [Wed Jan 08 15:49:42 CST 2014]; root of context hierarchy
2014-01-08 15:49:42  INFO [XmlBeanDefinitionReader.java:315] org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions() - Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml]
2014-01-08 15:49:43  INFO [DefaultListableBeanFactory.java:555] org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons() - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@988707: defining beans [dataSource,sessionFactory,UserDao,UserService,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,txManager,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0,txAdvice]; root of factory hierarchy
2014-01-08 15:49:43  INFO [Environment.java:570] org.hibernate.cfg.Environment.<clinit>() - Hibernate 3.5.6-Final
2014-01-08 15:49:43  INFO [Environment.java:603] org.hibernate.cfg.Environment.<clinit>() - hibernate.properties not found
2014-01-08 15:49:43  INFO [Environment.java:781] org.hibernate.cfg.Environment.buildBytecodeProvider() - Bytecode provider name : javassist
2014-01-08 15:49:43  INFO [Environment.java:662] org.hibernate.cfg.Environment.<clinit>() - using JDK 1.4 java.sql.Timestamp handling
2014-01-08 15:49:43  INFO [Configuration.java:386] org.hibernate.cfg.Configuration.addFile() - Reading mappings from file: D:\javaEclipse\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\springMVC\WEB-INF\classes\com\springMVC\entity\Users.hbm.xml
2014-01-08 15:49:43  INFO [HbmBinder.java:348] org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues() - Mapping class: com.springMVC.entity.Users -> users
2014-01-08 15:49:43  INFO [LocalSessionFactoryBean.java:777] org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory() - Building new Hibernate SessionFactory
2014-01-08 15:49:43  INFO [ConnectionProviderFactory.java:173] org.hibernate.connection.ConnectionProviderFactory.initializeConnectionProviderFromConfig() - Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider
2014-01-08 15:49:43  INFO [SettingsFactory.java:117] org.hibernate.cfg.SettingsFactory.buildSettings() - RDBMS: Microsoft SQL Server, version: 8.00.760
2014-01-08 15:49:43  INFO [SettingsFactory.java:118] org.hibernate.cfg.SettingsFactory.buildSettings() - JDBC driver: Microsoft SQL Server JDBC Driver 3.0, version: 3.0.1301.101
2014-01-08 15:49:43  INFO [Dialect.java:206] org.hibernate.dialect.Dialect.<init>() - Using dialect: org.hibernate.dialect.SQLServerDialect
2014-01-08 15:49:43  INFO [JdbcSupportLoader.java:108] org.hibernate.engine.jdbc.JdbcSupportLoader.useContextualLobCreation() - Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException
2014-01-08 15:49:43  INFO [TransactionFactoryFactory.java:62] org.hibernate.transaction.TransactionFactoryFactory.buildTransactionFactory() - Transaction strategy: org.springframework.orm.hibernate3.SpringTransactionFactory
2014-01-08 15:49:43  INFO [TransactionManagerLookupFactory.java:80] org.hibernate.transaction.TransactionManagerLookupFactory.getTransactionManagerLookup() - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
2014-01-08 15:49:43  INFO [SettingsFactory.java:169] org.hibernate.cfg.SettingsFactory.buildSettings() - Automatic flush during beforeCompletion(): disabled
2014-01-08 15:49:43  INFO [SettingsFactory.java:173] org.hibernate.cfg.SettingsFactory.buildSettings() - Automatic session close at end of transaction: disabled
2014-01-08 15:49:43  INFO [SettingsFactory.java:188] org.hibernate.cfg.SettingsFactory.buildSettings() - Scrollable result sets: enabled
2014-01-08 15:49:43  INFO [SettingsFactory.java:196] org.hibernate.cfg.SettingsFactory.buildSettings() - JDBC3 getGeneratedKeys(): enabled


2014-01-08 15:49:43  INFO [SettingsFactory.java:204] org.hibernate.cfg.SettingsFactory.buildSettings() - Connection release mode: auto
2014-01-08 15:49:43  INFO [SettingsFactory.java:231] org.hibernate.cfg.SettingsFactory.buildSettings() - Default batch fetch size: 1
2014-01-08 15:49:43  INFO [SettingsFactory.java:235] org.hibernate.cfg.SettingsFactory.buildSettings() - Generate SQL with comments: disabled
2014-01-08 15:49:43  INFO [SettingsFactory.java:239] org.hibernate.cfg.SettingsFactory.buildSettings() - Order SQL updates by primary key: disabled
2014-01-08 15:49:43  INFO [SettingsFactory.java:243] org.hibernate.cfg.SettingsFactory.buildSettings() - Order SQL inserts for batching: disabled
2014-01-08 15:49:43  INFO [SettingsFactory.java:410] org.hibernate.cfg.SettingsFactory.createQueryTranslatorFactory() - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
2014-01-08 15:49:43  INFO [ASTQueryTranslatorFactory.java:47] org.hibernate.hql.ast.ASTQueryTranslatorFactory.<init>() - Using ASTQueryTranslatorFactory
2014-01-08 15:49:43  INFO [SettingsFactory.java:251] org.hibernate.cfg.SettingsFactory.buildSettings() - Query language substitutions: {}
2014-01-08 15:49:43  INFO [SettingsFactory.java:256] org.hibernate.cfg.SettingsFactory.buildSettings() - JPA-QL strict compliance: disabled
2014-01-08 15:49:43  INFO [SettingsFactory.java:261] org.hibernate.cfg.SettingsFactory.buildSettings() - Second-level cache: enabled
2014-01-08 15:49:43  INFO [SettingsFactory.java:265] org.hibernate.cfg.SettingsFactory.buildSettings() - Query cache: disabled
2014-01-08 15:49:43  INFO [SettingsFactory.java:395] org.hibernate.cfg.SettingsFactory.createRegionFactory() - Cache region factory : org.hibernate.cache.impl.NoCachingRegionFactory
2014-01-08 15:49:43  INFO [SettingsFactory.java:275] org.hibernate.cfg.SettingsFactory.buildSettings() - Optimize cache for minimal puts: disabled
2014-01-08 15:49:43  INFO [SettingsFactory.java:284] org.hibernate.cfg.SettingsFactory.buildSettings() - Structured second-level cache entries: disabled
2014-01-08 15:49:43  INFO [SettingsFactory.java:313] org.hibernate.cfg.SettingsFactory.buildSettings() - Statistics: disabled
2014-01-08 15:49:43  INFO [SettingsFactory.java:317] org.hibernate.cfg.SettingsFactory.buildSettings() - Deleted entity synthetic identifier rollback: disabled
2014-01-08 15:49:43  INFO [SettingsFactory.java:332] org.hibernate.cfg.SettingsFactory.buildSettings() - Default entity-mode: pojo
2014-01-08 15:49:43  INFO [SettingsFactory.java:336] org.hibernate.cfg.SettingsFactory.buildSettings() - Named query checking : enabled
2014-01-08 15:49:43  INFO [SettingsFactory.java:340] org.hibernate.cfg.SettingsFactory.buildSettings() - Check Nullability in Core (should be disabled when Bean Validation is on): enabled
2014-01-08 15:49:43  INFO [SessionFactoryImpl.java:199] org.hibernate.impl.SessionFactoryImpl.<init>() - building session factory
2014-01-08 15:49:44  INFO [SessionFactoryObjectFactory.java:105] org.hibernate.impl.SessionFactoryObjectFactory.addInstance() - Not binding factory to JNDI, no JNDI name configured
2014-01-08 15:49:44  INFO [ContextLoader.java:214] org.springframework.web.context.ContextLoader.initWebApplicationContext() - Root WebApplicationContext: initialization completed in 1437 ms 可以结贴给分啦!

热点排行