Here's a quick and dirty DynamicMapper I created
MyDao myDao = dynamicMapper.daoProxy(MyDao.class)
creates the proxy implementation
I use Guice for DI and have a Guice provider for this and that makes it even
simpler
public class DynamicMapper {
private SqlMapClient sqlMap;
Is it? You'll need to provide a lot more information.
* What does the class definition look like?
* What is the full exception stack trace?
One think I'm not sure about is the syntax:
property="filter.columnValuePairs[].isValid"
IIRC, the [] syntax is reserved for generating parameter
Hi Kyunam
The exception seems to suggest that
$filter.columnValuePairs[] is not defined as a List. Can you let us know
what you have declared it as in your pojo. Ibatis expects it to be of Type
extending List or Array.
The error should be this line I guess.
$filter.columnValue
:-)
So Clinton, any idea why a list of my pogos is being interpreted as HashMap?
Thanks,
Q
From: Clinton Begin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 09, 2008 11:24 AM
To: user-java@ibatis.apache.org
Subject: Re: ProbeException: The '...' pro
+1 that's exactly what I was going to say.
2008/9/9 kangsin <[EMAIL PROTECTED]>
> 에러 전체 메세지랑 dao단이라도 같이 한번 올려 보시죠..그럼 대답 해줄지..
> 잘 모르는 문외한인 제 생각인데 filter.columnValuePairs까지는 리스트라도
> 거기에서 또 값을 접근 하려고 하니깐..hashmap으로 인식하는건 아닐까요...죄송해요..^^;;
>
>
> --
>
> Subject: FW: Probe
에러 전체 메세지랑 dao단이라도 같이 한번 올려 보시죠..그럼 대답 해줄지..
잘 모르는 문외한인 제 생각인데 filter.columnValuePairs까지는 리스트라도
거기에서 또 값을 접근 하려고 하니깐..hashmap으로 인식하는건 아닐까요...죄송해요..^^;;
Subject: FW: ProbeException: The '...' property of the java.util.HashMap class
is not a List or ArrayDate: Tue, 9 Sep 2008 09:54:24 -0700From:
Hi All,
I haven't heard any response on this post.
I would appreciate it if you could give a 2nd look... :-)
Thanks,
Q
From: Kyunam Kim [mailto:[EMAIL PROTECTED]
Sent: Monday, September 08, 2008 3:00 PM
To: user-java@ibatis.apache.org
Subject: ProbeExc
Abator version is 1.1.0 for Eclipse 3.2.0 if it helps.
Subject: RE: java.lang.InstantiationException using Ibatis DAODate: Tue, 9 Sep
2008 15:55:18 +0200From: [EMAIL PROTECTED]: user-java@ibatis.apache.org
I don’t understand. If this code is generated by Ibator, I would say that
som
I don't understand. If this code is generated by Ibator, I would say
that somehow you have a version mismatch. Maybe Jeff can comment on
this?
Niels
From: Paul Ski [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 09, 2008 10:20 AM
To: user-java@ibatis.apach
I think this works with earlier versions, too. But 2.3.3 is really stable,
don't hesitate to use it...
Regards
Kai
--- Original Nachricht ---
Absender: J R
Datum: 03.09.2008 05:50
Thanks Jeff! Is this solution that you provided for skipping parameterMap
going to work with 2.3.3 only or would
package com.intient.smash.ibatis.impl;
import com.ibatis.sqlmap.client.SqlMapClient;import
com.intient.smash.ibatis.Aliases;import
com.intient.smash.ibatis.AliasesExample;import java.sql.SQLException;import
java.util.List;
public class AliasesDAOImpl implements AliasesDAO{
/** * This field wa
11 matches
Mail list logo