Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] ORDER BY RANDOM() in JPA?
suggests a more efficient implementation but depends upon the existence of
RAND(). Does JPQL guarantee the existence of all SQL-92 or SQL-99 functions?
Can I assume that RAND() is defined?


cowwoc wrote:
> Hi,
> Is there a portable way to select N random rows using JPA?
> lists different vendor-specific
> ways to do this but obviously I would prefer using a portable JPA query
> instead.
> Thank you,
> Gili

View this message in context:
Sent from the EclipseLink - Users mailing list archive at

Back to the top