posted 13 years ago
Hi everyone,
I'm trying to join two tables that have different column names.
These two tables need to be joined on OWORD_CODE.CODE = OWORD_LANGUAGE = RESOURCE_KEY, but I'm have difficulties doing that. If the columns were named the same, it works fine.
Here is my class for the OWORD_CODE table...
Here is my class for the OWORD_LANGUAGE table...
Here is the code I'm using to retrieve the data...
I get the following error...
ERROR [JDBCExceptionReporter] ORA-00904: "OWORDLANGU0_"."CODE": invalid identifier
and when I look at the logs, I see the select statement that was generated has the column code in the OWORD_LANGUAGE table, but that table does not have a column named code.
What am I doing wrong here?