mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 15:33:09 +00:00
[DS-841] No such column rnum error in eperson admin with Oracle backend. (Patch by Hardy Pottinger).
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6388 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -351,7 +351,7 @@ public class EPerson extends DSpaceObject
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Get all the epeople that match the query
|
// Get all the epeople that match the query
|
||||||
TableRowIterator rows = DatabaseManager.queryTable(context, "eperson",
|
TableRowIterator rows = DatabaseManager.query(context,
|
||||||
dbquery, paramArr);
|
dbquery, paramArr);
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@@ -473,7 +473,7 @@ public class EPerson extends DSpaceObject
|
|||||||
|
|
||||||
// NOTE: The use of 's' in the order by clause can not cause an SQL
|
// NOTE: The use of 's' in the order by clause can not cause an SQL
|
||||||
// injection because the string is derived from constant values above.
|
// injection because the string is derived from constant values above.
|
||||||
TableRowIterator rows = DatabaseManager.queryTable(context, "eperson",
|
TableRowIterator rows = DatabaseManager.query(context,
|
||||||
"SELECT * FROM eperson ORDER BY "+s);
|
"SELECT * FROM eperson ORDER BY "+s);
|
||||||
|
|
||||||
try
|
try
|
||||||
@@ -955,7 +955,7 @@ public class EPerson extends DSpaceObject
|
|||||||
List<String> tableList = new ArrayList<String>();
|
List<String> tableList = new ArrayList<String>();
|
||||||
|
|
||||||
// check for eperson in item table
|
// check for eperson in item table
|
||||||
TableRowIterator tri = DatabaseManager.queryTable(myContext, "item",
|
TableRowIterator tri = DatabaseManager.query(myContext,
|
||||||
"SELECT * from item where submitter_id= ? ",
|
"SELECT * from item where submitter_id= ? ",
|
||||||
getID());
|
getID());
|
||||||
|
|
||||||
@@ -976,7 +976,7 @@ public class EPerson extends DSpaceObject
|
|||||||
}
|
}
|
||||||
|
|
||||||
// check for eperson in workflowitem table
|
// check for eperson in workflowitem table
|
||||||
tri = DatabaseManager.queryTable(myContext, "workflowitem",
|
tri = DatabaseManager.query(myContext,
|
||||||
"SELECT * from workflowitem where owner= ? ",
|
"SELECT * from workflowitem where owner= ? ",
|
||||||
getID());
|
getID());
|
||||||
|
|
||||||
@@ -997,7 +997,7 @@ public class EPerson extends DSpaceObject
|
|||||||
}
|
}
|
||||||
|
|
||||||
// check for eperson in tasklistitem table
|
// check for eperson in tasklistitem table
|
||||||
tri = DatabaseManager.queryTable(myContext, "tasklistitem",
|
tri = DatabaseManager.query(myContext,
|
||||||
"SELECT * from tasklistitem where eperson_id= ? ",
|
"SELECT * from tasklistitem where eperson_id= ? ",
|
||||||
getID());
|
getID());
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user