Re: Problems with views in cayenne

From: Lothar Krenzien (lkrenzie..eb.de)
Date: Fri Sep 16 2005 - 11:54:29 EDT

  • Next message: Gili: "Re: Delete cascade problem"

    Sorry, it was my fault. Now it seems to work. Thanks for allthe help.

    Lothar

    cayenne-use..bjectstyle.org schrieb am 16.09.05 17:15:27:
    >
    >
    > Hi Andrus ,
    >
    > thanks for your suggestion. I checked the properties in the modeler and found that the View had a primary key but on the wrong column. Now I have a PK on a ID and a date column. So the values are guaranteed *unique*. I also compared it with a view which seems to work.
    >
    > So I corrected it, generated and redeployed all the classes and also cleared the tomcat working dir. But unfortunately it didn't helped. The view returns data from january to may but Cayenne gets only the data from march to may. Strangely all the values exists twice in the result list !?
    >
    > Lothar
    >
    >
    ______________________________________________________________
    Verschicken Sie romantische, coole und witzige Bilder per SMS!
    Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193



    This archive was generated by hypermail 2.0.0 : Fri Sep 16 2005 - 11:54:32 EDT