Hello again,
anonymous wrote : If Jboss needs to count the number of records in the DB, then the 
resultset will need to be traversed

I don't think so. JBoss calls the database without any LIMIT/OFFSET-clauses and gets 
back a collection/resultset of primary-keys. It should only do a size() or something 
similar (I don't know exactly what's the resulttype) to the resultset.

Maybe that's kind of a feature-request, but I hoped to get that count without changes 
to JBoss.

So, again some questions:

Is the information about the resultsetsize known in jboss after the database-call?
Is it possible to get this information from JBoss?
If no, what changes should be made to get this information?


I think that I'm not the only one who could benefit from this feature, because 
everytime a big resultset should be displayed in pages (best made with LIMIT/OFFSET) 
the overall-count of the resultset is useful.

Kind Regards,

Silvio


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844765#3844765

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844765


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to