Hibernate显示真实的SQL
如果我
<property name="show_sql">true</property>
在我的Hibernate.cfg.xml在控制台中我可以看到SQL的配置文件。
但这不是真品SQL.。我能看到将直接传递给数据库的SQL代码吗?
例子:
我明白了
select this_.code from true.employee this_ where this_.code=?
我能看看
select employee.code from employee where employee.code=12
这个真品SQL?
相关分类