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

php - get table cell data from and place a copy in another table -

javascript - Mootools wait with Fx.Morph start -

php - Navigate throught databse rows -