52ky 发表于 2022-10-4 11:09:49

iBATIS学习笔记(基于iBATIS2.3.4)

iBATIS是Apache的开源项目,一个ORM解决方案,iBATIS最大的特点即是细巧,上手很快。使用iBATIS提供的ORM机制,对业务逻辑实现人员而言,面临的是纯粹的Java目标,这一层与通过Hibernate实现ORM而言基本共同,而关于详细的数据操作,Hibernate会自动生成SQL句子,而iBATIS则要求开发者编写详细的SQL句子。相对Hibernate等“全自动”ORM机制而言,iBATIS以SQL开发的办公量和数据库移植性上的退让,为系统设计提供了更大的自由空间。作为“全自动”ORM实现的一种有利补充,iBATIS的呈现显得别具含义。
iBATIS学习笔记.pdf

(IBATIS is an open source project of Apache. It is an ORM solution. The greatest feature of iBATIS is that it is small and easy to use. Using the ORM mechanism provided by iBATIS, business logic implementers face pure Java goals. This layer is basically the same as implementing ORM through Hibernate. For detailed data operations, Hibernate will automatically generate SQL sentences, while iBATIS requires developers to write detailed SQL sentences. Compared with Hibernate and other "fully automatic" ORM mechanisms, iBATIS provides more free space for system design with the concession of SQL development workload and database portability. As a beneficial supplement to the "fully automatic" ORM implementation, iBATIS appears to have a special meaning.
IBATIS Learning Notes.pdf)




页: [1]
查看完整版本: iBATIS学习笔记(基于iBATIS2.3.4)