loooooong
loooooong

Reputation: 11

Using OSIV in vaadin 24 in production

Since updating the versions of Hibernate, Vaadin and a custom framework based on Vaadin of the application, many issues have appeared regarding Hibernate proxy and lazily loading, that weren't there before doing the update.

I have enabled spring.jpa.open-in-view in the application.properties, since this was explicitly disabled before, and it fixed a lot of the issues.

I was wondering if anyone working with Vaadin 20 or later, would discourage enabling spring.jpa.open-in-view on an application running on Vaadin 24 in production, and if so, why this would be the case?

I have only found some warnings regarding it slowing down performance a bit, but the way the custom framework based on Vaadin is set up, enabling OSIV seems like the most effective and efficient way of solving the issues at this moment.

Upvotes: 1

Views: 86

Answers (0)

Related Questions