createAll

This commit is contained in:
snoop 2017-06-08 11:14:49 +09:00
parent 809f91c195
commit 0930b4402d

View File

@ -43,6 +43,7 @@ public class JPABaseDAO<T> implements BaseDAO<T> {
}
public int createAll(List<T> entityList) {
EntityTransaction tx = this.entityManager.getTransaction();
if (!tx.isActive()) tx.begin();
try {