db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fox <Thomas....@seitenbau.net>
Subject Deprecate Criteria.CUSTOM ?
Date Fri, 29 Jun 2012 03:51:34 GMT

Currently there are two ways of adding custom SQL to a Criteria:
- using Criteria.CUSTOM
- Criteria.addVerbatimSql()
The latter can handle prepared statement replacements plus you do not need
to add dummy column names (but you can if you wish)
Should we now deprecate Criteria.CUSTOM ?

     Thomas


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message