Example usage for javax.persistence.criteria Join getJoins

List of usage examples for javax.persistence.criteria Join getJoins

Introduction

In this page you can find the example usage for javax.persistence.criteria Join getJoins.

Prototype

Set<Join<X, ?>> getJoins();

Source Link

Document

Return the joins that have been made from this bound type.

Usage

From source file:org.apache.openjpa.persistence.criteria.CriteriaQueryImpl.java

private void renderJoins(StringBuilder buffer, Collection<Join<?, ?>> joins) {
    if (joins == null)
        return;/* w w w .  ja v  a2 s.c o  m*/
    for (Join j : joins) {
        buffer.append(((CriteriaExpression) j).asVariable(this)).append(" ");
        renderJoins(buffer, j.getJoins());
        renderFetches(buffer, j.getFetches());
    }
}