diff --git a/src/java/com/samskivert/jdbc/depot/DepotRepository.java b/src/java/com/samskivert/jdbc/depot/DepotRepository.java index bb7f5206..2fbbe22f 100644 --- a/src/java/com/samskivert/jdbc/depot/DepotRepository.java +++ b/src/java/com/samskivert/jdbc/depot/DepotRepository.java @@ -104,17 +104,6 @@ public class DepotRepository }); } - /** - * Executes and caches the supplied collection query if the supplied key is - * not in the cache, returns the existing cached values otherwise. - */ - protected T findAll ( - String index, Comparable key, CollectionQuery query) - throws PersistenceException - { - return null; - } - /** * Inserts the supplied persistent object into the database, assigning its * primary key (if it has one) in the process. @@ -535,7 +524,12 @@ public class DepotRepository } protected static abstract class CollectionQuery + extends Query { + public CollectionQuery (Key key) { + super(key); + } + public abstract T invoke (Connection conn) throws SQLException; }