FYI: i experiences this problem only with H2 DB but not with Oracle 11g.
not sure if others are also affected