Docs are wrong, I've removed that parameter... It's now just lazy loading enabled/disabled. You need CGLIB for lazy loading now... without exception.
Cheers, Clinton On Tue, Nov 10, 2009 at 11:54 AM, masonka...@libero.it <masonka...@libero.it > wrote: > Hi, > > I have a problem with last two ibatis beta version about configuration > file (4 and five one). > It seems that framework doesn't know the > "enachementEnabled" (<setting name="enhancementEnabled" value="false"/>) > configuration tag, but it is in the documentation. > I controll and it is right > written. > The error is > > Exception in thread "main" org.apache.ibatis.exceptions. > IbatisException: > ### Error building SqlSession. > ### The error may exist in SQL > Mapper Configuration > ### Cause: org.apache.ibatis.builder.BuilderException: > Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.builder. > BuilderException: The setting enhancementEnabled is not known. Make sure > you > spelled it correctly (case sensitive). > at org.apache.ibatis.exceptions. > ExceptionFactory.wrapException(ExceptionFactory.java:8) > at org.apache. > > ibatis.session.SqlSessionFactoryBuilder.build(SqlSessionFactoryBuilder.java:31) > > at org.apache.ibatis.session.SqlSessionFactoryBuilder.build > (SqlSessionFactoryBuilder.java:14) > at ibatis3.Main.main(Main.java:39) > > Caused by: org.apache.ibatis.builder.BuilderException: Error parsing SQL > Mapper > Configuration. Cause: org.apache.ibatis.builder.BuilderException: The > setting > enhancementEnabled is not known. Make sure you spelled it correctly (case > sensitive). > at org.apache.ibatis.builder.xml.XMLConfigBuilder. > parseConfiguration(XMLConfigBuilder.java:68) > at org.apache.ibatis. > builder.xml.XMLConfigBuilder.parse(XMLConfigBuilder.java:53) > at org. > > apache.ibatis.session.SqlSessionFactoryBuilder.build(SqlSessionFactoryBuilder. > java:28) > ... 2 more > Caused by: org.apache.ibatis.builder. > BuilderException: The setting enhancementEnabled is not known. Make sure > you > spelled it correctly (case sensitive). > at org.apache.ibatis.builder.xml. > XMLConfigBuilder.settingsElement(XMLConfigBuilder.java:143) > at org. > > apache.ibatis.builder.xml.XMLConfigBuilder.parseConfiguration(XMLConfigBuilder. > java:63) > ... 4 more > Java Result: 1 > > Could you help me? > > thanks. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-java-unsubscr...@ibatis.apache.org > For additional commands, e-mail: user-java-h...@ibatis.apache.org > >