Hello, Thanks for your message. However, I'm not 100% sure how to understand the code examples. What's a.name / b.name / Tables.B.name? Is "name" a placeholder for a column name that is present in both A and B?
Cheers, Lukas 2015-07-17 19:48 GMT+02:00 <[email protected]>: > Hi, > > Using Jooq 3.6.1, In a situation similar to the following: > > <type> a = Tables.A.as("a"); > <type> b = Tables.B.as("b"); > > Record record = ... .select(a.name, b.name) ... > > record.getValue(Tables.B.name) was returning the value fetched for a.name. > > I know it doesn't make sense that the code was using aliases during the > select and not during getValue - however I feel it would be a good safety > measure for jooq to not match anything at all in this case, or ideally > throw an exception. > > I haven't checked the result using Jooq 3.6.2 but the changelog doesn't > seem to list anything relevant to this situation. > > Cheers, > Dave > > -- > 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. > -- 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.
