Examples of IJPAVersion


Examples of org.eclipse.persistence.jpa.jpql.spi.IJPAVersion

   * @param identifier The JPQL identifier to validate
   * @return <code>true</code> if the given identifier is part of the current JPA version or was
   * defined in previous release; <code>false</code> otherwise
   */
  private boolean isValidVersion(String identifier) {
    IJPAVersion identifierVersion = JPQLExpression.identifierVersion(identifier);
    return getJPAVersion().isNewerThanOrEqual(identifierVersion);
  }
View Full Code Here

Examples of org.eclipse.persistence.jpa.jpql.spi.IJPAVersion

   * Retrieves the JPA version in which the identifier was first introduced.
   *
   * @return The version in which the identifier was introduced
   */
  IJPAVersion identifierVersion(String identifier) {
    IJPAVersion version = identifiersVersions.get(identifier.toUpperCase());
    return (version != null) ? version : IJPAVersion.VERSION_1_0;
  }
View Full Code Here

Examples of org.eclipse.persistence.jpa.jpql.spi.IJPAVersion

   * Retrieves the JPA version in which the identifier was first introduced.
   *
   * @return The version in which the identifier was introduced
   */
  IJPAVersion identifierVersion(String identifier) {
    IJPAVersion version = identifiersVersions.get(identifier.toUpperCase());
    return (version != null) ? version : IJPAVersion.VERSION_1_0;
  }
View Full Code Here

Examples of org.eclipse.persistence.jpa.jpql.spi.IJPAVersion

   * @param identifier The JPQL identifier to validate
   * @return <code>true</code> if the given identifier is part of the current JPA version or was
   * defined in previous release; <code>false</code> otherwise
   */
  private boolean isValidVersion(String identifier) {
    IJPAVersion identifierVersion = JPQLExpression.identifierVersion(identifier);
    return getJPAVersion().isNewerThanOrEqual(identifierVersion);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.