Commit ffe9b040 authored by Matija Obreza's avatar Matija Obreza

hibernate-search 4.5.1.Final

parent 1d4f4672
......@@ -47,7 +47,6 @@
<jsp-api.version>2.1</jsp-api.version>
<hibernate.version>4.3.6.Final</hibernate.version>
<hibernate.annotations.version>4.0.5.Final</hibernate.annotations.version>
<hsqldb.version>2.3.1</hsqldb.version>
<ehcache.version>2.7.4</ehcache.version>
......@@ -274,17 +273,7 @@
</dependency>
<!-- Hibernate dependencies -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>${hibernate.version}</version>
</dependency>
<dependency>
<groupId>org.hibernate.common</groupId>
<artifactId>hibernate-commons-annotations</artifactId>
<version>${hibernate.annotations.version}</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
......@@ -347,7 +336,7 @@
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-search</artifactId>
<version>4.3.0.Final</version>
<version>4.5.1.Final</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
......@@ -501,7 +490,12 @@
</exclusions>
<version>1.3.1-alpha</version>
</dependency>
<dependency>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
<version>1.4.01</version>
</dependency>
</dependencies>
<build>
......
......@@ -36,10 +36,6 @@ public interface AccessionRepository extends JpaRepository<Accession, Long> {
@Query("select a.id from Accession a")
public List<Long> listAccessionsIds(Pageable pageable);
@Override
@Query(countQuery = "select count(*) from accession")
List<Accession> findAll();
@Query(countQuery = "select count(*) from accession a where a.institute = ?1")
Page<Accession> findByInstitute(FaoInstitute institute, Pageable pageable);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment