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: enhancementEnabled in beta 4 and 5
Date Tue, 10 Nov 2009 20:01:21 GMT
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, masonkante@libero.it <masonkante@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-unsubscribe@ibatis.apache.org
> For additional commands, e-mail: user-java-help@ibatis.apache.org
>
>

Mime
View raw message