Re: Specify more than one parameter in select statement without using deprecated parameterMap

2010-05-06 Thread Thomas Mair
The problem is, that I would like to use the Statement for a nested select inside a resultMap. Should that also work with the parameterType map? 2010/5/5 Larry Meadors : > Pass a bean or Map with those attributes, and you should be good to go. > > On Wed, May 5, 2010 at 2:17 AM, Thomas Mair > wro

Strange problem with resultMaps

2010-05-06 Thread Metsovuori Juho
Hey all, I have a this strange problem with resultMaps. When I use the query below to retrieve a users information, everything works great. public class User private int id = 0; private String username = ""; private String password = ""; private Timestamp reg

Re: Strange problem with resultMaps

2010-05-06 Thread Jeff Butler
If you specify a resultMap, you need to specify a complete result map - including all the fields from User. Previously when you were not specifying a resultMap, iBATIS was building one for you on the fly by introspecting the User class. But since you are now specifying the map yourself, iBATIS as

Converting ibator generated clause in iBATIS 2 to iBATIS 3.0

2010-05-06 Thread Don's Email
I used ibator 1.2 to create the SQL mapper files for a project. I am trying to convert the mapper files to iBATIS 3.0, but am stuck on the tags. Are there any examples available or a How to for converting mapper files to iBATIS 3.0? ( $oredCriteria