public class TrainingProgressUnitPersistence extends AbstractPersistence<ProgressPerUnit> implements Serializable
AbstractPersistence.SQL_ORDER
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
logger
The logger.
|
static String |
tableName
The Constant tableName.
|
AND, entityManagerFactory
Constructor and Description |
---|
TrainingProgressUnitPersistence(javax.persistence.EntityManagerFactory factory)
Instantiates a new release persistence.
|
Modifier and Type | Method and Description |
---|---|
List<ProgressPerUnit> |
getTrainingUnitForInternalID(int internalID)
Gets the training unit for internal ID.
|
javax.persistence.criteria.Root<ProgressPerUnit> |
rootFrom(javax.persistence.criteria.CriteriaQuery<Object> cq)
Root from.
|
countItems, create, createNewManager, deleteItemByInternalId, executeCriteriaQuery, executeTypedQuery, getCriteriaBuilder, getEntityManagerFactory, getItemByKey, getItemForInternalID, getRows, getRows, getRowsFiltered, getRowsOrdered, insert, remove, removeAll, update
public static final String tableName
protected static org.slf4j.Logger logger
public TrainingProgressUnitPersistence(javax.persistence.EntityManagerFactory factory)
factory
- the factorypublic javax.persistence.criteria.Root<ProgressPerUnit> rootFrom(javax.persistence.criteria.CriteriaQuery<Object> cq)
JavaPersistenceHandler
rootFrom
in interface JavaPersistenceHandler<ProgressPerUnit>
rootFrom
in class AbstractPersistence<ProgressPerUnit>
cq
- the cqpublic List<ProgressPerUnit> getTrainingUnitForInternalID(int internalID) throws DatabaseServiceException
internalID
- the internal IDDatabaseServiceException
- the database service exceptionCopyright © 2019. All Rights Reserved.