-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactored so Dao type can be injected
- Loading branch information
Showing
29 changed files
with
124 additions
and
390 deletions.
There are no files selected for viewing
1 change: 0 additions & 1 deletion
1
processor/src/main/java/org/ethelred/kiwiproc/processor/DAOClassInfo.java
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
7 changes: 0 additions & 7 deletions
7
processor/src/main/java/org/ethelred/kiwiproc/processor/DAODataSourceInfo.java
This file was deleted.
Oops, something went wrong.
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
1 change: 0 additions & 1 deletion
1
processor/src/main/java/org/ethelred/kiwiproc/processor/DAOMethodInfo.java
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
21 changes: 10 additions & 11 deletions
21
processor/src/main/java/org/ethelred/kiwiproc/processor/KiwiRecordBuilder.java
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,19 +1,18 @@ | ||
package org.ethelred.kiwiproc.processor; | ||
|
||
import io.soabase.recordbuilder.core.RecordBuilder; | ||
|
||
import java.lang.annotation.*; | ||
|
||
@RecordBuilder.Template(options = @RecordBuilder.Options( | ||
builderMode = RecordBuilder.BuilderMode.STAGED, | ||
enableWither = true, | ||
addFunctionalMethodsToWith = true, | ||
addSingleItemCollectionBuilders = true, | ||
useImmutableCollections = true, | ||
onceOnlyAssignment = true | ||
)) | ||
@RecordBuilder.Template( | ||
options = | ||
@RecordBuilder.Options( | ||
builderMode = RecordBuilder.BuilderMode.STAGED, | ||
enableWither = true, | ||
addFunctionalMethodsToWith = true, | ||
addSingleItemCollectionBuilders = true, | ||
useImmutableCollections = true, | ||
onceOnlyAssignment = true)) | ||
@Retention(RetentionPolicy.SOURCE) | ||
@Target(ElementType.TYPE) | ||
@Inherited | ||
public @interface KiwiRecordBuilder { | ||
} | ||
public @interface KiwiRecordBuilder {} |
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
1 change: 0 additions & 1 deletion
1
processor/src/main/java/org/ethelred/kiwiproc/processor/MethodParameterInfo.java
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
17 changes: 6 additions & 11 deletions
17
processor/src/main/java/org/ethelred/kiwiproc/processor/Signature.java
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
3 changes: 1 addition & 2 deletions
3
processor/src/main/java/org/ethelred/kiwiproc/processor/TypeMapping.java
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,4 +1,3 @@ | ||
package org.ethelred.kiwiproc.processor; | ||
|
||
public record TypeMapping(KiwiType source, KiwiType target) { | ||
} | ||
public record TypeMapping(KiwiType source, KiwiType target) {} |
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
52 changes: 0 additions & 52 deletions
52
.../src/main/java/org/ethelred/kiwiproc/processor/generator/TransactionManagerGenerator.java
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
runtime/src/main/java/org/ethelred/kiwiproc/api/Batch.java
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
runtime/src/main/java/org/ethelred/kiwiproc/api/Batchable.java
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
runtime/src/main/java/org/ethelred/kiwiproc/api/DAOProvider.java
This file was deleted.
Oops, something went wrong.
42 changes: 0 additions & 42 deletions
42
runtime/src/main/java/org/ethelred/kiwiproc/api/TransactionManager.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.