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

Exception with unsetContent using SB3 and SC3.0.4 JPA Starter #1548

Closed
andye2004 opened this issue Aug 8, 2023 · 1 comment
Closed

Exception with unsetContent using SB3 and SC3.0.4 JPA Starter #1548

andye2004 opened this issue Aug 8, 2023 · 1 comment

Comments

@andye2004
Copy link
Contributor

Describe the bug
Can't unset content using spring-content-jpa-boot-starter as the DefaultJpaStoreImpl.unassociate() method is checking for javax @Id and not checking jakarta.

To Reproduce
create a JPA entity, set some content and save, then try to unset the content.

Expected behavior
The operation should succeed

paulcwarren pushed a commit that referenced this issue Aug 8, 2023
* Add check for jakarta entity @id

* swap spaces for tab

* swap spaces for tabs
@paulcwarren
Copy link
Owner

Many thanks for the fix.

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

No branches or pull requests

2 participants