How to store instance of a Class in a specific Database Table
Question: How to store instances of a Class in a new Database Table?
Answer: Some say that we have to create a Data-Admin-DB-Table instance and map that to the class so that the work objects created going forward will now be stored in the new DB Table. But, how can we map the new DB Table to the class? Thanks in advance.
Thanks a lot for your reply Andrew.F But, I am having trouble understanding the step 4. Can you elaborate on step 4 as to how to achieve that because I don't know where we have the provision to change the Table name for a given class? Thanks a lot in advance.
By Default, your work objects will be saved to the table mapped to your class group even if you create DB table mapping for your work object class. For classes that don't belong to any class group, records will go to corresponding table.
A-B-C-Work is Class group mapped to table ABC
A-B-C-Work-Object is case type mapped to table DEF, but still records will go into ABC table because class group of this class is A-B-C-Work.