hibernate问题

萧学森 2009-03-30 04:49:02
我就连接数据库查询了一下数据库信息,怎么就报这个错呢?好像是cglib文件没有??有啊??我是用的hibernate3.2请教高手!!!!
2009-03-30 16:43:36 Hibernate 3.2.5
2009-03-30 16:43:36 hibernate.properties not found
2009-03-30 16:43:36 Bytecode provider name : cglib
2009-03-30 16:43:36 using JDK 1.4 java.sql.Timestamp handling
2009-03-30 16:43:36 configuring from resource: /hibernate.cfg.xml
2009-03-30 16:43:36 Configuration resource: /hibernate.cfg.xml
2009-03-30 16:43:36 Reading mappings from resource : com/syc/hibtest/entity/QxInfo.hbm.xml
2009-03-30 16:43:36 Mapping class: com.syc.hibtest.entity.QxInfo -> qx_info
2009-03-30 16:43:36 Reading mappings from resource : com/syc/hibtest/entity/JdInfo.hbm.xml
2009-03-30 16:43:36 Mapping class: com.syc.hibtest.entity.JdInfo -> jd_info
2009-03-30 16:43:37 Configured SessionFactory: null
2009-03-30 16:43:37 Mapping collection: com.syc.hibtest.entity.QxInfo.jdInfos -> jd_info
2009-03-30 16:43:37 Using Hibernate built-in connection pool (not for production use!)
2009-03-30 16:43:37 Hibernate connection pool size: 20
2009-03-30 16:43:37 autocommit mode: false
2009-03-30 16:43:37 using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://localhost:3306/test
2009-03-30 16:43:37 connection properties: {user=root, password=****}
2009-03-30 16:43:37 RDBMS: MySQL, version: 6.0.4-alpha-community
2009-03-30 16:43:37 JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.0.6 ( $Date: 2007-03-09 22:13:57 +0100 (Fri, 09 Mar 2007) $, $Revision: 6341 $ )
2009-03-30 16:43:37 Using dialect: org.hibernate.dialect.MySQLDialect
2009-03-30 16:43:37 Using default transaction strategy (direct JDBC transactions)
2009-03-30 16:43:37 No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
2009-03-30 16:43:37 Automatic flush during beforeCompletion(): disabled
2009-03-30 16:43:37 Automatic session close at end of transaction: disabled
2009-03-30 16:43:37 JDBC batch size: 15
2009-03-30 16:43:37 JDBC batch updates for versioned data: disabled
2009-03-30 16:43:37 Scrollable result sets: enabled
2009-03-30 16:43:37 JDBC3 getGeneratedKeys(): enabled
2009-03-30 16:43:37 Connection release mode: auto
2009-03-30 16:43:37 Maximum outer join fetch depth: 2
2009-03-30 16:43:37 Default batch fetch size: 1
2009-03-30 16:43:37 Generate SQL with comments: disabled
2009-03-30 16:43:37 Order SQL updates by primary key: disabled
2009-03-30 16:43:37 Order SQL inserts for batching: disabled
2009-03-30 16:43:37 Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
2009-03-30 16:43:37 Using ASTQueryTranslatorFactory
2009-03-30 16:43:37 Query language substitutions: {}
2009-03-30 16:43:37 JPA-QL strict compliance: disabled
2009-03-30 16:43:37 Second-level cache: enabled
2009-03-30 16:43:37 Query cache: disabled
2009-03-30 16:43:37 Cache provider: org.hibernate.cache.NoCacheProvider
2009-03-30 16:43:37 Optimize cache for minimal puts: disabled
2009-03-30 16:43:37 Structured second-level cache entries: disabled
2009-03-30 16:43:37 Echoing all SQL to stdout
2009-03-30 16:43:37 Statistics: disabled
2009-03-30 16:43:37 Deleted entity synthetic identifier rollback: disabled
2009-03-30 16:43:37 Default entity-mode: pojo
2009-03-30 16:43:37 Named query checking : enabled
2009-03-30 16:43:37 building session factory
...全文
59 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
萧学森 2009-04-01
  • 打赏
  • 举报
回复
问题找到了,是缺少asm.jar asm-attr.jar cglib-2-2-3.jar,三个包
syh202 2009-04-01
  • 打赏
  • 举报
回复
观望中 .....
syh202 2009-04-01
  • 打赏
  • 举报
回复
观望中 .....
Study_Work_2009 2009-03-31
  • 打赏
  • 举报
回复
应该是配置问题吧
ygwh114 2009-03-30
  • 打赏
  • 举报
回复
xml文件的问题!

58,454

社区成员

发帖
与我相关
我的任务
社区描述
Java Eclipse
社区管理员
  • Eclipse
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧