Beans/frank.

This commit is contained in:
Michael Bayne
2008-09-08 16:48:32 +00:00
parent d5619a3b28
commit 56c4394b29
@@ -209,7 +209,7 @@ public abstract class DepotRepository
throws DatabaseException throws DatabaseException
{ {
DepotMarshaller<T> marsh = _ctx.getMarshaller(type); DepotMarshaller<T> marsh = _ctx.getMarshaller(type);
boolean useExplicit = !skipCache || (marsh.getTableName() == null) || boolean useExplicit = skipCache || (marsh.getTableName() == null) ||
!marsh.hasPrimaryKey() || !_ctx.isUsingCache(); !marsh.hasPrimaryKey() || !_ctx.isUsingCache();
// queries on @Computed records or the presence of FieldOverrides use the simple algorithm // queries on @Computed records or the presence of FieldOverrides use the simple algorithm