Ask a Question related to MySQL, Design and Development.
-
monty #1
java ResultSet size
let's say I did a simple query on a database like
show tables;
in java, i get a ResultSet
how can I get the total number of rows in the ResultSet?
i tried getFetchSize(), but it seems it doesn't work (unless i'm missing
something)
i don't want to do
last()
and then
getRow()
i'm sure there's a better method to do that
thanks in advance for your help
Nicola
monty Guest
-
Mapping Java ResultSet to Flex
I finally got java and flex working together as a team yesterday. After creating simple programs such as fetching string and calculating factorial,... -
file size and JAVA script
Hello all, having created an InDesign document, output it to pdf with adjusted smallest file size, coming out with around 100kb. After adding... -
Resultset Comparison
Hi, I have two resultsets from 2 different datasource. Say DSN1 and DSN2. I need to Compare and display if this condition is... -
JDBC ResultSet - Where is its stored? DB2 client app or Java program's JVM?
When a Java program executes a SQL query using JDBC, is the ResultSet data stored in the DB2 Client process or in the JVM for the Java program? The... -
Setting shared pool size and Java pool size on 9i
"Anton Buijs" <aammbuijs@xs4all.nl> wrote in message news:3df7905b$0$11753$e4fe514c@news.xs4all.nl... Just to be picky, but since the thread... -
Daniel Schneller #2
Re: java ResultSet size
As far as I remember, there is no way to directly query the number of
rows in a resultset.
Daniel
Daniel Schneller Guest
-
Unregistered #3
Java ResultSet Size
There is no direct method to get the count . either u should iterate result set or u should use
rs.last and rs.getRow.Unregistered Guest



Reply With Quote

