Skip to content
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

MySQL driver support for JPA/Hibernate in native image #2557

Merged
merged 6 commits into from
Dec 9, 2020

Conversation

Tomas-Kraus
Copy link
Member

@Tomas-Kraus Tomas-Kraus commented Dec 1, 2020

To run the tests, build Helidon and then execute:

cd <helidon_root>/tests/integration/jpa
mvn clean install -Dmysql -Pdocker -pl model,appl -Pnative-image -Dnative-image
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0

@Tomas-Kraus
Copy link
Member Author

@romain-grecourt I added one stage to Jenkins which runs fast Helidon build with MySQL tests using sidecar container with DB. It's based on our experiments, but I don't consider it as a final solution. We'll implement it properly in a separate PR.

@tomas-langer
Copy link
Member

@romain-grecourt please review the scripts/docker handling, that part I am not sure about

Copy link
Member

@tomas-langer tomas-langer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now waiting for @romain-grecourt review (pom/docker/pipeline side)

…as parallel stage to Jenkinsfile.

Signed-off-by: Tomas Kraus <Tomas.Kraus@oracle.com>
@Tomas-Kraus
Copy link
Member Author

Rebased and squashed change sets on top of current master.

@romain-grecourt
Copy link
Contributor

@tomas-langer I worked with Tomas on the pipeline aspect, so far so good. It's currently using a top level parallel stage as the build artifacts cannot be shared yet ; we will change this when I will be done on my side. This can good in as-is.

Signed-off-by: Tomas Kraus <Tomas.Kraus@oracle.com>
…ExtensionContext.Store.CloseableResource

Test execution modified to run both Java VM and native image setups.

Signed-off-by: Tomas Kraus <Tomas.Kraus@oracle.com>
Signed-off-by: Tomas Kraus <Tomas.Kraus@oracle.com>
Signed-off-by: Tomas Kraus <Tomas.Kraus@oracle.com>
Signed-off-by: Tomas Kraus <Tomas.Kraus@oracle.com>
@Tomas-Kraus Tomas-Kraus merged commit 4193c45 into helidon-io:master Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants