-
Notifications
You must be signed in to change notification settings - Fork 579
Helidon data Repository #9993
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Helidon data Repository #9993
Conversation
6023a5d
to
5f35edc
Compare
5f35edc
to
51639bf
Compare
defebbd
to
18d7cf9
Compare
abb2524
to
546c88a
Compare
de9d83e
to
3ab7417
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was requested to review this. I've left my comments just as comments so as not to block anything. Because the PR was three hundred and ninety three files, I restricted most of my comments to the public API areas and tended to skip things. In general everything is very underspecified. I'm sure it all works.
// this is most likely a type that is generated, | ||
// so there is a good chance it was generated before, let's try | ||
// with package name(s) of the generated types | ||
// default (empty) package should not be used by programs, so we can make this bold assumption |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems worthy of a release note
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tomas-langer This is one of yours changesets, please have a look at this.
data/codegen/codegen/src/main/java/io/helidon/data/codegen/BaseQueryMethodsGenerator.java
Show resolved
Hide resolved
data/codegen/codegen/src/main/java/io/helidon/data/codegen/DataCodegenTypes.java
Show resolved
Hide resolved
data/codegen/common/src/main/java/io/helidon/data/codegen/common/MethodParamsBlueprint.java
Show resolved
Hide resolved
data/codegen/common/src/main/java/io/helidon/data/codegen/common/MethodParamsBlueprint.java
Outdated
Show resolved
Hide resolved
// DataSourceProviderConfig | ||
|
||
/** | ||
* Provider specific configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What rules does this interface add to NamedService
? If the answer is "none", why does this interface exist? If the answer is not "none", then describe them here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tomas-langer Those config blueprints is your concept.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When used, we want to only permit ProviderConfig
instances, not any NamedService
out there.
...sistence/codegen/src/main/java/io/helidon/data/jakarta/persistence/codegen/JpqlKeywords.java
Show resolved
Hide resolved
...nce/src/main/java/io/helidon/data/jakarta/persistence/JpaPersistenceUnitConfigBlueprint.java
Show resolved
Hide resolved
...rta-persistence/src/main/java/io/helidon/data/jakarta/persistence/JpaRepositoryExecutor.java
Show resolved
Hide resolved
b162057
to
5861309
Compare
Signed-off-by: Tomáš Kraus <[email protected]>
Signed-off-by: Tomáš Kraus <[email protected]>
Signed-off-by: Tomáš Kraus <[email protected]>
Signed-off-by: Tomáš Kraus <[email protected]>
Signed-off-by: Tomáš Kraus <[email protected]>
…ing. Signed-off-by: Tomáš Kraus <[email protected]>
Signed-off-by: Tomáš Kraus <[email protected]>
Signed-off-by: Tomáš Kraus <[email protected]>
Signed-off-by: Tomáš Kraus <[email protected]>
- fix versions in bom pom - remove versions from all pom - remove gapi module - update entity provider codegen, remove Class.forName - renamed connection string in SqlConfigBlueprint to connection uri - added version management for commons-compress and related libraries - register JNDI in component using it Other updates: - added connection config blueprint used from providers and data sources - removed data source common module - changed the configuration structure to use `connection` for providers (not when using data source)
Signed-off-by: Tomáš Kraus <[email protected]>
Signed-off-by: Tomáš Kraus <[email protected]>
Fix for Hikari provider service, to use the data source config create by teh data source config factory Fix to allow usage of Suite in MP (setting system property)
…TA transaction. Signed-off-by: Tomáš Kraus <[email protected]>
…TA transaction. Signed-off-by: Tomáš Kraus <[email protected]>
Signed-off-by: Tomáš Kraus <[email protected]>
* Refactored: - data, removed the data registry abstraction - sql data source testing - sql data source tests - added support for JDBC based data source (no pooling) * Eclipselink tests all fixed Hibernate work in progress * Update of all tests to work with the new approach. * Spotbugs exclude.
Signed-off-by: Tomáš Kraus <[email protected]>
Signed-off-by: Tomáš Kraus <[email protected]>
Signed-off-by: Tomáš Kraus <[email protected]>
Signed-off-by: Tomáš Kraus <[email protected]>
Signed-off-by: Tomáš Kraus <[email protected]>
Signed-off-by: Tomáš Kraus <[email protected]>
592fa41
to
1f5b94b
Compare
Signed-off-by: Tomáš Kraus <[email protected]>
Signed-off-by: Tomáš Kraus <[email protected]>
…pport Signed-off-by: Tomáš Kraus <[email protected]>
158cb93
to
0089bae
Compare
Helidon data introduction into Helidon v 4
API:
Implementation:
data
except forcodegen
transaction
except forcodegen
Codegen:
Tests that show usage: