AdobeStock_455007340

Interesting Apache iBATIS SQL Map File Syntax

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#

3 responses to “Interesting Apache iBATIS SQL Map File Syntax”

  1. bongiovanni francesco Avatar
    bongiovanni francesco

    Mmmmmm, i think it’s just you … :p :p

  2. Vesa Kortelainen Avatar
    Vesa Kortelainen

    Thanks for sharing about this IBATIS, Ben.

  3. Yacoubean Avatar
    Yacoubean

    It does look /extremely/ familiar. But hey, imitation is the best form of flattery, right? 😉

Leave a Reply