Hi Lukas,

Thanks for following up. The query that I am running looks like this:

select().from("A").join("B").on(some condition)

I tried response as ResultSet also. It is giving me empty table name for 
all the fields.
BTW, if both tables A and B have one attribute with same name e.g.  "xxx" 
what would the response as map (attribute name to value) contain? 

Thanks,
Lokesh

On Tuesday, 22 December 2015 01:08:25 UTC-8, Lukas Eder wrote:
>
> Hi Lokesh,
>
> This would depend on the concrete query that you're running.
>
> - If you're selecting generated TableField instances, then 
> TableField.getTable() can be used
> - If you're selecting plain SQL Fields or aliased fields, or any kind of 
> expression, you'll have to manage yourself.
>
> What does the query you're running look like?
>
> Cheers,
> Lukas
>
>
>
> 2015-12-21 21:09 GMT+01:00 <[email protected] <javascript:>>:
>
>> Hi,
>>
>> From a join query result record, how could I know which field belongs to 
>> which table? Or, how do I group the fields by table name? 
>>
>> Thanks,
>> Lokesh
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "jOOQ User Group" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to