Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

For example, to find a persistent Person instance with primary key 1234 and receive the result in JSON format will be:

http://www.example.com:8080/jest/find/format=json?type=Person&1234Image Removed

The formal notation of a JEST URI is

...

argument-key

argument-value

Comment

q

JPQL or Named Query

e.g. /query/named?q=AllPerson

 

 

or /query?q=select p from Person p

 

 

e.g. /query?q=select p from Person p where p.firstName=:x&x=John

bind parameter

parameter value

the values are converted to match the target type

 

 

e.g. /query?q=select p from Person p where p.gender=:g&g=MALE

...