-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How work with ALIASES, why row has column name without declared alias? #179
Comments
@nikita-mtd Have you solved this problem? cc: @jklingsporn |
@jklingsporn any updates? |
Can you help me understand the issue better? I'm assuming you craft a query with a |
Exactly, I'm executing a query with a JOIN between tables with the same column names. Let's have a look on the simple example:
jOOQ query:
Context:
Libs:
|
Have you tried to work with aliases for the columns directly?
|
Yes, I've tried:
It will work, but in case of returning a lot of columns, I need to add a lot of boilerplate like that. |
Have problem - I build request with join to column that has columns with same name as core table column name. I used aliases, but Row model, has column name without alias prefix(example: Row.toJson(), and 37 values united to 20 values because, we have duplicate names) and how adapter RowMappers do it?
The text was updated successfully, but these errors were encountered: