1. How to avoid blocking EDT with JPA lazy loading in Swing desktop apps stackoverflow.comI'm struggling with real-world use of JPA (Hibernate, EclipseLink, etc) in a Swing desktop application. JPA seems like a great idea, but relies on lazy loading for efficiency. Lazy loading requires the ... |
2. Is there a clean way to make Hibernate work with lazy initialization in Swing? stackoverflow.comHere is a description of what I want to do in a Swing application. So, imagine I have an object Client which inside has some collections. At the application start, I want to ... |
3. Lazy loading with Swing forum.hibernate.orgI don't see a clean way to make Hibernate work with lazy initialization in Swing. Let's take the following scenario: * I have a 'Company' entity with a to-many relationship to 'Invoices' * I have a JTree showing a list of Companies, which can be expanded to show their related invoices * I'm using a TreeModel that mirrors my data structure, ... |