Apache iBATIS is a framework that can be used to abstract database interaction. Or, in the words of the about page: iBATIS couples objects with stored procedures or SQL statements using a XML descriptor.
So why do I mention this? Look at this code snippet extracted from a SQL map XML file:
SELECT userId, firstName, lastName
FROM users
WHERE userId = #value#
Leave a Reply