[Lift] Re: Problems with ByList on M5

2009-09-15 Thread harryh
Though strangely enough, this compiles fine: val ids: List[Long] = List(1,2,3) val venues = Venue.findAll(ByList(Venue.id, ids) Weird! -harryh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post

[Lift] Re: Problems with ByList on M5

2009-09-15 Thread Ross Mellgren
Probably because here you've fixed the type of the list to Long, whereas before it was List[Int] since you didn't specify L, e.g. instead of val venues = Venue.findAll(ByList(Venue.id, List(1, 2, 3))) // -- List [Int] by default try val venues = Venue.findAll(ByList(Venue.id, List(1L, 2L,