| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1023 人关注过本帖
标题:MyEclipse 连接数据库时出现 hibernate.properties not found
只看楼主 加入收藏
z060831
Rank: 1
等 级:新手上路
帖 子:15
专家分:0
注 册:2013-8-3
结帖率:50%
收藏
 问题点数:0 回复次数:2 
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
搜索更多相关主题的帖子: 2014 控制台 连接数据库 信息 
2014-08-10 09:37
z060831
Rank: 1
等 级:新手上路
帖 子:15
专家分:0
注 册:2013-8-3
收藏
得分:0 
………………自己解决了,java的版本不对
2014-08-10 09:47
love云彩
Rank: 19Rank: 19Rank: 19Rank: 19Rank: 19Rank: 19
来 自:青藏高原
等 级:贵宾
威 望:53
帖 子:3663
专家分:11416
注 册:2012-11-17
收藏
得分:0 
看不懂这么长的信息

思考赐予新生,时间在于定义
2014-08-10 10:48
快速回复:MyEclipse 连接数据库时出现 hibernate.properties not found
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.017535 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved