From 35c90b89266d6ca87bc63a81ac6d3dfd6e1ea7b5 Mon Sep 17 00:00:00 2001 From: samskivert Date: Mon, 8 Sep 2008 16:48:32 +0000 Subject: [PATCH] Beans/frank. git-svn-id: https://samskivert.googlecode.com/svn/trunk@2405 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- src/java/com/samskivert/jdbc/depot/DepotRepository.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/com/samskivert/jdbc/depot/DepotRepository.java b/src/java/com/samskivert/jdbc/depot/DepotRepository.java index cd91e4c8..f2bdc732 100644 --- a/src/java/com/samskivert/jdbc/depot/DepotRepository.java +++ b/src/java/com/samskivert/jdbc/depot/DepotRepository.java @@ -209,7 +209,7 @@ public abstract class DepotRepository throws DatabaseException { DepotMarshaller marsh = _ctx.getMarshaller(type); - boolean useExplicit = !skipCache || (marsh.getTableName() == null) || + boolean useExplicit = skipCache || (marsh.getTableName() == null) || !marsh.hasPrimaryKey() || !_ctx.isUsingCache(); // queries on @Computed records or the presence of FieldOverrides use the simple algorithm