
iBATIS Home
2010年5月21日 · The ASF has been the home of iBATIS for the past six years. A lot changes in six years. By 2010 we’ve seen a great deal of innovation and change in the areas of development methodology, source control, social networking and open-source infrastructure.
本文是《iBatis SQL Maps Tutorial》的中文版,仅供读者参考。 最权威的以Clinton Begin 的官方文档为准,它可以从http://www.ibatis.com 网站下载。
iBATIS.NET - DataMapper Application Framework
iBATIS.NET - DataMapper Application Framework Next iBATIS.NET - DataMapper Application Framework. DataMapper Developer Guide
The iBATIS Data Mapper framework will help you to significantly reduce the amount of Java code that you normally need to access a relational database. iBATIS simply maps JavaBeans to SQL statements using a very simple XML descriptor. Simplicity is the key advantage of iBATIS over other frameworks and object relational mapping tools.
トピックごとの詳細は、http://ibatis.apache.org から利用可能なSQL Maps開 発者ガイドで見つけることができます。 SQL Mapsを使用する準備
3.9. Dynamic SQL - The Apache Software Foundation
The desired result is often a query by example, where a query can be built to find objects that are similar to the example object. The iBATIS DataMapper API provides a relatively elegant solution that can be applied to any mapped statement element. Here is a simple example:
3.3. Mapped Statements - The Apache Software Foundation
You can use iBATIS to execute any SQL statement your application requires. When the requirements for a statement are simple and obvious, you may not even need to write a SQL statement at all. The <generate> tag can be used to create simple SQL statements automatically, based on a <parameterMap> element.
iBATIS Data Mapper APIは、プログラマがJavaBeansのオブジェクトをPreparedStatementパラ メータとResultSetsに簡単にマップできます。 Data Mapperの考え方は、シンプルです。
4.4. Programming with iBATIS DataMapper: The .NET API
The IBATIS.NET DataMapper API provides four core functions: build a SqlMapper instance from a configuration file execute an update query (including insert and delete).
DataSource, tra cui l'iBATIS SimpleDataSource, Jakarta DBCP (Commons) e qualunque altro DataSource che possa essere reperito tramite un contesto JNDI (ad esempio dall'interno di un application server). Tutto ciò è descritto con maggiore dettaglio nella Developer's Guide.