[RESOLVED] Duplicated data after fetching on a view

2011-06-09 Thread naneon . raymond
Message du : 09/06/2011 De : "Alexis Tual " A : naneon.raym...@neuf.fr Copie à : webobjects-dev@lists.apple.com Sujet : Re: Duplicated data after fetching on a view Hi Naneon, my guess is that your entities mapping your views have no primary key def

Re: Duplicated data after fetching on a view

2011-06-09 Thread Alexis Tual
Hi Naneon, my guess is that your entities mapping your views have no primary key defined (i'm not sure it's even allowed)... or the primary key defined is not one (not unique) Cheers Alex Le 9 juin 2011 à 11:00, naneon.raym...@neuf.fr a écrit : > Hi All, > > I create a view to get all data

Duplicated data after fetching on a view

2011-06-09 Thread naneon . raymond
Hi All, I create a view to get all data I want and do a fetch on WO to return specific data. So When I create my fetching code, the sqlExpression is good but return same data several times although it count different data. I.e : Java fetch code: NSMutableArray qualFinal = new NSMutableArra