Class JpaParameter
java.lang.Object
org.springframework.integration.jpa.support.JpaParameter
Abstraction of Jpa parameters allowing to provide static parameters
 and SpEl Expression based parameters.
- Since:
- 2.2
- Author:
- Gunnar Hillert, Artem Bilan, Gary Russell
- 
Constructor SummaryConstructorsConstructorDescriptionDefault constructor.JpaParameter(Object value, String expression) Instantiates a new Jpa Parameter without a name.JpaParameter(String name, Object value, String expression) Instantiates a new Jpa Parameter.
- 
Method SummaryModifier and TypeMethodDescriptiongetName()getValue()final voidsetExpression(String expression) voidvoidtoString()
- 
Constructor Details- 
JpaParameterpublic JpaParameter()Default constructor.
- 
JpaParameterInstantiates a new Jpa Parameter.- Parameters:
- name- Name of the JPA parameter, must not be null or empty
- value- If null, the expression property must be set
- expression- If null, the value property must be set
 
- 
JpaParameterInstantiates a new Jpa Parameter without a name. This is useful for specifying positional Jpa parameters.- Parameters:
- value- If null, the expression property must be set
- expression- If null, the value property must be set
 
 
- 
- 
Method Details