I have a db field (varchar) that may or may not contain leading and trailing spaces. I would like to use query-by-example using this field as part of the object's example criteria but I need some way to tell the example to trim the field. A simple sql query would use: trim(name) = 'bob' Is there any way to configure the query by example to do this? Maybe using some flavor of QueryByExamplePolicy? As always, thanks in advance. Tony -- View this message in context: http://old.nabble.com/QueryByExamplePolicy-tp30284164p30284164.html Sent from the EclipseLink - Users mailing list archive at Nabble.com.
Back to the top