public class JpaEvaluationContextExtension extends Object implements org.springframework.data.spel.spi.EvaluationContextExtension
EvaluationContextExtension
to register EscapeCharacter
as root object to essentially expose an
expose(…)
function to SpEL.Modifier and Type | Class and Description |
---|---|
static class |
JpaEvaluationContextExtension.JpaRootObject |
Constructor and Description |
---|
JpaEvaluationContextExtension(char escapeCharacter)
Creates a new
JpaEvaluationContextExtension for the given escape character. |
Modifier and Type | Method and Description |
---|---|
String |
getExtensionId() |
Object |
getRootObject() |
public JpaEvaluationContextExtension(char escapeCharacter)
JpaEvaluationContextExtension
for the given escape character.escapeCharacter
- the character to be used to escape parameters for LIKE expression.Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.