I wonder if hibernate supports such an illustriation;
<class name = "Test" table = "TestA,TestB,TestC" >
<id name = "TestA.ID" .....
</id>
<property name= "name" column = "TestB.Name"/>
...
...
...
</class>
I mean; When I write multiple table names, does hibernate join them for serve by default (I know it is not easy-)))) or no such methodology was designed in hibernate? If not, how can I put a join expression to get a property:
<class name = "Test" table = "TestA" >
.....
.....
<property name= "name" formula= "Select TestA.Name from TestA,TestB,TestC where TestA.ID =TestB.TestA_ID and TestC.ID = TestC.TestB_ID") />
|