Announcement Announcement Module
Collapse
No announcement yet.
Spring Data JPA Method_name_parser Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring Data JPA Method_name_parser

    Hi all,

    simple Question
    which words are supported by the "method name parser" ? or which words are not supported, where can i find theses words?

    thanks,
    itssam
    Last edited by itssam; Nov 10th, 2011, 05:26 AM.

  • #2
    I suggest the reference guide for spring data jpa... That explains all the keywords.

    Comment


    • #3
      I allready read the reference:
      "Declared queries
      Although getting a query derived from the method name is quite convenient, one might face the situation in which either the method name parser does not support the keyword one wants to use or the method name would get unnecessarily ugly. So you can either use JPA named queries through a naming convention (see Section 2.2.3, “Using JPA NamedQueries” for more information) or rather annotate your query method with @Query (see Section 2.2.4, “Using @Query” for details)."

      but there is no reference to the supported words. Do you know a way to find whether a definite/certain word is supported or not?

      Comment


      • #4
        Not sure but the table in section 2.2.2 is quite clear imho...

        Comment


        • #5
          ok I have to express myself properly and rephrase my question:
          are the words count, sort, delete, search, load, add, set, fetch, get ... supported? and how to find which words are not supported?

          thanks in advance

          Comment

          Working...
          X