Details
-
New Feature
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
The iBATIS SQLMaps resultMap element supports a "select" attribute that maps to another "select" statement to nest complex resultMaps. It would be helpful to allow Abator to provide a configuration option to the "table" element that would map two tables together by Primary Key, ultimately, generating a resultMap implementing the "select" attribute. This would be helpful for tables where two tables are intrinsically linked. The only way around this currently is to create a custom SQLMap, ResultMap, Model, and DAO method outside the scope of Abator, which could become out of sync as Abator is used to rebuild Models, Maps, and Statements.