Using Java constants in statements
----------------------------------
Key: IBATIS-147
URL: http://issues.apache.org/jira/browse/IBATIS-147
Project: iBatis for Java
Type: New Feature
Components: SQL Maps
Reporter: Niall O'Neill
Priority: Minor
It would be useful to be able to reference Java constants within an Sqlmap
statement. This would extend the benefits of constants (unchanging references,
meaningful names) to SQL, making maintenance easier.
It could be facilitated using the existing parameterisation framework - for
example: #org.package.class.Constants.CONSTANT#. The field would be evaluated
and substitution made, or an parsing error thrown if the field is not static or
otherwise accessible.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira