@groovy.util.logging.Slf4j class EntityCollectionImpl<T, K extends Serializable> extends java.lang.Object implements EntityCollection<T, K>, SessionStore
This class is very simplified, but the first pass was a major pain in the a**! Thank God it's working and I never want to have to relearn JPA from scratch again!
Constructor and description |
---|
EntityCollectionImpl() |
Type Params | Return Type | Name and description |
---|---|---|
|
CollectionQuery<T> |
createQuery(java.lang.String jpql, java.util.Map<java.lang.String, java.lang.Object> namedParams) |
|
CollectionQuery<T> |
createQuery(java.lang.String jpql, java.lang.Object[] positionalParams) |
|
CollectionQuery<T> |
createQuery(java.lang.String jpql) |
|
void |
delete(K id) |
|
T |
find(K id) |
|
EntityCollectionImpl<T, K> |
forTypes(java.lang.Class<T> entityType, java.lang.Class<K> idType) |
|
void |
insert(T instance) |
|
void |
update(T instance) |
|
void |
update(K id, DTO dto) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |