mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-12 20:43:18 +00:00
Use no-table forms for DatabaseManager query and querySingle methods
git-svn-id: http://scm.dspace.org/svn/repo/trunk@189 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -275,7 +275,7 @@ public class DatabaseManagerTest extends TestCase
|
||||
// Get all the rows
|
||||
context = new Context();
|
||||
TableRowIterator iterator = DatabaseManager.query
|
||||
(context, TABLENAME, "select * from TestTable order by id");
|
||||
(context, "select * from TestTable order by id");
|
||||
|
||||
// Loop through all entries
|
||||
int test = start;
|
||||
@@ -291,7 +291,7 @@ public class DatabaseManagerTest extends TestCase
|
||||
|
||||
// The same thing in reverse order
|
||||
iterator = DatabaseManager.query
|
||||
(context, TABLENAME, "select * from TestTable order by id desc");
|
||||
(context, "select * from TestTable order by id desc");
|
||||
|
||||
// Loop through all entries
|
||||
test = max - 1;
|
||||
|
Reference in New Issue
Block a user