-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e12d102
commit 9b8f836
Showing
10 changed files
with
32 additions
and
15 deletions.
There are no files selected for viewing
10 changes: 2 additions & 8 deletions
10
...holunda/polyflow/example/process/approval/service/impl/datajpa/RequestEntityRepository.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,10 @@ | ||
package io.holunda.polyflow.example.process.approval.service.impl.datajpa | ||
|
||
import org.springframework.data.repository.CrudRepository | ||
import org.springframework.data.repository.PagingAndSortingRepository | ||
import java.util.* | ||
|
||
/** | ||
* Spring Data JPA repository. | ||
*/ | ||
interface RequestEntityRepository : PagingAndSortingRepository<RequestEntity, String> { | ||
|
||
fun save(requestEntity: RequestEntity): RequestEntity | ||
fun findAll(): List<RequestEntity> | ||
fun findById(id: String): Optional<RequestEntity> | ||
fun existsById(id: String): Boolean | ||
} | ||
|
||
interface RequestEntityRepository : PagingAndSortingRepository<RequestEntity, String>, CrudRepository<RequestEntity, String> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
...ion-local-polyflow/src/main/resources/db/migrations/V0_0_13__axon_sequences_per_table.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
DROP SEQUENCE hibernate_sequence; | ||
|
||
CREATE SEQUENCE association_value_entry_seq START WITH 1 INCREMENT BY 50; | ||
|
||
CREATE SEQUENCE domain_event_entry_seq START WITH 1 INCREMENT BY 50; |
5 changes: 5 additions & 0 deletions
5
...-platform-view-only/src/main/resources/db/migrations/V0_0_5__axon_sequences_per_table.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
DROP SEQUENCE hibernate_sequence; | ||
|
||
CREATE SEQUENCE association_value_entry_seq START WITH 1 INCREMENT BY 50; | ||
|
||
CREATE SEQUENCE domain_event_entry_seq START WITH 1 INCREMENT BY 50; |
5 changes: 5 additions & 0 deletions
5
...e-jpa-maria/src/main/resources/db/migrations/mariadb/V0_0_7__axon_sequences_per_table.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
DROP SEQUENCE hibernate_sequence; | ||
|
||
CREATE SEQUENCE association_value_entry_seq START WITH 1 INCREMENT BY 50; | ||
|
||
CREATE SEQUENCE domain_event_entry_seq START WITH 1 INCREMENT BY 50; |
5 changes: 5 additions & 0 deletions
5
...e-node-jpa-maria/src/test/resources/db/migrations/h2/V0_0_7__axon_sequences_per_table.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
DROP SEQUENCE hibernate_sequence; | ||
|
||
CREATE SEQUENCE association_value_entry_seq START WITH 1 INCREMENT BY 50; | ||
|
||
CREATE SEQUENCE domain_event_entry_seq START WITH 1 INCREMENT BY 50; |