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:
@@ -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
|
||||
// Copyright (C) 2001 Michael Bayne
|
||||
@@ -347,7 +347,7 @@ public class UserRepository extends JORARepository
|
||||
public Object invoke (Connection conn, DatabaseLiaison liaison)
|
||||
throws PersistenceException, SQLException
|
||||
{
|
||||
Cursor c = _stable.selectAll("");
|
||||
Cursor c = _stable.queryByExample(new Site());
|
||||
|
||||
Iterator itr = c.toArrayList().iterator();
|
||||
while (itr.hasNext()) {
|
||||
|
||||
Reference in New Issue
Block a user