pravin <pravinka...@gmail.com> writes:

> Hi,
> I am new to lift .
> I am using mapper framework.
> i have table emp with name ,salary, location columns
>
>
>  now i want to put query to find employee whose salary is less than
> 10000  and greater that 1000 and location is California.
>
> For this i am using BySql query...as foolows ->
>
> val emp_List = emp_details.findAll(BySql("salary between ? and ?,
> 1000,10000",IHaveValidatedThisSQL("pravin",""2009-08-03)));
>
> but when i compileing this i get following error ->

I don't think this is problem with your sql (though I think you need to
provide the params as a list as the last parameter:-) but with the
encoding of your source file. Please verify that it is UTF8 encoded if
it contains non-ascii characters or specify the correct encoding when
compiling

/Jeppe

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to