The below query is generated in the normal case by hibernate.
select
this_.objid as objid1_0_0_,
this_.name as name2_0_0_,
this_.resourceKey as resource3_0_0_,
this_.uuid as uuid4_0_0_,
this_1_.healthStatus as healthSt1_2_0_,
this_1_.lastSync as lastSync2_2_0_
from
schema1.cluster this_
inner join
schema2.Cluster this_1_
on this_.objid=this_1_.clusterId
In case of Dbtest, i want the query to use mock_schema2.Cluster instead of schema2.Cluster.
I want to know how to modify entity mapping metadata without modifying entity definition.