Are you using the "NPetShop Example Application" from this page: http://ibatis.apache.org/downloads.html
That was compiled 10/4/2004 and aside from being close to a year old, its at least 3 versions behind of the current version in SVN. Unfortunetly the version of NPetShop in SVN isn't as up to date as it should be. I think a quick recompile and a double-check of the mapping files could fix that. I'll look into doing that (at least for MySQL and Access)... --- Ling Wang <[EMAIL PROTECTED]> wrote: > I am getting an error fresh out of box and just could > not figure out what is wrong. I got an error saying > > Error executing query 'InsertProfile' for insert. > Cause: Data type mismatch in criteria expression. > > when I was registering a new user. > > Everything else seems to work. > > I am using the npetshop.mdb database. > > Thanks. > > Ling >

