Hi,
I saw no obvious way to represent referential integrity constraints if
SQLObject generated the table. I can drop the table that should be
referenced without doing a cascade if the table is generated by SO. My
workaround is to just generate the table via a SQL script, which I really
do not mind as it gives me greater control anyway. Having done that, is
there a way that I can capture the class declaration in case I have to fine
tune it? I know I can do a "_fromDatabase=true" after declaring the class
and then do a dir(MyClass) to find out what its attributes are but that
gives me too much information and not enough information at the same time.
Regards,
Clifford Ilkay
Dinamis Corporation
3266 Yonge Street, Suite 1419
Toronto, Ontario
Canada M4N 3P6
Tel: 416-410-3326
|