> >
> > Try using *OMGenerator to create Peer / MapBuilder /
>
> Ok, I updated my copy of Turbine and did find the
> Generator classes; in particular, I will be using
> MySqlOMGenerator. Now, this class reads a MySQL script,
> and I understand this script is generated from an
> schema file using MySQLSchemaToDatabaseMap. Ok, the
> java file for this second class states this:
>
>   Right now, the only example of outputting the MapBuilder
>   classes is in the <a href="http://scarab.tigris.org"/>Scarab</a>
>   Project distribution. You also need to write your MySQL schema
>   in a format that this parser can read. For an example of this
>   format, please look at the MySQL schema for the Scarab Project.

I don't exactly remember where but is definitely there somewhere...  Maybe you
might want to try JDBCOMGenerator that takes the Metadata directly from your
database.  You don't have to worry about any funny formatting.

> Where is this file located? I (web-)browsed thought the Scarab
> CVS repository but could not find it, and the Scarab project
> does not have a source download yet. Could anybody send me this
> file via e-mail?
>
> A BIGGER question: should I be using Torque instead?

AFAIK Torque although functional at the moment is not you complete.  You can
create your database schema as an xml file or let the xml file be create for you
from an existing database.  From this xml file you should be able to generate
schemas for a hand full of different databases without any problems.

*OMGenerator will probably be completely integrated in Torque at some stage, but
at the moment Torque is probably the most incomplete part of Turbine.

~ Leon

> Thanks,
>
>
> --
> Gonzalo A. Diethelm
> [EMAIL PROTECTED]
>
>
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]
>



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to