Constructor and Description |
---|
QueryUtil() |
Modifier and Type | Method and Description |
---|---|
static TypedQuery |
buildQuery(EntityManager entityManager,
Integer maxInClauseElements,
StringBuilder queryStringRef,
String queryStrEnd,
String primaryKeyMemberName,
List<String> primaryKeys,
Class resultClass)
Returns a query of find by ids.
|
public QueryUtil()
public static TypedQuery buildQuery(EntityManager entityManager, Integer maxInClauseElements, StringBuilder queryStringRef, String queryStrEnd, String primaryKeyMemberName, List<String> primaryKeys, Class resultClass)
queryStringRef
- a reference to the query stringqueryStrEnd
- a reference to the query string, usually just ")"primaryKeyMemberName
- name of the column that is the primary keyprimaryKeys
- list of primary key stringsresultClass
- result class to be returnedCopyright © 2004–2014 The Kuali Foundation. All rights reserved.