dao-zero is a tiny Java bean used to reduce the source of a persistence tier based on Spring's iBatis support. The usual way to use iBatis in Spring is to write code and invoke the iBatis API explicitly. dao-zero invokes the iBatis API for the developer automatically, without the need to write implementation code. It will implement DAO interfaces automatically and invoke iBatis SQL mapped statements for you. You can use it to replace your DAO bean class directly.
|Tags||Database Software Development Libraries Application Frameworks Java Libraries|
|Operating Systems||OS Independent|
|Translations||Chinese English Japanese|
Release Notes: This release allows to specify the statement manually for a Java method by yourself rather than automatically. Support has been added to transform a result list to an array, another List, a Set, or an Enumeration/Iterator. Copying a result bean to another bean automatically is supported. Batch update/delete/insert is supported. One bug has been fixed. The package has been reorganized. Dump relations between Java methods and iBatis SQL statements are supported.
Release Notes: This release fixes an incompatibility with JDK 1.5.
Release Notes: Dynamic statements which contain $value$ are supported. A bug where a namespace with more than one level is not considered was fixed. queryForList(String statement, Object param, int skip, int max) and queryForPaginatedList() are supported. the java.util.List returned from iBatis can be transformed to other types, such as /Iterator/Set. The documentation was updated. A simplified sample called "HelloWorld" was added, and the documentation uses this sample to explain basic issues. Chinese messages were added.
Release Notes: daozero.ibatis.Dao and daozero.ibatis.AutoProxy were refactored. Mistakes in documents were fixed. Section 4's sample class, "AccountDaoImpl", should extend SqlMapClientDaoSupport.
Release Notes: A NullPointerException that occurred in the BeanExecutor constructor of the jpetstore sample app because parameterMap may have been null has been fixed.