Use get() in our convenience methods.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@1757 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2006-01-15 05:21:43 +00:00
parent 4b81ea76b8
commit 2d47fd2690
@@ -101,7 +101,7 @@ public abstract class JORARepository extends SimpleRepository
public Object invoke (Connection conn, DatabaseLiaison liaison)
throws SQLException, PersistenceException
{
return table.select(query).next();
return table.select(query).get();
}
});
}
@@ -118,7 +118,7 @@ public abstract class JORARepository extends SimpleRepository
public Object invoke (Connection conn, DatabaseLiaison liaison)
throws SQLException, PersistenceException
{
return table.queryByExample(example).next();
return table.queryByExample(example).get();
}
});
}
@@ -136,7 +136,7 @@ public abstract class JORARepository extends SimpleRepository
public Object invoke (Connection conn, DatabaseLiaison liaison)
throws SQLException, PersistenceException
{
return table.queryByExample(example, mask).next();
return table.queryByExample(example, mask).get();
}
});
}