3 Replies Latest reply on Jul 29, 2008 6:49 PM by Robert Diaz

    Associations Not Persisting

    Robert Diaz Newbie

      Hi all,
      I'm having a slight problem with getting my changes to commit to the database. What I have is a Person object, an Organization object, and PersonOrganization, which is the association between them. Person represents the user and Organization represents an organization, which won't change when the user updates their information. PersonOrganization is supposed to change when the user updates because all that's happening is the user is changing which organization they are in. For some reason, when a user changes what organization they are in, the changes are not reflected in the database. I know that I can change things just fine, because I can do everything else just fine, like creating a user and creating an organization. I'm not sure if there is something special that I have to do in this case because only one side of the association is changing.


      I'm using Hibernate 3.2.4.sp1 and Seam 2.0.2.SP1.


      Thanks in advance.


      Robert