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

Popular posts from this blog

How to logout from a login page in asp.net -

Stack level too deep error after upgrade to rails 3.2 and ruby 1.9.3 -