This {@link IJPQLQueryFormatter} is used to generate a string representation of a {@link org.eclipse.persistence.jpa.jpql.model.query.StateObject StateObject} based on how it was parsed,which means this formatter can only be used when the {@link org.eclipse.persistence.jpa.jpql.model.query.StateObject StateObject} was created by parsing a JPQL query because it needs toretrieve parsing information from the corresponding {@link org.eclipse.persistence.jpa.jpql.parser.Expression Expression}.
It is possible to partially match the JPQL query that was parsed, the value of the exactMatch will determine whether the string representation of any given {@link org.eclipse.persistence.jpa.jpql.model.query.StateObject StateObject} should reflect the exact string that was parsed.true
will use every bit of information contained in the corresponding {@link org.eclipse.persistence.jpa.jpql.parser.Expression Expression} to perfectly match what was parsed;false
will only match the case sensitivity of the JPQL identifiers.
@version 2.4
@since 2.4
@author Pascal Filion