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

com.cedarsoft.gdao.AbstractCollectionFinder Maven / Gradle / Ivy

There is a newer version: 1.6.3
Show newest version
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 execute( @NotNull Criteria criteria ) {
    return criteria.list();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy