I think you should turn on TRACE logging for SQL in your persistence.xml then you can see what SQL OpenJPA is generating and your answer will be there.
<property name="openjpa.Log" value="DefaultLevel=WARN, Runtime=INFO, Tool=INFO, SQL=TRACE"/> Hth Chris -----Original Message----- From: sp reddy [mailto:[email protected]] Sent: Friday, 30 April 2010 2:19 PM To: [email protected] Subject: problem with query.setParameter(values with space) I have a column in DB2 database where the value contains space for example "firstname lastname". when I do query.setParameter(value with space), it doesnot return any record, I was wondering why. any suggestion will be appreciated. Thanks -- View this message in context: http://openjpa.208410.n2.nabble.com/problem-with-query-setParameter-values-w ith-space-tp4983862p4983862.html Sent from the OpenJPA Users mailing list archive at Nabble.com.
