Hello!

I've trapped into a problem while I'm on the development step: using tools 
such as JRebel allows me to update beans on fly. 
When I modify some bean then any following attempts to load it from a DB 
using the reflection facility provided by DefaultRecordMapper causes the 
following exception:

Caused by: java.lang.IllegalAccessException: Class 
org.jooq.impl.DefaultRecordMapper$MutablePOJOMapper can not access a member 
of 
class com.mycompany.projects.beans.SomeBean$$M$_jr_7E9C8B0F83F2A45B_1 with 
modifiers "private"
at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:101)
at 
java.lang.reflect.AccessibleObject.slowCheckMemberAccess(AccessibleObject.java:295)
at java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:287)
at java.lang.reflect.Field.setInt(Field.java:940)
at 
org.jooq.impl.DefaultRecordMapper$MutablePOJOMapper.map(DefaultRecordMapper.java:670)
at 
org.jooq.impl.DefaultRecordMapper$MutablePOJOMapper.map(DefaultRecordMapper.java:636)
at 
org.jooq.impl.DefaultRecordMapper$MutablePOJOMapper.map(DefaultRecordMapper.java:589)
... 112 more

Any ideas why the DefaultRecordMapper fails with these weird but 
eligible beans?

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to