1.安裝hibernate tools
使用eclipse install new soft 地址: http://download.jboss.org/jbosstools/neon/stable/updates/
2.java的日誌框架
http://blog.onlycatch.com/post/cfbc30f8d1ba
hibernate5 使用了jboss logging 作爲日誌輸出的接口
如果要使用log4j作爲日誌輸出 要主類裏設置下(要去下載log4j的jar)
static
{
System.setProperty("org.jboss.logging.provider", "log4j");
}