Skip to content

Instantly share code, notes, and snippets.

@yanaga
Created June 4, 2012 14:39
Show Gist options
  • Save yanaga/2868793 to your computer and use it in GitHub Desktop.
Save yanaga/2868793 to your computer and use it in GitHub Desktop.
QueryDslRepository.java
import java.io.Serializable;
import com.mysema.query.jpa.JPQLQuery;
public interface QueryDslRepository {
public <T> T save(T entity);
public <T> T remove(T entity);
public <T> T findById(Class<T> klazz, Serializable id);
public JPQLQuery query();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment