#768 - Query.setDisableLazyLoading(true) ... not disabling lazy loading on @ManyToOne reference bean

This commit is contained in:
Robin Bygrave
2016-07-11 15:09:59 +12:00
parent 3b7f5496a8
commit 2991cb9ad1
16 changed files with 160 additions and 69 deletions
@@ -197,7 +197,7 @@ public class CQueryFetchIds {
dataReader = null;
}
} catch (SQLException e) {
logger.error(null, e);
logger.error("Error closing DataReader", e);
}
try {
if (pstmt != null) {
@@ -205,7 +205,7 @@ public class CQueryFetchIds {
pstmt = null;
}
} catch (SQLException e) {
logger.error(null, e);
logger.error("Error closing PreparedStatement", e);
}
}
@@ -228,6 +228,11 @@ public class CQueryFetchIds {
return Boolean.FALSE;
}
@Override
public boolean isDisableLazyLoading() {
return false;
}
public boolean isRawSql() {
return false;
}