Obviosuly a bit new to Hibernate, but I'm struggling if it is possible to do a simple JOIN in JPA/Hibernate ....
I have 2 tables. GAME table and GAME_DESCRIPTION TABLE for example..
I want to map an Entity that contains all the columns of the GAMES table plus the game description from game_description table (so I want to join on the GAME_DESCRIPTION_ID columns from both tables). I tried to map directly to a String ...
But I got a Entity not found java.lang.String error.
So, I then created a GAME_DESCRIPTION entity and tried joining the entities as follows : -
Now I am getting a "Repeated column in mapping for entity: com.sportech.support.jobs.model.sa.Game column: GAME_ID (should be mapped with insert="false" update="false")" error
Any ideas? Many thanks in advance.