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

org.hibernate.LazyInitializationException when running sample app and ui #138

Open
DeDarko opened this issue Jun 24, 2021 · 0 comments
Open

Comments

@DeDarko
Copy link

DeDarko commented Jun 24, 2021

When running the sample app "appsensor-ws-rest-server-with-websocket-mysql-boot" together with the ui org.hibernate.LazyInitializationException are thrown. I fixed it by adding spring.jpa.properties.hibernate.enable_lazy_load_no_trans=true to my application.properties.

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

1 participant