mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Reverting back the other databases to use the arrays.
This commit is contained in:
parent
4018d582ed
commit
5570349cd1
@ -376,9 +376,8 @@ public class ProcessorImpl implements Processor {
|
||||
} else {
|
||||
query += "?) ORDER BY DEVICE_ID";
|
||||
stmt = conn.prepareStatement(query);
|
||||
for (int i = 0; i < devices.size(); i++) {
|
||||
stmt.setInt(i, devices.get(i).getId());
|
||||
}
|
||||
Array array = conn.createArrayOf("INT", Utils.getArrayOfDeviceIds(devices));
|
||||
stmt.setArray(1, array);
|
||||
}
|
||||
rs = stmt.executeQuery();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user