ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guido García Bernardo <ggb...@tid.es>
Subject are there inner classes supported ?
Date Mon, 12 Dec 2005 17:01:34 GMT
I've defined a type alias and a result map using it:

<typeAlias alias="cuenta" type="com.tid.ReportDataCuentas.Row" />
<resultMap id="resultCuentas" class="cuenta">
    ...
</resultMap>

for my inner class:

package com.tid;
public class ReportDataCuentas {   
    public class Row {
    ...
    }
    ...
}

But I get a ClassNotFoundException.
com.ibatis.common.exception.NestedRuntimeException: Error configuring 
Result.  Could not set ResultClass.  Cause: 
java.lang.ClassNotFoundException: com.tid.ReportDataCuentas.Row
Caused by: java.lang.ClassNotFoundException: com.tid.ReportDataCuentas.Row
    at 
com.ibatis.sqlmap.engine.builder.xml.SqlMapParser$14.process(SqlMapParser.java:338)
    ...

Are there inner classes supported by ibatis?
Thank you very much,

-- 
Guido García Bernardo - ggarciab@itdeusto.com
Tfn. +34 983 54 89 08
ITDEUSTO - Valladolid


Mime
View raw message