On Thu, 24 Aug 2000, Jon Stevens wrote:
> Ok,
>
> Is anyone actually using Torque with MySQL? I guess my problem is that I'm
> using MySQL and since I'm generating the .xml file from the JDBC connection,
> the foreign key references are not being created in the .xml file.
>
> So, how can I generate that information without switching to another
> database? I guess we need a DatabaseMapToXMLSchema.java class and we could
> simply use the MySQLSchemaToDatabaseMap.java to create the DatabaseMap to
> pass to the XMLSchema creator.
>
> Someone want to volunteer to take this on or should I do it?
Today is torque day, so I can take a look at it.
Why don't you edit the XML schema directly and add what
you need? I always meant the JDBCToXMLSchema to be used
to grab info that was available and what was missing could
easily be filled in by hand because you would always
be working from the XML schema.
Do you make your changes to the database directly in
MySQL and then regenerate everything?
It just seems a round about way to make a database
map -> xml -> database map -> xml -> sql && om.
You should put whatever you need initially in the
XML schema. I would only ever used the JDBCToXML
once and then hand edit from there.
jvz.
--
Jason van Zyl
[EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]