Package org.eclipse.persistence.jpa.jpql

Examples of org.eclipse.persistence.jpa.jpql.TypeHelper.longType()


    IType type = getTypeDeclaration().getType();
    TypeHelper helper = getTypeHelper();

    // Integral types: int/Integer, long/Long => the result is a Long
    if (helper.isIntegralType(type)) {
      return helper.longType();
    }

    // Floating types: float/Float, double/Double => the result is a Double
    if (helper.isFloatingType(type)) {
      return helper.doubleType();
View Full Code Here


    IType type = getTypeDeclaration().getType();
    TypeHelper helper = getTypeHelper();

    // Integral types: int/Integer, long/Long => the result is a Long
    if (helper.isIntegralType(type)) {
      return helper.longType();
    }

    // Floating types: float/Float, double/Double => the result is a Double
    if (helper.isFloatingType(type)) {
      return helper.doubleType();
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.