This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
and some fileds to second table with different entity name
<class name="com.something.TestClass " table="TEST_TABLE_OTHER" entity-name="TestTableOtherTestClass">
<id name="filed2" column="FIELD2" />
<property name="filed4" column="FIELD4" />
<property name="filed5" column="FIELD5" />
Now my requirement is save entries to both the tables in single transaction,
But unfotunately its saving only the first save. i.e TestTableTestClass enitity to corresponding table. If change the order then also only first save is working and second is not.
Neither its throwing any error.... Not sure whats the error.
Can somebody help me....
Joined: Oct 07, 2008
Hi, did i post this in wrong forum ? Shouldn't it be under Object relational Mapping