db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fox <Thomas....@seitenbau.net>
Subject RE: location of save() methods
Date Sat, 11 Feb 2012 05:00:40 GMT
ok, so it seems that you are not convinced of relocating the save methods,
and so the default location of the save methods should stay as they are.

I'd then go for the following:

- modify the template for the save methods such that it can be used in the
peer classes as well as in the dbobject classes (from looking at it this
should not bee too difficult)
- add a generation option for the location of the save methods, defaulting
to the dbobject methods.
ok ?

If the location of the save methods is the peer classes, public isSaving()
and setSaving() methods are needed. Is it ok to add them even if the save
methods are in the dbObject methods (in the spirit of TORQUE-116 )


To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org

View raw message