Need help with PSQLException

From: Dhruti Ramani (dhrutiraman..ahoo.com)
Date: Thu Jun 02 2005 - 16:11:58 EDT

  • Next message: Paul Furbacher: "Re: Unit test for CayenneClinic (Spring integration demo) -- DataContext binding to threadlocal?"

    Hi,
     
    I have two objects Review(booelan isCompleted, boolean isThordParty) and Deal and one to one relation between them. Initially I am assigning Review to Deal with all fields of Review to be false. Now if I change some fields of Deal and commit it throws this Exception.
     
    "Cannot insert a duplicate key into unique review_deal_id_key"
     
    What am I doing wrong here?
    Thanks,
    Denna

                    
    ---------------------------------
    Discover Yahoo!
     Find restaurants, movies, travel & more fun for the weekend. Check it out!



    This archive was generated by hypermail 2.0.0 : Thu Jun 02 2005 - 16:12:00 EDT