if I set
true
in my hibernate.cfg.xml configuration file in the console I can see the SQL.
But it's not real SQL... Can I see the SQL code that will be passed directly to database?
Example:
I see
select this_.code from true.employee this_ where this_.code=?
Can I see
select employee.code from employee where employee.code=12
the real SQL?
Only Solution is http://www.mkyong.com/hibernate/how-to-display-hibernate-sql-parameter-values-solution/
in my hibernate.cfg.xml configuration file in the console I can see the SQL.
But it's not real SQL... Can I see the SQL code that will be passed directly to database?
Example:
I see
select this_.code from true.employee this_ where this_.code=?
Can I see
select employee.code from employee where employee.code=12
the real SQL?
Only Solution is http://www.mkyong.com/hibernate/how-to-display-hibernate-sql-parameter-values-solution/
No comments:
Post a Comment