Hello,
I found some discussion and try to apply following procedure to display data of external database into table widget.
I’m total new on this environment. pl provide me specific procedure .
I’m using ,
Bonita soft 6.3 communitiy
Oracle database 10g
- Create oracle data source connector.
- Enter database access information
- Write Query : SELECT * FROM ZZ_TEST
- Select scripting mode.
- On output : create variable → type : java.util.list
![df][df] - Available value : default value write following script
final List<List> resultTable = new ArrayList<List>();
int maxColumn = Resultset.getMetaData().getColumnCount()+1;
while(Resultset.next()){
final List row = new ArrayList();
for(int colIndex = 1; colIndex < maxColumn ; colIndex++){
row.add(Resultset.getObject(colIndex));
}
resultTable.add(Collections.unmodifiableList(row));
}