-
Today I (re)discovered a feature in the Ibatis data mapper framework which was clearly documented, but for some reason was not being used in our project. The feature is called "inline parameter maps" and combined with a wrapper bean it can clean up a lot of clutter in the code and in the SqlMaps. Please feel …
Read More -
At my company, we're using Ibatis to do operations on Oracle databases. As most of our software is designed to be international, we keep our XML files in UTF-8 encoding. Recently we discovered that Ibatis had some trouble parsing the XML files when we were using diacritics in them. As it turns out, Ibatis 2.2 actually …
Read More -
Today, a collegue of mine had a really strange nullpointer problem trying to call a stored procedure in an Oracle 10 database using iBATIS Java 2.2.0. What she had was a normal JavaBean, like so: package com.rolfje.foo public class BarBean { private String barName; private Long barId; ... setters/getters here ... } A …
Read More