> Criteria API. Put the three REPLACE's in a user defined function. 

  I feel this is the cleanest.

> But the first three feel much too complicated for such a simple problem.

  But I may be biased :)

-----
Pinaki 
--
View this message in context: 
http://openjpa.208410.n2.nabble.com/query-that-uses-String-REPLACE-function-tp6344747p6347041.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to