DB connector, just one result in resultset

1
0
-1

I try to read data from db with db connector. It works in graphical mode, but in scripting mode I get just one only data set:

def list = []
while(resultset.next()) {
list.add(resultset.getString("blablub"))
}

Some ideas?

Comments

Submitted by andrey.alexandr... on Wed, 07/27/2016 - 11:49

Forget it, was my fault

1 answer

1
0
-1
This one is the BEST answer!

It was just a usual copy-paste problem

Notifications