Class JpaUtils


  • public final class JpaUtils
    extends Object
    Since:
    1.0.0
    Author:
    Christian Beikov
    • Method Detail

      • getEmbeddedPropertyPaths

        public static Collection<String> getEmbeddedPropertyPaths​(Map<String,​com.blazebit.persistence.spi.ExtendedAttribute<?,​?>> attributeEntries,
                                                                  String attributeName,
                                                                  boolean needsElementCollectionIdCutoff,
                                                                  boolean filterCollections)
      • getCollectionAttributeEntries

        public static Map<String,​com.blazebit.persistence.spi.ExtendedAttribute<?,​?>> getCollectionAttributeEntries​(com.blazebit.persistence.parser.EntityMetamodel metamodel,
                                                                                                                                javax.persistence.metamodel.EntityType<?> entityType,
                                                                                                                                com.blazebit.persistence.spi.ExtendedAttribute<?,​?> attribute)
      • getAttributeForJoining

        public static AttributeHolder getAttributeForJoining​(com.blazebit.persistence.parser.EntityMetamodel metamodel,
                                                             com.blazebit.persistence.parser.expression.PathExpression expression)
      • getAttributeForJoining

        public static AttributeHolder getAttributeForJoining​(com.blazebit.persistence.parser.EntityMetamodel metamodel,
                                                             com.blazebit.persistence.parser.expression.Expression resolvedExpression)
      • getAttributeForJoining

        public static AttributeHolder getAttributeForJoining​(com.blazebit.persistence.parser.EntityMetamodel metamodel,
                                                             javax.persistence.metamodel.Type<?> baseNodeType,
                                                             com.blazebit.persistence.parser.expression.Expression joinExpression,
                                                             String baseNodeAlias)