You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by "Thomas Fischer (JIRA)" <ji...@apache.org> on 2006/06/15 12:14:31 UTC

[jira] Resolved: (TORQUE-22) Enhanced Database Mapping info

     [ http://issues.apache.org/jira/browse/TORQUE-22?page=all ]
     
Thomas Fischer resolved TORQUE-22:
----------------------------------

    Resolution: Fixed
     Assign To: Thomas Fischer

Applied the patch to svn, with some minor changes:
- the position of the ColumnMap and the useInheritance of the TableMap are now set by the MapBuilder.
- the getTableMap() in the peer class does not check whether the Map Builder has built the table Map. Instead, it is made sure that the Peer class is loaded by assigning the DATABASE_NAME and TABLE_NAME static members in a static initializer instead of generation.
- added some javadoc.

> Enhanced Database Mapping info
> ------------------------------
>
>          Key: TORQUE-22
>          URL: http://issues.apache.org/jira/browse/TORQUE-22
>      Project: Torque
>         Type: Improvement

>   Components: Generator, Runtime, Test Project
>     Versions: 3.2
>     Reporter: CG Monroe
>     Assignee: Thomas Fischer
>      Fix For: 3.2.1
>  Attachments: MapEnhancements-ChangeLog.txt, MapEnhancements-v060605.zip, TemplatesUpdatedWithDeepCopyPatch.zip
>
> The attached zip file makes the Database Map information much more robust and useful.  Basic features added:
> If an application needs a fully populated  Database Map structures, this can be done via the DatabaseMap.initialize() method.
> *Map classes will now preserve XML order and store many more XML attritbutes, including Inheritance information.
> MapBuilder template re-done to be more readable and expandable.
> The TableMap object can be used to get the associated Peer, OM, and Manager (if applicable) Class objects. 
> Access to TableMap structures made easier in Peer ( existing method changed to public) and OM classes. (The theory here is that TableMap should know all this info and there should be an easy way to get there).
> Test-project now has DatabaseMap test suite that tests most of these features.
> Some misc Javadoc/synchronizing changes.
> Has been tested with aliased tables, beans, managers, DB schema's with different packages during development (test suite doesn't test all of these combinations yet..)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org