This commit is contained in:
Lucio Lelii 2008-12-02 17:41:58 +00:00
parent 75bc501aba
commit 58fc35a30b
1 changed files with 4 additions and 0 deletions

View File

@ -227,11 +227,15 @@ public class ModelerService {
ArrayList<List<String>> values= new ArrayList<List<String>>(request.getCollectionElement().length);
ArrayList<String> row=null;
logger.trace("the collection set for"+ dlKey+" are "+request.getCollectionElement().length);
for (int i=0; i<request.getCollectionElement().length; i++)
{
row = new ArrayList<String>(2);
row.add(dlKey);
row.add(request.getCollectionElement()[i]);
values.add(row);
}
DBInterface.connect();
DBInterface.InsertInto("VRERELATEDCOLLECTION", values);