项目 >> O/R Mapping(ORM) >> iBATIS

iBATIS(Java)

iBATIS

The iBATIS Data Mapper framework makes it easier to use a database with Java and .NET applications. iBATIS couples objects with stored procedures or SQL statements using a XML descriptor. Simplicity is the biggest advantage of the iBATIS Data Mapper over object relational mapping tools.

To use the iBATIS Data Mapper, you rely on your own objects, XML, and SQL. There is little to learn that you don't already know. With the iBATIS Data Mapper, you have the full power of both SQL and stored procedures at your fingertips.

Homepage: http://ibatis.apache.org/

Loading...

iBATIS SQL Maps(三)

看看 iBATIS SQL Maps 是怎样从数据库按照 one-to-many 关系查询数据的: resultMap id="get-autoInfo-result" class="bo.AutoInfo"     resultMap 是 iBATIS SQL Maps 框架中重要组件之一,你也许还记得resultClass 吧?两者概念基本一致。resultMap 则是可定制 Mapped Statement 返回对象的。可定制表现在:比如我有...

iBATIS SQL Maps(二)

让我们重回到车辆管理系统和张三的故事中。         在iBATIS SQL Maps 的世界里也存在 one-to-many、many-to-one 的关系,想必你已经对这些概念驾轻就熟了。好!还是每个 People 对应多条 AutoInfo 信息。         本系列文章第一部分提到过 iBATIS SQL Maps 的映射文件个数可以人...

小试iBatis

iBatis是又一个O/R Mapping解决方案,j2ee的O/R方案真是多,和Hibernate相比,iBatis最大的特点就是小巧,上手很快。如果你不需要太多复杂的功能,iBatis是能满足你的要求又足够灵活的最简单的解决方案。 iBatis最大的特点是简单,最新版本2.0(下载),和1.0相比,主要改动在XML配置文件上,不过,只要有SQL基础,相信你不用教程也能看明白。下面我们看一个...

iBATIS SQL Maps(一)

        前段时间写了些 Hibernate 方面的 系列文章 ,网友们反映还不错。在接下来的时间里,我将会引入另外一种 O/R Mapping 解决方案 ——iBATIS ,本系列将沿用 Hibernate 系列文章的风格。 什么是 iBATIS ?      和众多的 SourceForge 开源项目一样, iBATIS 曾经也是其中的一员...