ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clinton Begin <clinton.be...@gmail.com>
Subject Re: Lazy Loading cglib error
Date Sat, 13 Feb 2010 03:08:45 GMT
I've never seen that one... but my guess is that somehow it's trying to
proxy a null instance.  But there's a check for that... hmm..

I just refactored the lazy loading implementation quite significantly.  Try
the trunk version.

Clinton

On Fri, Feb 12, 2010 at 6:36 AM, Eugenia Mastantuono <
eugemastantuono@yahoo.com.ar> wrote:

> Hi, I'm having problems enabling lazy loading.
> Using: Ibatis 3 beta 9, cglib 2.2, asm 3.2. (into a netbeans platform
> library module)
> Everything works great with lazy loading disabled, selects, inserts,
> updates, etc. but when I set lazy loading = true, the following error occurs
> on every query:
>
> ### Error querying database. Cause:
> net.sf.cglib.core.CodeGenerationException:
> java.lang.reflect.InvocationTargetException -> null
> ### The error may involve com.myapp.model.MyMapper.loadList-Inline
> ### The error ocurred while setting parameters
> ### Cause: net.sf.cglib.core.CodeGenerationException:
> java.lang.reflect.InvocationTargetException -> null
>
> Any ideas?
> Thanks in advance
>
>
>
> ------------------------------
>
> Encontra las mejores recetas con Yahoo! Cocina.
> http://ar.mujer.yahoo.com/cocina/
>

Mime
View raw message