hmm selectAll doesn't seem to actually work as expected. Switcheroo to queryByExample.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@1227 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
eric
2003-09-19 19:48:09 +00:00
parent 7169e9960e
commit 780efcb158
@@ -1,5 +1,5 @@
// //
// $Id: UserRepository.java,v 1.30 2003/09/19 17:24:35 ray Exp $ // $Id: UserRepository.java,v 1.31 2003/09/19 19:48:09 eric Exp $
// //
// samskivert library - useful routines for java programs // samskivert library - useful routines for java programs
// Copyright (C) 2001 Michael Bayne // Copyright (C) 2001 Michael Bayne
@@ -347,7 +347,7 @@ public class UserRepository extends JORARepository
public Object invoke (Connection conn, DatabaseLiaison liaison) public Object invoke (Connection conn, DatabaseLiaison liaison)
throws PersistenceException, SQLException throws PersistenceException, SQLException
{ {
Cursor c = _stable.selectAll(""); Cursor c = _stable.queryByExample(new Site());
Iterator itr = c.toArrayList().iterator(); Iterator itr = c.toArrayList().iterator();
while (itr.hasNext()) { while (itr.hasNext()) {