turbine-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gaasch, Derek" <dgaa...@montana.edu>
Subject Criteria Question -- mySQL "Limit" or howto select first X rows r eturned
Date Tue, 04 Feb 2003 00:32:55 GMT

I'm looking for a way to select the first x rows in a table instead of
returning all the rows and then just iterating through the first x values
returned.... with mySQL there's a limit clause, but I cant find a criteria
method which uses it... anyone know of one? If not, I know I can just issue
a direct query, but thought I'd like to stick with Criteria objects (unless
theres a good reason not to).

Thanks
-d

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


Mime
View raw message