Search code examples
javaoracle-databasehibernatesynonym

how to map oracle synonyms in hibernate


How could I map an oracle read only synonym to hibernate object?

Thanks


Solution

  • very simple, you just use the name of synonym instead of the table name.