Class QueryResource


  • @Produces({"application/json","application/xml"})
    @Consumes({"application/json","application/xml"})
    @Path("/{context}/query/")
    public class QueryResource
    extends AbstractQueryResource
    Deprecated.
    Use QueryResource instead.
    PersistenceResource
    • Constructor Detail

      • QueryResource

        public QueryResource()
        Deprecated.
    • Method Detail

      • namedQueryUpdate

        @POST
        @Path("{name}")
        public javax.ws.rs.core.Response namedQueryUpdate​(@PathParam("context")
                                                          java.lang.String persistenceUnit,
                                                          @PathParam("name")
                                                          java.lang.String name,
                                                          @Context
                                                          javax.ws.rs.core.HttpHeaders hh,
                                                          @Context
                                                          javax.ws.rs.core.UriInfo ui)
        Deprecated.
      • namedQuery

        @GET
        @Path("{name}")
        public javax.ws.rs.core.Response namedQuery​(@PathParam("context")
                                                    java.lang.String persistenceUnit,
                                                    @PathParam("name")
                                                    java.lang.String name,
                                                    @Context
                                                    javax.ws.rs.core.HttpHeaders hh,
                                                    @Context
                                                    javax.ws.rs.core.UriInfo ui)
        Deprecated.