Darian, There isn't a command-line parameter you can pass to Orion to get it to do this, but as was shared with me on this list there's a really nice _free_ utility that does this. It's called p6spy and is located at http://www.provision6.com/
I don't know about your second question, we've never tried to do it. Jeff. On Tue, 5 Mar 2002 18:14:29 -0800 "Darian Shimy" <[EMAIL PROTECTED]> wrote: > Is there a directive to add on the command line to make Orion log all > generated SQL statements? > > Also, if I have a EJB CMP and I am writing a finder method and I want to > pass a JavaBean as a parameter, how do I tell the finder which method or > variable to use in the where clause? Is it possible to declare a > java-Object as a finder parameter with CMP? > > For Example: > > ... where $name = $1.getName() > > > Thanks! >