java - Desktop app - Hibernate (using JPA EntityManager) / Spring / Swing -driven extended session -
i'm having trouble extending jpa persistence context, la "open-session-in-conversation" pattern, swing two-tier java se desktop app working on.
the benefits of me be:
- lazy loading objects gui
- allowing user edit / work objects without having reload them database- in case of edits other users. checked hibernate's versioning , error thrown if persistence context lasted duration of 'conversation'
there lots of approaches detailed web use, hardly out there desktop use.
can suggest suitable approach?
Comments
Post a Comment