All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.daedafusion.hibernate.dao.GenericDAO Maven / Gradle / Ivy

package com.daedafusion.hibernate.dao;

import java.io.Serializable;
import java.util.Collection;

/**
 * Created by mphilpot on 7/3/14.
 */
public interface GenericDAO
{
    T findById(ID id);
    T findById(ID id, boolean lock);

    Collection findAll();

    T makePersistent(T entity);
    void makeTransient(T entity);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy