If you do the latter, and Transfer is configured to cache the objects
which you are deleting, you'll need to manually discard them from the
cache after running your SQL statement. Transfer provides you with
four methods for manually discarding objects: discardByClassAndKey(),
discardByClassAndKeyArray(), and discardByClassAndKeyQuery(). One of
the two last ones would probably be appropriate for your use case.
See http://docs.transfer-orm.com/wiki/Managing_the_Cache.cfm for more
details.
Bob
--
Bob Silverberg
www.silverwareconsulting.com