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

Support jakarta.persistence.Entity / Spring Boot 3 ? [Refer to linked discussion] #2920

Closed
luoxiaopeng opened this issue Dec 29, 2022 · 6 comments
Assignees
Labels
Milestone

Comments

@luoxiaopeng
Copy link

I create a gradle project with SpringBoot 3.x, I find ebean only scan javax.persistence.Entity,not scan jakarta.persistence.Entity.
When I use jakarta.persistence.Entity, DbMigration will say no changes detected, and querybean will not generate this QXXXEntity.
source code: https://github.com/luoxiaopeng/test_ebean.git

Is this right?

@luoxiaopeng
Copy link
Author

I find spring-data-rest 3.x not support javax, and ebean not support jakarta.
so I back to spring boot 2.x

@rbygrave
Copy link
Member

Refer to the discussion at: #2839

not scan jakarta.persistence.Entity

Note that jakarta.persistence is not relevant as that is dependency of Ebean and not spring boot 3. Ebean will continue to use javax.persistence with spring boot 3 and that will not be an issue.

However, JAXB is a real issue as discussed at #2839

@rbygrave
Copy link
Member

@luoxiaopeng - If you could add a comment to that discussion on what you plans are with Spring Boot 3 in terms of timeframe etc plus whether you have looked at the JAXB dependencies in the applications you are looking to migrate to Spring Boot 3.

Feedback there would be useful in terms of when we look to deal with the JAXB issue.

Thanks, Rob.

@rbygrave
Copy link
Member

rbygrave commented Jan 17, 2023

@rbygrave
Copy link
Member

I'll re-open this, with the view that people might see it and head off to the discussion and add comments there.

@rbygrave rbygrave reopened this Jan 17, 2023
@rbygrave rbygrave changed the title Support jakarta.persistence.Entity? Support jakarta.persistence.Entity / Spring Boot 3 ? [Refer to linked discussion] Jan 17, 2023
@rbygrave rbygrave self-assigned this Jan 17, 2023
@rbygrave rbygrave added this to the 13.14.0 milestone Mar 1, 2023
@rbygrave
Copy link
Member

rbygrave commented Mar 1, 2023

From 13.14.0 we will release a jakarta version as per the discussion details.

Today anyone can use the 13.14.0-jakarta version of ebean, and we will continue to release both a javax and jakarta version of ebean going forward for every release (as per the details in the dicussion).

Closing as fixed in 13.14.0 / 13.14.0-jakarta.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants