I have a named query to search for customer name as shown below. This is currently matching all the customers whose names have the specified search criteria in any part of their name (equivalent to %search%).
"SELECT t FROM Customer t WHERE t.name like :search"
How do i specify the named query so that it matches only the start of the name with the criteria specified using named queries?
Regards,