Resultset

Hi

when I call:

rs.next()

the ResultSet Object generates an exception telling me that I need a scrollable resultset.

As far as I know this is a requirement if you call rs.absolute() or rs.first()

Am I doing sth wrong?

Thanks

[274 byte] By [charllescubaa] at [2007-11-27 10:43:15]
# 1

Please post your relevent code using the formatting tags.

In future JDBC questions should be posted into the JDBC forum

cotton.ma at 2007-7-28 19:59:08 > top of Java-index,Java Essentials,Java Programming...
# 2

Sure :)

most people are always in this forum thats why I came here

Tnx anyway

charllescubaa at 2007-7-28 19:59:08 > top of Java-index,Java Essentials,Java Programming...
# 3

May be the result set is empty.

manuel.leiriaa at 2007-7-28 19:59:08 > top of Java-index,Java Essentials,Java Programming...
# 4

> May be the result set is empty.

No.

cotton.ma at 2007-7-28 19:59:08 > top of Java-index,Java Essentials,Java Programming...
# 5

The next() should return a boolean and not an exception

Weird things are happening here

charllescubaa at 2007-7-28 19:59:08 > top of Java-index,Java Essentials,Java Programming...
# 6

> The next() should return a boolean and not an

> exception

>

> Weird things are happening here

Would you like to do what I suggested in reply #1 and post your code please?

cotton.ma at 2007-7-28 19:59:08 > top of Java-index,Java Essentials,Java Programming...