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

Remove unsupported gorm features for Micronaut 4. #2268

Closed
wetted opened this issue Jan 10, 2024 · 9 comments · Fixed by #2270
Closed

Remove unsupported gorm features for Micronaut 4. #2268

wetted opened this issue Jan 10, 2024 · 9 comments · Fixed by #2270
Assignees

Comments

@wetted
Copy link
Contributor

wetted commented Jan 10, 2024

GORM is not supported in Micronaut Framework 4. Remove the following features from starter for 4.x projects: hibernate-gorm, mongo-gorm, multi-tenancy-gorm and neo4j-gorm.

@wetted wetted self-assigned this Jan 10, 2024
@wetted wetted moved this to Todo in 4.2.4 Release Jan 10, 2024
@sdelamo
Copy link
Contributor

sdelamo commented Jan 11, 2024

go ahead

wetted added a commit that referenced this issue Jan 11, 2024
@wetted wetted moved this from Todo to Ready for Review in 4.2.4 Release Jan 11, 2024
@wetted wetted linked a pull request Jan 11, 2024 that will close this issue
sdelamo pushed a commit that referenced this issue Jan 12, 2024
* Remove unsupported GORM features for Micronaut 4

fixes #2268

* remove unused interface
@wetted wetted closed this as completed Jan 17, 2024
@github-project-automation github-project-automation bot moved this from Ready for Review to Done in 4.2.4 Release Jan 17, 2024
@awesomekosm
Copy link

So gorm is forever removed from micronaut 4? Is there a migration path instead of rewriting entire db layer?

@aadrian
Copy link

aadrian commented Apr 4, 2024

Not being able to use GORM in Micronaut is a huge step back :( .

@wetted
Copy link
Contributor Author

wetted commented Apr 4, 2024

@awesomekosm @aadrian Micronaut 4 uses Groovy 4 and GORM does not [yet] support it. See micronaut-projects/micronaut-groovy#422

N.B.: micronaut-projects/micronaut-core#10486

@awesomekosm
Copy link

@wetted it's all over the latest documentation, as if it works. When is the estimated time when it will be supported? It's a lot of throw away code written using gorm...

@sdelamo
Copy link
Contributor

sdelamo commented Apr 5, 2024

GORM does not support Groovy 4 yet. Micronaut Framework 4 Groovy baseline is Apache Groovy 4. If you want to use GORM with Micronaut Framework I recommend you to keep at Micronaut Framework 3.

@sdelamo
Copy link
Contributor

sdelamo commented Apr 5, 2024

@wetted it's all over the latest documentation, as if it works. When is the estimated time when it will be supported? It's a lot of throw away code written using gorm...

in which documentation is it? we should remove it.

@wetted
Copy link
Contributor Author

wetted commented Apr 5, 2024

@wetted it's all over the latest documentation, as if it works. When is the estimated time when it will be supported? It's a lot of throw away code written using gorm...

in which documentation is it? we should remove it.

@sdelamo I just looked. We have it in the core user guide still. I created this issue for that: micronaut-projects/micronaut-core#10689. I can work on this next week I think.

@wetted
Copy link
Contributor Author

wetted commented Apr 9, 2024

@wetted it's all over the latest documentation, as if it works. When is the estimated time when it will be supported? It's a lot of throw away code written using gorm...

in which documentation is it? we should remove it.

@sdelamo I just looked. We have it in the core user guide still. I created this issue for that: micronaut-projects/micronaut-core#10689. I can work on this next week I think.

This PR removes the obsolete docs for GORM: micronaut-projects/micronaut-core#10696

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants