Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
th-app-java
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Oscar Enrique Gonzalez Escurra
th-app-java
Commits
d2fd2c1d
Commit
d2fd2c1d
authored
Feb 01, 2023
by
Oscar Gonzalez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
se agrega BeneficioRepository
parent
e102a310
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
curriculumsearch/src/main/java/com/roshka/repositorio/BeneficioRepository.java
+18
-0
No files found.
curriculumsearch/src/main/java/com/roshka/repositorio/BeneficioRepository.java
0 → 100644
View file @
d2fd2c1d
package
com
.
roshka
.
repositorio
;
import
com.roshka.modelo.Beneficio
;
import
org.springframework.data.domain.Page
;
import
org.springframework.data.domain.Pageable
;
import
org.springframework.data.jpa.repository.JpaRepository
;
import
org.springframework.data.jpa.repository.Query
;
public
interface
BeneficioRepository
extends
JpaRepository
<
Beneficio
,
Long
>
{
public
Page
<
Beneficio
>
findByTituloContainingIgnoreCase
(
String
nombre
,
Pageable
pageable
);
public
boolean
existsByTituloIgnoreCase
(
String
nombre
);
@Query
(
value
=
"SELECT * FROM beneficio"
,
nativeQuery
=
true
)
public
Page
<
Beneficio
>
findAllBeneficio
(
Pageable
pageable
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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