|EclipseLink translating # to ? in native query [message #653379]
||Wed, 09 February 2011 15:23
| No real name
Registered: November 2010
We have column in a table which has # at the end. Ex; CAS#|
I am writing native query with intersect and Minus. I have this column in my select. When I run the query, CAS# is translated to CAS?. Which is looking for paramaters.
I tried query.setHint(QueryHints.BIND_PARAMETERS, HintValues.FALSE); . But it replaces # to NULL.
Is there anyway I can let EclipseLink not to translate this. Is there anything I can do.
Powered by FUDForum
. Page generated in 0.12792 seconds