com.cedarsoft.gdao.AbstractCollectionFinder Maven / Gradle / Ivy
package com.cedarsoft.gdao;
import org.hibernate.Criteria;
import org.jetbrains.annotations.NotNull;
import java.util.Collection;
/**
*
*/
public abstract class AbstractCollectionFinder extends AbstractFinder> implements CollectionFinder {
protected AbstractCollectionFinder( @NotNull Class type ) {
super( type );
}
@Override
@NotNull
protected Collection extends T> execute( @NotNull Criteria criteria ) {
return criteria.list();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy