added maven embedded deployment with mvn tomee:run

This commit is contained in:
Athou
2013-03-22 19:43:19 +01:00
parent bb3431a510
commit c6ec3c9517
5 changed files with 75 additions and 3 deletions

View File

@@ -1,5 +1,6 @@
package com.commafeed.backend.dao;
import java.io.Serializable;
import java.util.List;
import javax.annotation.PostConstruct;
@@ -13,9 +14,8 @@ import com.google.common.reflect.TypeToken;
import com.uaihebert.factory.EasyCriteriaFactory;
import com.uaihebert.model.EasyCriteria;
@SuppressWarnings("serial")
public abstract class GenericDAO<T, K> {
public abstract class GenericDAO<T, K> implements Serializable {
private TypeToken<T> type = new TypeToken<T>(getClass()) {
};