You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Larry Meadors (JIRA)" <ib...@incubator.apache.org> on 2004/11/27 16:55:21 UTC
[jira] Closed: (IBATIS-14) Lazy loading disabled without CGLIB if enhance enabled
[ http://nagoya.apache.org/jira/browse/IBATIS-14?page=history ]
Larry Meadors closed IBATIS-14:
-------------------------------
Assign To: (was: Larry Meadors)
Resolution: Cannot Reproduce
I looked into this one, and it looks like the value is being set properly in the builder, and that the usage of the flags is correct:
if (client.isLazyLoadingEnabled()) {
if (client.isEnhancementEnabled()) {
EnhancedLazyResultLoader lazy = new EnhancedLazyResultLoader(client, statementName, parameterObject, targetType);
value = lazy.loadResult();
} else {
LazyResultLoader lazy = new LazyResultLoader(client, statementName, parameterObject, targetType);
value = lazy.loadResult();
}
} else {
value = getResult(client, statementName, parameterObject, targetType);
}
Unless there is a test case that can reproduce this, I am going to consider it fixed.
> Lazy loading disabled without CGLIB if enhance enabled
> ------------------------------------------------------
>
> Key: IBATIS-14
> URL: http://nagoya.apache.org/jira/browse/IBATIS-14
> Project: iBatis for Java
> Type: Bug
> Components: SQL Maps
> Reporter: Clinton Begin
> Priority: Minor
>
> Lazy loading will be completely disabled if
> bytecodeEnhancement="true" but CGLIB is not on the
> classpath (workaround: set bytecodeEnhancement to
> false or put CGLIB on the classpath).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira