From: Matthew B. <mat...@ou...> - 2006-06-15 09:41:22
|
Jon Maber wrote: > Matthew Buckett wrote: > > Did you say if your code is directly calls the SQL or wraps records in > the quotas table in a Bodington PersistentObject subclass? > > If the latter then database reading and writing will operate through a > single instance of that class so you could add a method like this; Which reminds me we currently have a bit of a problem with SoftCache and transactions. If I edit a user (loading the User object then changing the surname) then attempt to save the user which fails (and the DB transaction rolls back). Softcache will still return the modified user. -- -- Matthew Buckett, VLE Developer -- Learning Technologies Group, Oxford University Computing Services -- Tel: +44 (0)1865 283660 http://www.oucs.ox.ac.uk/ltg/ |