-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Support Criteria Delete API implement missing updateQuery in SpringDataQueryFactory
- Loading branch information
Hyunsik Kang
authored
Feb 11, 2022
1 parent
5b67bd4
commit 2612fec
Showing
102 changed files
with
2,345 additions
and
357 deletions.
There are no files selected for viewing
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
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
11 changes: 11 additions & 0 deletions
11
...linjdsl/eclipselink/integration/criteriaquery/EclipselinkCriteriaDeleteIntegrationTest.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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.linecorp.kotlinjdsl.eclipselink.integration.criteriaquery | ||
|
||
import com.linecorp.kotlinjdsl.test.integration.EntityManagerExtension | ||
import com.linecorp.kotlinjdsl.test.integration.criteriaquery.AbstractCriteriaDeleteIntegrationTest | ||
import org.junit.jupiter.api.extension.ExtendWith | ||
import javax.persistence.EntityManager | ||
|
||
@ExtendWith(EntityManagerExtension::class) | ||
class EclipselinkCriteriaDeleteIntegrationTest : AbstractCriteriaDeleteIntegrationTest() { | ||
override lateinit var entityManager: EntityManager | ||
} |
11 changes: 11 additions & 0 deletions
11
...com/linecorp/kotlinjdsl/hibernate/criteriaquery/HibernateCriteriaDeleteIntegrationTest.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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.linecorp.kotlinjdsl.hibernate.criteriaquery | ||
|
||
import com.linecorp.kotlinjdsl.test.integration.EntityManagerExtension | ||
import com.linecorp.kotlinjdsl.test.integration.criteriaquery.AbstractCriteriaDeleteIntegrationTest | ||
import org.junit.jupiter.api.extension.ExtendWith | ||
import javax.persistence.EntityManager | ||
|
||
@ExtendWith(EntityManagerExtension::class) | ||
class HibernateCriteriaDeleteIntegrationTest : AbstractCriteriaDeleteIntegrationTest() { | ||
override lateinit var entityManager: EntityManager | ||
} |
16 changes: 16 additions & 0 deletions
16
query/src/main/kotlin/com/linecorp/kotlinjdsl/query/CriteriaDeleteQuerySpec.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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package com.linecorp.kotlinjdsl.query | ||
|
||
import com.linecorp.kotlinjdsl.query.clause.from.FromClause | ||
import com.linecorp.kotlinjdsl.query.clause.from.SimpleAssociatedJoinClause | ||
import com.linecorp.kotlinjdsl.query.clause.hint.JpaQueryHintClause | ||
import com.linecorp.kotlinjdsl.query.clause.hint.SqlQueryHintClause | ||
import com.linecorp.kotlinjdsl.query.clause.where.CriteriaQueryWhereClause | ||
|
||
interface CriteriaDeleteQuerySpec<T> { | ||
val targetEntity: Class<T> | ||
val from: FromClause | ||
val associate: SimpleAssociatedJoinClause | ||
val where: CriteriaQueryWhereClause | ||
val jpaHint: JpaQueryHintClause | ||
val sqlHint: SqlQueryHintClause | ||
} |
Oops, something went wrong.