MyEclipse 连接数据库时出现 hibernate.properties not found
使用了Spring3.0、Hibernate3.3和Struts2控制台输出:
八月 10, 2014 9:31:42 上午 org.hibernate.cfg.Environment <clinit>
信息: Hibernate 3.3.2.GA
八月 10, 2014 9:31:42 上午 org.hibernate.cfg.Environment <clinit>
信息: hibernate.properties not found
八月 10, 2014 9:31:42 上午 org.hibernate.cfg.Environment buildBytecodeProvider
信息: Bytecode provider name : javassist
八月 10, 2014 9:31:42 上午 org.hibernate.cfg.Environment <clinit>
信息: using JDK 1.4 java.sql.Timestamp handling
八月 10, 2014 9:31:42 上午 org.hibernate.cfg.Configuration configure
信息: configuring from resource: /hibernate.cfg.xml
八月 10, 2014 9:31:42 上午 org.hibernate.cfg.Configuration getConfigurationInputStream
信息: Configuration resource: /hibernate.cfg.xml
八月 10, 2014 9:31:42 上午 org.hibernate.cfg.Configuration addResource
信息: Reading mappings from resource : PO/INVMB.hbm.xml
八月 10, 2014 9:31:42 上午 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
信息: Mapping class: PO.INVMB -> INVMB
八月 10, 2014 9:31:42 上午 org.hibernate.cfg.Configuration doConfigure
信息: Configured SessionFactory: null
八月 10, 2014 9:31:43 上午 org.hibernate.connection.DriverManagerConnectionProvider configure
信息: Using Hibernate built-in connection pool (not for production use!)
八月 10, 2014 9:31:43 上午 org.hibernate.connection.DriverManagerConnectionProvider configure
信息: Hibernate connection pool size: 20
八月 10, 2014 9:31:43 上午 org.hibernate.connection.DriverManagerConnectionProvider configure
信息: autocommit mode: false
八月 10, 2014 9:31:43 上午 org.hibernate.connection.DriverManagerConnectionProvider configure
信息: using driver: com.microsoft.sqlserver.jdbc.SQLServerDriver at URL: jdbc:sqlserver://192.168.1.201\pr;databaseName=puri
八月 10, 2014 9:31:43 上午 org.hibernate.connection.DriverManagerConnectionProvider configure
信息: connection properties: {user=sa, password=****}
八月 10, 2014 9:31:43 上午 org.hibernate.cfg.SettingsFactory buildSettings
信息: RDBMS: Microsoft SQL Server, version: 9.00.5000
八月 10, 2014 9:31:43 上午 org.hibernate.cfg.SettingsFactory buildSettings
信息: JDBC driver: Microsoft SQL Server JDBC Driver 2.0, version: 2.0.1803.100
八月 10, 2014 9:31:43 上午 org.hibernate.dialect.Dialect <init>
信息: Using dialect: org.hibernate.dialect.SQLServerDialect
八月 10, 2014 9:31:43 上午 org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory
信息: Using default transaction strategy (direct JDBC transactions)
八月 10, 2014 9:31:43 上午 org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
信息: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
八月 10, 2014 9:31:43 上午 org.hibernate.cfg.SettingsFactory buildSettings
信息: Automatic flush during beforeCompletion(): disabled
八月 10, 2014 9:31:43 上午 org.hibernate.cfg.SettingsFactory buildSettings
信息: Automatic session close at end of transaction: disabled
八月 10, 2014 9:31:43 上午 org.hibernate.cfg.SettingsFactory buildSettings
信息: Scrollable result sets: enabled
八月 10, 2014 9:31:43 上午 org.hibernate.cfg.SettingsFactory buildSettings
信息: JDBC3 getGeneratedKeys(): enabled
八月 10, 2014 9:31:43 上午 org.hibernate.cfg.SettingsFactory buildSettings
信息: Connection release mode: auto
八月 10, 2014 9:31:43 上午 org.hibernate.cfg.SettingsFactory buildSettings
信息: Default batch fetch size: 1
八月 10, 2014 9:31:43 上午 org.hibernate.cfg.SettingsFactory buildSettings
信息: Generate SQL with comments: disabled
八月 10, 2014 9:31:43 上午 org.hibernate.cfg.SettingsFactory buildSettings
信息: Order SQL updates by primary key: disabled
八月 10, 2014 9:31:43 上午 org.hibernate.cfg.SettingsFactory buildSettings
信息: Order SQL inserts for batching: disabled
八月 10, 2014 9:31:43 上午 org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory
信息: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
八月 10, 2014 9:31:43 上午 org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>
信息: Using ASTQueryTranslatorFactory
八月 10, 2014 9:31:43 上午 org.hibernate.cfg.SettingsFactory buildSettings
信息: Query language substitutions: {}
八月 10, 2014 9:31:43 上午 org.hibernate.cfg.SettingsFactory buildSettings
信息: JPA-QL strict compliance: disabled
八月 10, 2014 9:31:43 上午 org.hibernate.cfg.SettingsFactory buildSettings
信息: Second-level cache: enabled
八月 10, 2014 9:31:43 上午 org.hibernate.cfg.SettingsFactory buildSettings
信息: Query cache: disabled
八月 10, 2014 9:31:43 上午 org.hibernate.cfg.SettingsFactory createRegionFactory
信息: Cache region factory : org.hibernate.cache.impl.NoCachingRegionFactory
八月 10, 2014 9:31:43 上午 org.hibernate.cfg.SettingsFactory buildSettings
信息: Optimize cache for minimal puts: disabled
八月 10, 2014 9:31:43 上午 org.hibernate.cfg.SettingsFactory buildSettings
信息: Structured second-level cache entries: disabled
八月 10, 2014 9:31:43 上午 org.hibernate.cfg.SettingsFactory buildSettings
信息: Statistics: disabled
八月 10, 2014 9:31:43 上午 org.hibernate.cfg.SettingsFactory buildSettings
信息: Deleted entity synthetic identifier rollback: disabled
八月 10, 2014 9:31:43 上午 org.hibernate.cfg.SettingsFactory buildSettings
信息: Default entity-mode: pojo
八月 10, 2014 9:31:43 上午 org.hibernate.cfg.SettingsFactory buildSettings
信息: Named query checking : enabled
八月 10, 2014 9:31:44 上午 org.hibernate.impl.SessionFactoryImpl <init>
信息: building session factory
八月 10, 2014 9:31:44 上午 org.hibernate.impl.SessionFactoryObjectFactory addInstance
信息: Not binding factory to JNDI, no JNDI name configured
202020001130
202020001131
202020001132
202020001133
202020001134
202020001135
202020001136
202020001137
202020001138
202020001139
END