用户登录
用户注册

分享至

hibernate 4 log4j

  • 作者: 雷锋雷锋雷峰塔
  • 来源: 51数据库
  • 2020-10-04
1.先移除slf4j的实现jar包。2.加入log4j的jar包:log4j.1.2.15.jar。3:从hibernate-distribution-3.3.2.GA-dist\hibernate-distribution-3.3.2.GA\project\etc中拷贝log4j.properties到src目录下。etc中有很多实例文件。完成。如果想让控制台不输出DDL语句。



  1.先移除slf4j的实现jar包。2.加入log4j的jar包:log4j.1.2.15.jar。3:从hibernate-distribution-3.3.2.ga-dist\hibernate-distribution-3.3.2.ga\project\etc中拷贝log4j.properties到src目录下。etc中有很多实例文件。
软件
前端设计
程序设计
Java相关