Hi James,
just some comments from my (newbie) point of view:
> I see a couple of opportunities:
>
> 1. A mapping file generator to be included in the castor Java source
> generator - the generator currently only generates Java source, while
> requiring the developer to write the mapping file by hand.
I tried this, but (IMHO) found out that the SourceGenerator couldn't do
what I wanted. I created Relations between classes by using the "rel"-Attibute
in the schema file. The "name"-Attribute is forbidden when using "rel",
so I wasn't able to have some "named-relations", like for example:
class A
private Vector foo; (relation to class bar)
The Sourcegenerator (due to schema restrictions) is only able to create:
class A
private Vector bar; (relation to class bar)
So one can't choose the name of these collections.
Perhaps I'm completely wrong, please correct me then (-newbie-).
But if this is true, one pherhaps needs a higher level description
(mapping-file or what ever) than a schema-definition-file.
> 2. A DDL generator included in the Java source generator.
same restriction as 1.
I am using a higher-level xml-definition file to generate
DDL,Java-BO-Sources and the mapping-file.
Regards,
Thomas
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev