Results 1 to 2 of 2

Thread: @Query "nativeQuery" opton using parameters

  1. #1
    Join Date
    Nov 2010
    Location
    Oklahoma City, OK, USA
    Posts
    18

    Question @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.

  2. #2
    Join Date
    Nov 2010
    Location
    Oklahoma City, OK, USA
    Posts
    18

    Default

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •