git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vre-management/VREModeler@7387 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
75bc501aba
commit
58fc35a30b
|
@ -227,11 +227,15 @@ public class ModelerService {
|
||||||
|
|
||||||
ArrayList<List<String>> values= new ArrayList<List<String>>(request.getCollectionElement().length);
|
ArrayList<List<String>> values= new ArrayList<List<String>>(request.getCollectionElement().length);
|
||||||
ArrayList<String> row=null;
|
ArrayList<String> row=null;
|
||||||
|
|
||||||
|
logger.trace("the collection set for"+ dlKey+" are "+request.getCollectionElement().length);
|
||||||
|
|
||||||
for (int i=0; i<request.getCollectionElement().length; i++)
|
for (int i=0; i<request.getCollectionElement().length; i++)
|
||||||
{
|
{
|
||||||
row = new ArrayList<String>(2);
|
row = new ArrayList<String>(2);
|
||||||
row.add(dlKey);
|
row.add(dlKey);
|
||||||
row.add(request.getCollectionElement()[i]);
|
row.add(request.getCollectionElement()[i]);
|
||||||
|
values.add(row);
|
||||||
}
|
}
|
||||||
DBInterface.connect();
|
DBInterface.connect();
|
||||||
DBInterface.InsertInto("VRERELATEDCOLLECTION", values);
|
DBInterface.InsertInto("VRERELATEDCOLLECTION", values);
|
||||||
|
|
Loading…
Reference in New Issue