Class QueryResource
java.lang.Object
org.eclipse.persistence.jpa.rs.resources.common.AbstractResource
org.eclipse.persistence.jpa.rs.resources.common.AbstractQueryResource
org.eclipse.persistence.jpa.rs.resources.unversioned.QueryResource
@Deprecated
@Produces({"application/json","application/xml"})
@Consumes({"application/json","application/xml"})
@Path("/{context}/query/")
public class QueryResource
extends AbstractQueryResource
Deprecated.
PersistenceResource
-
Field Summary
Fields inherited from class org.eclipse.persistence.jpa.rs.resources.common.AbstractResource
APPLICATION_SCHEMA_JSON, APPLICATION_SCHEMA_JSON_TYPE, factory, SERVICE_VERSION_FORMAT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
namedQuery
(String persistenceUnit, String name, jakarta.ws.rs.core.HttpHeaders hh, jakarta.ws.rs.core.UriInfo ui) Deprecated.jakarta.ws.rs.core.Response
namedQueryUpdate
(String persistenceUnit, String name, jakarta.ws.rs.core.HttpHeaders hh, jakarta.ws.rs.core.UriInfo ui) Deprecated.Methods inherited from class org.eclipse.persistence.jpa.rs.resources.common.AbstractQueryResource
buildQueryOptionsResponse, namedQueryInternal, namedQueryUpdateInternal
Methods inherited from class org.eclipse.persistence.jpa.rs.resources.common.AbstractResource
buildPersistenceContextFactory, getMatrixParameters, getPersistenceContext, getPersistenceFactory, getPersistenceFactory, getQueryParameters, getRelationshipPartner, isValidVersion, marshallMetadata, setPersistenceFactory, setRequestUniqueId
-
Constructor Details
-
QueryResource
public QueryResource()Deprecated.
-
-
Method Details
-
namedQueryUpdate
@POST @Path("{name}") public jakarta.ws.rs.core.Response namedQueryUpdate(@PathParam("context") String persistenceUnit, @PathParam("name") String name, @Context jakarta.ws.rs.core.HttpHeaders hh, @Context jakarta.ws.rs.core.UriInfo ui) Deprecated. -
namedQuery
@GET @Path("{name}") public jakarta.ws.rs.core.Response namedQuery(@PathParam("context") String persistenceUnit, @PathParam("name") String name, @Context jakarta.ws.rs.core.HttpHeaders hh, @Context jakarta.ws.rs.core.UriInfo ui) Deprecated.
-
QueryResource
instead.