In your persistence.xml or any other configuration where you place your properties like "hibernate.dialect" or "hibernate.hbm2ddl.auto", you can use "hibernate.default_schema" to point to the schema where the synonym resides.