Hi,
I know and use this.
I wanted to save the generated SQL into database during session, without executing it.
I develop application that runs upon AS/400 DB2 (and many others). And there is batch processing of queries during night - the queries are very complex upon large bank data.
But by another client I want to execute it satement directly from fat client app. in HQL.
I don't like to write statement generation twice - to HQL and SQL, that's why I need this at application level.
I traced query exectuion and found it very diffucult to hack somewhere inside Hibernate to achieve this.... that's why I ask at forum.
Lukas
|