Class EclipseLinkJPQLQueryFormatter

All Implemented Interfaces:
IJPQLQueryFormatter, EclipseLinkStateObjectVisitor, StateObjectVisitor

public class EclipseLinkJPQLQueryFormatter extends AbstractJPQLQueryFormatter implements EclipseLinkStateObjectVisitor
The default implementation of a IJPQLQueryFormatter that adds support for formatting EclipseLink specific JPQL identifiers. It supports creating a string representation of a JPQL query written for JPA 1.0 and 2.1 and with EclipseLink 1.x and 2.x.
Since:
2.4
Version:
2.4
  • Constructor Details

    • EclipseLinkJPQLQueryFormatter

      public EclipseLinkJPQLQueryFormatter(IJPQLQueryFormatter.IdentifierStyle style)
      Creates a new EclipseLinkJPQLQueryFormatter.
      Parameters:
      style - Determines how the JPQL identifiers are written out
      Throws:
      NullPointerException - The IdentifierStyle cannot be null