Re: Row limit for finder methods ?!

2002-02-12 Thread Linus Larsen
You could either edit the orion-ejb-jar.xml. And change the generated SQL, but this will be overwritten next time orion is started. Another way is to specify a finder query in your EJBHome inteface like this: String findByRecipient_query = Message.recipient = $1; Collection

Re: Row limit for finder methods ?!

2002-02-12 Thread Fredrik Ă…lund
Neither is LIMIT supported by standard SQL, so it would reduce portability to use it in the generated SQL as well. /Fredrik You could either edit the orion-ejb-jar.xml. And change the generated SQL, but this will be overwritten next time orion is started. Another way is to specify a