spring 与hibernate 中自动生成表 怎么查看生成表的sql语句

spring 与hibernate 中自动生成表 如何查看生成表的sql语句
咋办

------解决方案--------------------
在hibernate配置文件里面添加这段就行了。

 <property name="show_sql">true</property>
------解决方案--------------------
在log4j.properties中增加以下内容

org.hibernate.tool.hbm2ddl=debug
------解决方案--------------------
hibernate官方文档上我花不到10秒就找到了哦,楼主也要多看文档才行啊。
------解决方案--------------------
探讨

在log4j.properties中增加以下内容

org.hibernate.tool.hbm2ddl=debug