bug in objectId generation?

From: Tomas Jucius (entire..mail.com)
Date: Wed Mar 15 2006 - 09:18:02 EST

  • Next message: Andrus Adamchik: "Re: bug in objectId generation?"

    Hi,

    I have found that ObjectId class constructor uses 8 byte objectId
    generation:

        public ObjectId(String entityName) {
            this.entityName = entityName;
            this.key = IDUtil.pseudoUniqueByteSequence8(); // Returns 8 byte
    key - something strange..
        }

    So it is possible to create only 2^8 new objects with
    createAndRegisterNewObject().....

    Shouldn't you change this????

    I am using Cayenne 1.2M11..

    TJ



    This archive was generated by hypermail 2.0.0 : Wed Mar 15 2006 - 09:18:05 EST