On Friday 22 August 2008 16:08, Julien Cornuwel wrote: > Matthew Toseland a ?crit : > > > Yes. There is an example in section 5.2.3 of the tutorial (doc/tutorial in the > > source). However, that's assuming you're using an array. If you have to look > > for it in a list, it may be more difficult. You might try with Native Queries > > but I doubt that it would be any more efficient than the above. > > Well native queries really aren't optimised, but maybe I can switch to a > simple array...
They are if you have the relevant jars loaded, and if your query is sufficiently simple that it can be optimised. Which generally won't be the case if you're doing lookups in lists! -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20080822/0c311de6/attachment.pgp>
