Violation of PRIMARY KEY constraint

From: Leonardo R. Nunes (leonard..umersoft.com)
Date: Sat Nov 22 2003 - 14:47:46 EST

  • Next message: Andrus Adamchik: "Re: Violation of PRIMARY KEY constraint"

    Does cayenne verify if a new object
    (dataContext.createAndRegisterNewObject("MyDataObjectClassName"))
    violates a primary key ?
    Or do I need query the database before create a new DataObject ?
     
    If I need query the database before . is there a way to query the
    objects that was not "commited" ?
     
     
     
     
     
    ********************
    Leonardo R. Nunes
    Sumersoft Tecnologia
    http://www.sumersoft.com
     



    This archive was generated by hypermail 2.0.0 : Sat Nov 22 2003 - 13:45:18 EST