Hi everyone,
I have a problem using a query unit: I'm using it to find the nearest points to a selected location and I'm returning some oids.
I'm getting data from a table like this:
Image [oid, file (blob type - image), gpsLat, gpsLong]
The query runs fine as the oids are returned correctly.
Now I would like to pass the oids to an index unit, in order to show the image file associated to each oid.
I've tried to bind the output oid of the query to the key condition of the index unit but it didn't work.
I've also tried to render the images directly from the query, but it seems to be a problem related to the data type, returning the following error:
property 'name' not found on type java.lang.string
The query output for the file was set to 'blob' but I found out that in the descriptor the type was effectively java.lang.String, so I changed it to java.sql.Blob, but it didn't worked.
Thanks,
Davide