Hibernate顯示真實(shí)的SQL如果我<property name="show_sql">true</property>在我的Hibernate.cfg.xml在控制臺(tái)中我可以看到SQL的配置文件。但這不是真品SQL.。我能看到將直接傳遞給數(shù)據(jù)庫(kù)的SQL代碼嗎?例子:我明白了select this_.code from true.employee this_ where this_.code=?我能看看select employee.code from employee where employee.code=12這個(gè)真品SQL?
Hibernate顯示真實(shí)的SQL
飲歌長(zhǎng)嘯
2019-06-19 15:31:47