object id's are not sequential - ?

From: Matt Kerr (mat..entralparksoftware.com)
Date: Sun Jan 09 2005 - 22:32:45 EST

  • Next message: Koka: "Re: Newbie: connected user"

    dear list members -

    forgive potentially obvious question ..

    i call dataContext.createAndRegisterNewObject()
    on objects A, B, and C .. respectively.

    after commitChanges() the object id's (pk) in the db
    do not have the same ordering ?

    they appear like ...

            1 - C
            2 - A
            3 - B

    or whatever :-/

    is there some way to have the id's follow the
    same ordering as the createAndRegisterNewObject() invocations?

    (aside from being heavy handed, and calling commitChanges())

    thanks!
    -matt

    ~~
    Marriage changes passion. Suddenly you're in bed with a relative.



    This archive was generated by hypermail 2.0.0 : Sun Jan 09 2005 - 22:32:55 EST