Hello,

Castor (9.4.1) seems to be great, but I'm missing informations on usage 
profiles. Obviously SourceGenerator is only partially integrated with JDO.

To use castor JDO for project where one starts using existing database
(which by luck is rather generic, e.g. simple ID's, identifyable
relationshipts, constraints expressable using Castor schema), I wanted to 
proceed as follows:

1) Create schema.xsd including as many as possible RDBMS details/constraints
  In same step the mapping file can be generated.
  The mapping shall define set/get-Methods using  the "AsReference" extra
methods.
  I created a prototype to build .xsd and map.xml out of oracle using tcl. 

2) Build Sources using SourceGen

I failed to handle multiple references between 2 entities. How to declace set 
attributes using an individual name (e.g. derived from foreign key name) 
instead classname ?

Are there plans to improve support for reverse enineering, e.g. 
allowing the schema to hold RDBMS mapping info ?
I would prefer such an approach over "annotated source code to derive mapping 
info".

A framework supporting RDBMS and XML would make Castor preferable to e.g. 
Relaxer/OJB... combinations.

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to