Add parameterized SQL support to Criteria API

Description

To make Criteria queries that use CriteriaBuilder.sql() or Restrictions.sql() safe, we need to support a version of the method that can provide parameters like:

CriteriaBuilder.sql("{alias}.field = ?", "value", Type.STRING);

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Sprint

Affects versions

Priority

PagerDuty

Created June 28, 2017 at 3:22 PM
Updated September 20, 2017 at 3:32 PM
Resolved July 3, 2017 at 1:30 PM

Flag notifications