|Summary:||rowCount, wasEmpty and wasNotEmpty don't work with resultSet Loop False|
|Product:||Taglibs||Reporter:||Dinesh Somasundram <dinesh>|
|Component:||DBTags Taglib||Assignee:||Tomcat Developers Mailing List <dev>|
Description Dinesh Somasundram 2001-08-19 23:24:17 UTC
Hi There, I'm new to the Java World. I have been fiddling around with the DBTags and found that rowCount, wasEmpty and wasNotEmpty don't seem to work with resultSet Loop False. I don't know if this is a bug or was it meant to be that way, but it certainly would be nice to have those functions working with loop="false". Thank you and regards, Dinesh, S.
Comment 1 Morgan Delagrange 2002-04-15 03:04:12 UTC
These tags cannot work in the current implementation when loop=false. rowcount can only be tracked when the tag controls iteration, and wasEmpty and wasNotEmpty is derived from rowcount. I'll add this to the DBTags documentation, if it's not already there.