Skip to content
Snippets Groups Projects
Commit 1f0f1e11 authored by brinn's avatar brinn
Browse files

Make IExperimentSampleQuery extend BaseQuery as TransactionQuerys are not...

Make IExperimentSampleQuery extend BaseQuery as TransactionQuerys are not supported with managed connections.

SVN: 27577
parent 1c2e742e
No related branches found
No related tags found
No related merge requests found
...@@ -23,9 +23,9 @@ import java.util.Date; ...@@ -23,9 +23,9 @@ import java.util.Date;
import java.util.List; import java.util.List;
import java.util.Set; import java.util.Set;
import net.lemnik.eodsql.BaseQuery;
import net.lemnik.eodsql.QueryTool; import net.lemnik.eodsql.QueryTool;
import net.lemnik.eodsql.Select; import net.lemnik.eodsql.Select;
import net.lemnik.eodsql.TransactionQuery;
import org.apache.log4j.Logger; import org.apache.log4j.Logger;
import org.hibernate.Criteria; import org.hibernate.Criteria;
...@@ -72,7 +72,7 @@ public class ExperimentDAO extends AbstractGenericEntityWithPropertiesDAO<Experi ...@@ -72,7 +72,7 @@ public class ExperimentDAO extends AbstractGenericEntityWithPropertiesDAO<Experi
/** /**
* A query for fast access to ids and codes of samples of an experiment. * A query for fast access to ids and codes of samples of an experiment.
*/ */
public static interface IExperimentSampleQuery extends TransactionQuery public static interface IExperimentSampleQuery extends BaseQuery
{ {
@Select(sql = "select id from samples s where expe_id = ?{1}") @Select(sql = "select id from samples s where expe_id = ?{1}")
List<Long> getExperimentSampleIds(long experimentId); List<Long> getExperimentSampleIds(long experimentId);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment