Menu

Queue problem

2004-11-22
2013-03-07
  • André Ribeiro

    André Ribeiro - 2004-11-22

    Hi,

    I have an object which has an CPersistentCollection as attribute. When I invoke the save method, the framework tries to save the principal class first and after saves the collection. This returns an foreign Key error. When the framework stacks the object it puts in the incorrect order. When the framework dequeues it gets the wrong order.

    Thank you,
    Andr Ribeiro

     
    • Nobody/Anonymous

      Hi,

      This framework doesn't support foreing key.
      Delete foreing key or save first the parent object and after the collection, but in the attribute saveautomatic="false"

      Saludos

      Victor (Madrid - Spain)

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.