[PEAK] strategy question about generating oids

R. David Murray rdmurray at bitdance.com
Wed Oct 27 16:45:40 EDT 2004


I have some database tables for which I want to have an OID that
is a monotonically increasing integer for each new record.  What's
the best strategy for doing this in PEAK?  My specific question, I
guess, is how do I (and should I be trying to) avoid doing a flush()
after creating a new object just so the id will get assigned so
it can be used as a foreign key elsewhere?

--David



More information about the PEAK mailing list