This one time, at band camp, Roberto Idini said:

RI>I'm new to Castor, I'd like to use it in a new project I'm working on but
RI>there are some points that are not clear to me.
RI>
RI>What I'd like to do is to start from the DB, generate the Java classes and
RI>use these inside the project with all the powerful features given by Castor
RI>(capability to connect to different data source, persistence and
RI>transactionality for example).
RI>
RI>I can't understand if I should start from the DB, generate by hand a file
RI>like invoice.xsd and generate the classes from this and so on... If this
RI>picture is correct (can I generate the .xsd file automatically somehow?) I
RI>can't figure out how to use the file mapping.xml that should help to map
RI>RDBMS to classes...
RI>
RI>Sorry for so many questions together but the project is already started and
RI>I'd really like to use Caster.
RI>

Roberto,

If you're looking to use CastorJDO, generally the sequence of steps
is:

    1) Create database schema
    2) Create Java classes
    3) Create mapping descriptor

These steps could be done in any order. The important thing is that
these three steps must be fulfilled.

If you're looking to use the SourceGenerator, I can't help you
there. Maybe Keith can comment.

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

Reply via email to