@Transactional(rollbackFor=java.lang.Throwable.class) @Repository public class JPABatchDAO extends AbstractDAO<Batch> implements BatchDAO
LOG
Constructor and Description |
---|
JPABatchDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(String key) |
int |
deleteExpired() |
Batch |
find(String key) |
Batch |
save(Batch batch) |
clear, detach, entityManager, entityManagerFactory, refresh
@Transactional(readOnly=true) public Batch find(String key)
public int deleteExpired()
deleteExpired
in interface BatchDAO
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.