[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ojb-dev
Subject:    [jira] Commented: (OJB-112) Tool for forward engineering from
From:       "Tom Antony (JIRA)" <jira () apache ! org>
Date:       2006-07-26 5:15:16
Message-ID: 7836813.1153890916270.JavaMail.jira () brutus
[Download RAW message or body]

    [ http://issues.apache.org/jira/browse/OJB-112?page=comments#action_12423520 ] 
            
Tom Antony commented on OJB-112:
--------------------------------

Armin,

I was able to reproduce the missing columns for indirection tables. This is a case \
where the indirection table also has explicit mappings. So I have changed the code \
for merging such definitiions. 

I dont think it makes sense for two sets of entities to use one single table as \
indirection table. I mean to say an indirection table like employee_manager can also \
have some of its fields mapped to other persistent objects,  but it doesnt make much \
sense for yet another set of entities say dept and employees to use the same table as \
an indirection table.

Regards,
Tom.

> Tool for forward engineering from repository.xml
> ------------------------------------------------
> 
> Key: OJB-112
> URL: http://issues.apache.org/jira/browse/OJB-112
> Project: OJB
> Issue Type: New Feature
> Affects Versions: 1.0.4
> Reporter: Tom Antony
> Priority: Minor
> Attachments: repository_mappings_test.xml, src-v1.zip, src.zip
> 
> 
> Currently there are no tools which support forward generation from OJB's \
> repository.xml. Such a tool should read in the metadata mappings and generate the \
> Java bean source code as well as SQL schema. The SQL schema can be generated in \
> Torque format so that DDLUtils can generate the DB specific schema.

-- 
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: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic