Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The fields map can help hide the names of the actual table columns/record fields from the Web frontend. Example, the users will know that the 'level' property is available while internally it will be converted to a LEVEL_COLUMN name.

Warning: Using the SQLPrinterVisitor may leave your service open to SQL injection attacks. Please take appropriate steps (for example validating queries using a custom PropertyValidator, or manually escaping the input values.

JPA 2.0

CXF 2.6.4 and CXF 2.7.1 introduce org.apache.cxf.jaxrs.ext.search.jpa.JPATypedQueryVisitor and org.apache.cxf.jaxrs.ext.search.jpa.JPACriteriaQueryVisitor which can be used to capture FIQL/OData expressions into
javax.persistence.TypedQuery or javax.persistence.criteria.CriteriaQuery objects.

...