Howdy all,
I've been intrigued over from the Struts mailing list, which I've been using
for quite some time. I am intrigued and inspired by what's going on with
Castor - and I want to use it. I'd like to use Castor on my current project,
but to do this, I'd like to generate all my database-access code directly from
my database schema. CastorOil/SourceGen look like they'll be able to do this
for me.
I'm writing to see if there's any documentation on how to use this tool to
generate a mapping.xml file from my database. I'm using MySQL and can't seem
to get it past creating a text file. Here's what my text file says - are my
schema and catalog correct - I'm not sure what they should be:
Connect using the following:
driver: org.gjt.mm.mysql.Driver
url: jdbc:mysql://localhost/onpoint
username: user
password: pass
schema: onpoint
catalog: onpoint
Castor OIL Database Loader
-----------------------------------------
Database version : 3.23.43-nt
Driver Name : Mark Matthews' MySQL Driver
Driver Version : 2.0
Reading answer_type_code
... and that's as far as it gets!
Thanks,
Matt
__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev