[prev in list] [next in list] [prev in thread] [next in thread] 

List:       turbine-torque-dev
Subject:    Deprecate Criteria.CUSTOM ?
From:       Thomas Fox <Thomas.Fox () seitenbau ! net>
Date:       2012-06-29 3:51:34
Message-ID: OFE5E5AF7D.04AFBC28-ONC1257A2C.00153373-C1257A2C.00153376 () seitenbau ! net
[Download RAW message or body]


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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic