public final class JpaUtils extends ObjectSE
| 修飾子と型 | フィールドと説明 |
|---|---|
static StringSE | DELETE_ALL_QUERY_STRING |
| 修飾子と型 | メソッドと説明 |
|---|---|
static <T> QuerySE | applyAndBind(StringSE queryString, IterableSE<T> entities, EntityManagerSE entityManager) 指定されたエンティティを参照する where 句を作成し、指定されたクエリ文字列に追加します。 |
static StringSE | detectAlias(StringSE query) 指定された JPA クエリから取得するエンティティのエイリアスを解決します。 |
static StringSE | getEntityName(EntityManagerSE em, ClassSE<?> entityClass) |
static StringSE | getQueryString(StringSE template, StringSE entityName) 指定されたクラス名のクエリ文字列を返します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic static StringSE detectAlias(StringSE query)
query - クエリ。public static <T> QuerySE applyAndBind(StringSE queryString, IterableSE<T> entities, EntityManagerSE entityManager)
T - エンティティ型。queryString - クエリ文字列。entities - エンティティ。entityManager - エンティティマネージャー。public static StringSE getQueryString(StringSE template, StringSE entityName)
template - テンプレート。entityName - エンティティ名。public static StringSE getEntityName(EntityManagerSE em, ClassSE<?> entityClass)