Class AbstractJpaQuery.TupleConverter
java.lang.Object
org.springframework.data.jpa.repository.query.AbstractJpaQuery.TupleConverter
- Enclosing class:
AbstractJpaQuery
-
Constructor Summary
ConstructorsConstructorDescriptionTupleConverter(ReturnedType type) Creates a newAbstractJpaQuery.TupleConverterfor the givenReturnedType.TupleConverter(ReturnedType type, boolean nativeQuery) Creates a newAbstractJpaQuery.TupleConverterfor the givenReturnedType. -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisConstructorCompatible(Constructor<?> constructor, List<Class<?>> argumentTypes)
-
Constructor Details
-
TupleConverter
Creates a newAbstractJpaQuery.TupleConverterfor the givenReturnedType.- Parameters:
type- must not be null.
-
TupleConverter
Creates a newAbstractJpaQuery.TupleConverterfor the givenReturnedType.- Parameters:
type- must not be null.nativeQuery- whether the actual query is a native one to attempt camelCase property names to snake_case column names translation in case the exact column name is not found using the requested property name.
-
-
Method Details
-
convert
-
isConstructorCompatible
public static boolean isConstructorCompatible(Constructor<?> constructor, List<Class<?>> argumentTypes)
-