Hi again,
 
I did a change in my code so it ordered the result. Then it worked.

Select p from com.frovi.vmi.entities.impl.simple.ProductImpl p ORDER BY u.productCode

From what I see in the code this seems to stem from that the resultset is decided on by checking if the identity before is the same as entity after. Is this really the way I must do it? Why does not Castor sort by primary key by itself if this is needed.

Regards
Mattias Bogeblad

_______________________________________________________________
Mattias Bogeblad  |  PH: +46 31 799 01 16  |  MOB: +46 702 80 05 05
SPRAWL SOLUTIONS AB
FABRIKSGATAN 7
412 50 GÖTEBORG
FAX: +46 31 799 00 10
_______________________________________________________________

 

Reply via email to