Simple, performance. What I have designed is a report engine that uses business objects, with relationships etc.
This is fine and dandy when designing the report, but I would much prefer the "final" query to be JDBC only, so I will avoid the configuration startup and query translation at runtime.
Hibernate at design time, jdbc at run time :)
However, I wouldn't know how to use the QueryTranslator... It is really meant for internal usage ;) how do I compile a query if methods are private ? :)
Thanks!
Daniel
|