To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.
We are using the JpaContainer to display a subset of properties of a complex Entity (using a table). The problem is that JpaContainer fetches all properties even if not displayed. This makes the application very slow, because this entity contains a few Joins (OneToOne and ManyToOne) which we did not display. Even the FetchType.LAZY ones are fetched.
(Hibernate generates 5 seperate huge queries for each row to display)
Is there a possibility to make JPAContainer to only fetch the few properties that are actually displayed?