Hi,
If I understand it correctly, the operations that take place are, ( done by Hibernate )
i) set the values into host bind variables.
ii) fire the query as-is with bind variables to underlying database.
A query of the form "select * from my_table where my_name = 'name'" is never formed. ( assume 'name' is the bind value )
So, we might not ( my guess and understanding ) get a query that can be directly fired at prompt.
However, to know the values of bind variables, you can use,
log4j.logger.org.hibernate.type=debug
------------------------------------------------------------------
Rate the reply if you find it helpful
|