When to use Hibernate/JPA/Toplink?

后端 未结 6 382
情深已故
情深已故 2021-02-01 10:41

Right now I\'m making an extremely simple website- about 5 pages. Question is if it\'s overkill and worth the time to integrate some sort of database mapping solution or if it w

6条回答
  •  无人共我
    2021-02-01 11:14

    The best way to learn ORM is on a small project. Start on this project.

    Once you get the hang of it, you'll use ORM for everything.

    There's nothing too small for ORM. After your first couple of projects, you'll find that you can't work any other way. The ORM mapping generally makes more sense than almost any other way of working.

提交回复
热议问题