Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Genesys PGR
Genesys Backend
Commits
ffe9b040
Commit
ffe9b040
authored
Aug 05, 2014
by
Matija Obreza
Browse files
hibernate-search 4.5.1.Final
parent
1d4f4672
Changes
2
Hide whitespace changes
Inline
Side-by-side
pom.xml
View file @
ffe9b040
...
...
@@ -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>
...
...
src/main/java/org/genesys2/server/persistence/domain/AccessionRepository.java
View file @
ffe9b040
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment