Package com.blazebit.persistence.impl
Class JpaUtils
java.lang.Object
com.blazebit.persistence.impl.JpaUtils
- Since:
- 1.0.0
- Author:
- Christian Beikov
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
expandBindings
(Map<String, Integer> bindingMap, Map<String, String> columnBindingMap, Map<String, ExtendedAttribute<?, ?>> attributeEntries, ClauseType clause, AbstractCommonQueryBuilder<?, ?, ?, ?, ?> queryBuilder, String keyFunctionExpression, boolean enableElementCollectionIdCutoff) static AttributeHolder
getAttributeForJoining
(EntityMetamodel metamodel, Expression resolvedExpression) static AttributeHolder
getAttributeForJoining
(EntityMetamodel metamodel, PathExpression expression) static AttributeHolder
getAttributeForJoining
(EntityMetamodel metamodel, javax.persistence.metamodel.Type<?> baseNodeType, Expression joinExpression, String baseNodeAlias) static Map<String,
ExtendedAttribute<?, ?>> getCollectionAttributeEntries
(EntityMetamodel metamodel, javax.persistence.metamodel.EntityType<?> entityType, ExtendedAttribute<?, ?> attribute) static Collection<String>
getEmbeddedPropertyPaths
(Map<String, ? extends ExtendedAttribute<?, ?>> attributeEntries, String attributeName, boolean needsElementCollectionIdCutoff, boolean filterCollections)
-
Method Details
-
expandBindings
public static void expandBindings(Map<String, Integer> bindingMap, Map<String, String> columnBindingMap, Map<String, ExtendedAttribute<?, ?>> attributeEntries, ClauseType clause, AbstractCommonQueryBuilder<?, ?, ?, ?, ?> queryBuilder, String keyFunctionExpression, boolean enableElementCollectionIdCutoff) -
getEmbeddedPropertyPaths
public static Collection<String> getEmbeddedPropertyPaths(Map<String, ? extends ExtendedAttribute<?, ?>> attributeEntries, String attributeName, boolean needsElementCollectionIdCutoff, boolean filterCollections) -
getCollectionAttributeEntries
public static Map<String,ExtendedAttribute<?, getCollectionAttributeEntries?>> (EntityMetamodel metamodel, javax.persistence.metamodel.EntityType<?> entityType, ExtendedAttribute<?, ?> attribute) -
getAttributeForJoining
public static AttributeHolder getAttributeForJoining(EntityMetamodel metamodel, PathExpression expression) -
getAttributeForJoining
public static AttributeHolder getAttributeForJoining(EntityMetamodel metamodel, Expression resolvedExpression) -
getAttributeForJoining
public static AttributeHolder getAttributeForJoining(EntityMetamodel metamodel, javax.persistence.metamodel.Type<?> baseNodeType, Expression joinExpression, String baseNodeAlias)
-