Session management using Hibernate in a *multi-threaded* Swing application

前端 未结 3 1576
耶瑟儿~
耶瑟儿~ 2021-02-09 10:11

I\'m currently working on a (rather large) pet project of mine , a Swing application that by it\'s very nature needs to be multi-threaded. Almost all user interactions might fet

3条回答
  •  悲&欢浪女
    2021-02-09 10:43

    You could look have a look at Ebean ORM. It is session-less and lazy loading just works. This doesn't answer your question but really proposes an alternative.

    I know Ebean has built in support for asynchronous query execution which may also be interesting for your scenario.

    Maybe worth a look.

    • Rob.

提交回复
热议问题