spatial operations with selectQuery

2013-01-29 Thread Rafael López Torres
Hi, I need some help with spatial operations in cayenne. How can i do spatial operations with SelectQuery? With SQLTemplate, no problem, but prefetching not working for me, and performance is very bad. The next code is for SQLTemplate prefetch: SQLTemplate sqlQuery = new SQLTemplate(

Re: spatial operations with selectQuery

2013-01-29 Thread Aristedes Maniatis
On 29/01/13 8:54pm, Rafael López Torres wrote: SQLTemplate sqlQuery = new SQLTemplate( Recinto.class, SELECT + #result('t1.ID_RECINTO_ALFANUM' 'Long' '' 'toRecintoAlfanum.ID_RECINTO_ALFANUM'),