DataObjectUtils.objectForPK

From: Claudio Rosati (claudio.rosat..csys.it)
Date: Thu Feb 17 2005 - 12:28:37 EST

  • Next message: Mike Kienenberger: "Re: DataObjectUtils.objectForPK"

    I all,
     
    I create a new object using DataCointext.createAndRegisterNewObject(....).
    Without committing I use DataObjectUtils.objectForPK(...) to retrieve the
    object whose String pk is initialized in the constructor, but the returned
    value is null.
     
    Is that correct? Can I retrieve the object in a different manner (without
    using its reference. The problem is that I'm in a D&D operation and I'm
    moving just the pk String value instead if the object, and this is OK for
    object in the DB, but not for object just created and not yet committed).
     
    Thanks.
     
    CLaudio
     

             Multimedia <http://www.acsys.it/> Division
            

    Claudio Rosati
    Project Manager Advanced Computer Systems S.p.A.
    via Della Bufalotta 378
    00139 Roma, RM
    Italy
    claudio.rosat..csys.it
    tel:
    fax: +39 06 8709 0516
    +39 06 8720 1502
            

     <https://www.plaxo.com/add_me?u=4295038861&v0=140354&k0=586510396> Add me
    to your address book... <http://www.plaxo.com/signature> Want a signature
    like this?
     



    logo_acs_new_small.gif



    This archive was generated by hypermail 2.0.0 : Thu Feb 17 2005 - 12:28:40 EST