Example usage for javax.persistence.criteria CriteriaQuery getClass

List of usage examples for javax.persistence.criteria CriteriaQuery getClass

Introduction

In this page you can find the example usage for javax.persistence.criteria CriteriaQuery getClass.

Prototype

@HotSpotIntrinsicCandidate
public final native Class<?> getClass();

Source Link

Document

Returns the runtime class of this Object .

Usage

From source file:org.jdal.dao.jpa.JpaUtils.java

private static boolean isEclipseLink(CriteriaQuery<?> from) {
    return from.getClass().getName().contains("org.eclipse.persistence");
}