Torque has utility to generate mapping file from
database schema. You can start from it.
http://jakarta.apache.org/turbine/torque/index.html

Ilia
--- Bruce Snyder <[EMAIL PROTECTED]> wrote:
> This one time, at band camp, Cole, Ronald said:
> 
> CR>   Does anyone have a way to turn an Oracle Schema
> into an XSD file to
> CR>feed into the SourceGenerator ?
> CR>
> CR>   I've started writing one. A program that logs
> onto an Oracle
> CR>instance, gets all of the tables in the user's
> schema (from the user_tables
> CR>table) and creates the xsd file. But I figure
> that someone must have crossed
> CR>this bridge before, and I'm not completely sure
> of the format in which the
> CR>xsd file must be written.
> 
> Skip,
> I'm the JDO lead developer. I don't work on the XML
> side. However, it
> seems to me that if you have the DDL, creating a
> schema from this can be
> done in many ways. One of which (and in my opinion,
> the easiest) is via
> the use of XSLT. Just write an XSL and apply it
> using Ant's style task
>
(http://jakarta.apache.org/ant/manual/CoreTasks/style.html).
> 
> The reason for a suggest rather than offering
> something from the Castor
> Project is that I know there is nothing of this sort
> currently included
> in the Castor Project.
> 
> Bruce
> -- 
> perl -e 'print
>
unpack("u30","<0G)U8V4\@4VYY9&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'
> 
>
-----------------------------------------------------------
> 
> If you wish to unsubscribe from this mailing, send
> mail to
> [EMAIL PROTECTED] with a subject of:
>       unsubscribe castor-dev
> 


__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

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

Reply via email to