Adam Heath wrote:

> On Tue, 26 Feb 2002, Dain Sundstrom wrote:
> 
> 
>>dynamic-ql:
>>The new compiler is eye-blink fast, so I added a new query type
>>dynamic-ql. With dynamic-ql you can generate a JBossQL query and pass it
>>along with the parameters to the engine to be compiled and execute at
>>runtime.  To use this query you add an ejbSelect method to your bean
>>with the following signature:
>>
>>    <return-type> ejbSelect<some-name>(String jbossQL, Object[] args)
>>
> 
> Damn, that's cool, can't wait until we switch to work to make use of this.
> 
> Does this cache the compiled form, indexed by <some-name> and jbossQL?


No, I really don't think it is necessary.  Later if someone proves that 
this is a performance problem I'll add some caching, but I think that 
the compile step will be a insignificant when compare to the time 
required to load the result set.

-dain




_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to