Hi,

I have been playing with the inhertence system and have come up
againsts a few chalanges the largest of these being that the process
of creating a subclass instance is not atomic.

I had a hiarchy of

Role(InheritableSQLObject)
Staff(Role)
Professor(Staff)

due to keyword errors the system sucesfully ceated a Role instance and
Staff instance but failed to create a professor instance.

The obvious solution seems to be to do some pre-validation is there a way to get
a list of all the keyword arguments expected by a professor Object?

Then the other question is how to actually implement the validation.
(SQLObject could realy use a before creation hook for this).

regs


Konrad


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to