May 23rd, 2012, 11:37 AM
@Query "nativeQuery" opton using parameters
What is the correct syntax for passing parameters when using @Query "nativeQuery" option?
I asked the question over in the Roo forum but no response yet - http://forum.springsource.org/showth...ry-annotations
I didn't see any examples in the documentation.
The native query does work if I hard code the parameters, so I know everything else is working.
Thanks in advance.
May 23rd, 2012, 06:44 PM
I passed on using the nativeQuery option and found a way to do the query with JPQL and query hints - http://forum.springsource.org/showth...587#post413587