Hibernate Jar包
编写一个简单额Hibernate程序所需的jar
还需要一个日志的配置文件
log4j.properties
log4j.rootLogger=ERROR, stdout
log4j.category.org.hibernate.tool.hbm2ddl =DEBUG, file
log4j.category.org.hibernate.SQL =DEBUG, stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%-d{yyyy-MM-dd HH:mm:ss,SSS} [%c]-[%p] %m%n
log4j.appender.file = org.apache.log4j.FileAppender
log4j.appender.file.File = \log.txt
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=Hibernate: %m%n