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

[Issue_668] Jakarta Data blog post #670

Merged
merged 1 commit into from
Oct 11, 2024
Merged

Conversation

bstansberry
Copy link
Contributor

@bstansberry bstansberry commented Oct 10, 2024

Resolves #668

Copy link

@yrodiere yrodiere left a comment

Choose a reason for hiding this comment

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

This looks great, nothing much to say; I just added two comments about minor details.

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.12.0</version> <!-- 3.12 or later is necessary for proper dependency management in annotationProcessorPaths -->

Choose a reason for hiding this comment

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

Might as well recommend the latest 3.12 while you're at it; 3.12.0 had some rather annoying issues that did impact other projects: https://issues.apache.org/jira/browse/MCOMPILER-567

Suggested change
<version>3.12.0</version> <!-- 3.12 or later is necessary for proper dependency management in annotationProcessorPaths -->
<version>3.12.1</version> <!-- 3.12 or later is necessary for proper dependency management in annotationProcessorPaths -->

----


WARNING: Some users may have learned to configure Hibernate annotation processing by declaring `org.hibernate.orm:hibernate-jpamodelgen` as a `provided` dependency in their pom. With the Hibernate version used with WildFly, link:https://github.com/quarkusio/quarkus/wiki/Migration-Guide-3.7#jpamodelgen[this will likely fail, window=_blank]. Use the `maven-compiler-plugin` configuration approach described above.

Choose a reason for hiding this comment

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

Alternative link that does not involve Quarkus: https://docs.jboss.org/hibernate/orm/6.3/migration-guide/migration-guide.html#metamodel-generation

Suggested change
WARNING: Some users may have learned to configure Hibernate annotation processing by declaring `org.hibernate.orm:hibernate-jpamodelgen` as a `provided` dependency in their pom. With the Hibernate version used with WildFly, link:https://github.com/quarkusio/quarkus/wiki/Migration-Guide-3.7#jpamodelgen[this will likely fail, window=_blank]. Use the `maven-compiler-plugin` configuration approach described above.
WARNING: Some users may have learned to configure Hibernate annotation processing by declaring `org.hibernate.orm:hibernate-jpamodelgen` as a `provided` dependency in their pom. With the Hibernate version used with WildFly, link:https://docs.jboss.org/hibernate/orm/6.3/migration-guide/migration-guide.html#metamodel-generation[this will likely fail, window=_blank]. Use the `maven-compiler-plugin` configuration approach described above.

@bstansberry bstansberry merged commit e57b4c4 into wildfly:main Oct 11, 2024
@bstansberry
Copy link
Contributor Author

Thanks for the quick review @yrodiere! I made your suggested changes.

@bstansberry bstansberry deleted the Issue_668 branch October 11, 2024 13:48
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.

Blog post: Introducing Jakarta Data
2 participants