ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ONeill, Niall" <Niall.ONe...@agriculture.gov.ie>
Subject Using constants in SQL statements
Date Tue, 07 Jun 2005 09:49:50 GMT

Is there a way in iBATIS to use static Java fields within SQL statements? Currently I am having
to hard-code static values in the statements, but this presents problems if those values ever
change and make it difficult to understand the SQL.

Niall O'Neill

***********  Department of Agriculture and Food ***************

The information contained in this email and in any
attachments is confidential and is designated solely
for the attention and use of the intended recipient(s).
This information may be subject to legal and professional
privilege.  If you are not an intended recipient of
this email, you must not use, disclose, copy,
distribute or retain this message or any part of it.
If you have received this email in error, please
notify the sender immediately and delete all copies of
this email from your computer system(s).

View raw message