ORM Technologies vs JDBC?

前端 未结 4 510
时光说笑
时光说笑 2021-01-30 11:44

My question is regarding ORM and JDBC technologies, on what criteria would you decide to go for an ORM technology as compared to JDBC and other way round ?

Thanks.

4条回答
  •  庸人自扰
    2021-01-30 12:04

    It also depends on the learning curve.

    Ebean ORM has a pretty low learning curve (simple API, simple query language) if you are happy enough with JPA annotations for mapping (@Entity, @Table, @OneToMany etc).

提交回复
热议问题