Skip to content

CAMEL-21913: jbang - make JPA easier to use and export#22195

Open
gnodet wants to merge 2 commits intomainfrom
important-cantaloupe
Open

CAMEL-21913: jbang - make JPA easier to use and export#22195
gnodet wants to merge 2 commits intomainfrom
important-cantaloupe

Conversation

@gnodet
Copy link
Contributor

@gnodet gnodet commented Mar 23, 2026

JIRA: CAMEL-21913

Summary

  • Auto-download Hibernate ORM as JPA provider when the jpa component is resolved in camel-jbang
  • Add Hibernate to known dependencies for automatic class resolution
  • Auto-include Hibernate in exported projects when camel-jpa is used
  • Map Hibernate to quarkus-hibernate-orm extension for Quarkus export

- Auto-download Hibernate ORM as JPA provider when jpa component is resolved
- Add Hibernate to known dependencies for automatic class resolution
- Auto-include Hibernate in exported projects when camel-jpa is used
- Map Hibernate to quarkus-hibernate-orm extension for Quarkus export

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions github-actions bot added the dsl label Mar 23, 2026
@github-actions
Copy link
Contributor

🌟 Thank you for your contribution to the Apache Camel project! 🌟
🤖 CI automation will test this PR automatically.

🐫 Apache Camel Committers, please review the following items:

  • First-time contributors require MANUAL approval for the GitHub Actions to run
  • You can use the command /component-test (camel-)component-name1 (camel-)component-name2.. to request a test from the test bot although they are normally detected and executed by CI.
  • You can label PRs using build-all, build-dependents, skip-tests and test-dependents to fine-tune the checks executed by this PR.
  • Build and test logs are available in the summary page. Only Apache Camel committers have access to the summary.

⚠️ Be careful when sharing logs. Review their contents before sharing them publicly.

- Remove org.hibernate known-dependency prefix (too broad, would match
  org.hibernate.validator). DependencyDownloaderComponentResolver already
  handles Hibernate download for JPA component.
- Add shouldExportWithJpaAndHibernate test verifying Hibernate is included
  in exports for all runtimes (main, Spring Boot, Quarkus).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Contributor

🧪 CI tested the following changed modules:

  • dsl/camel-jbang/camel-jbang-core
  • dsl/camel-kamelet-main
All tested modules (28 modules)
  • Camel :: Coverage
  • Camel :: Coverage [pom]
  • Camel :: JBang :: Core
  • Camel :: JBang :: Core [jar]
  • Camel :: JBang :: Integration tests
  • Camel :: JBang :: Integration tests [jar]
  • Camel :: JBang :: MCP
  • Camel :: JBang :: MCP [jar]
  • Camel :: JBang :: Main
  • Camel :: JBang :: Main [jar]
  • Camel :: JBang :: Plugin :: Edit
  • Camel :: JBang :: Plugin :: Edit [jar]
  • Camel :: JBang :: Plugin :: Generate
  • Camel :: JBang :: Plugin :: Generate [jar]
  • Camel :: JBang :: Plugin :: Kubernetes
  • Camel :: JBang :: Plugin :: Kubernetes [jar]
  • Camel :: JBang :: Plugin :: Route Parser
  • Camel :: JBang :: Plugin :: Route Parser [jar]
  • Camel :: JBang :: Plugin :: Testing
  • Camel :: JBang :: Plugin :: Testing [jar]
  • Camel :: JBang :: Plugin :: Validate
  • Camel :: JBang :: Plugin :: Validate [jar]
  • Camel :: Kamelet Main
  • Camel :: Kamelet Main [jar]
  • Camel :: Launcher
  • Camel :: Launcher [jar]
  • Camel :: Launcher :: Container
  • Camel :: Launcher :: Container [pom]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant