What's an appropriate DAO structure with jpa2/eclipselink?

后端 未结 2 1895
时光取名叫无心
时光取名叫无心 2021-01-06 04:42

I\'ve JPA entities and need to perform logic with them. Until now a huge static database class did the job. It\'s ugly because every public interface method had an private e

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-06 05:34

    You could consider using Spring 3. Just follow their documentation for a clean design.

提交回复
热议问题