ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carfield Yim" <carfi...@gmail.com>
Subject Re: Can ibatis work with java object with constructor have parameters?
Date Wed, 10 Jan 2007 02:52:18 GMT
> * Add a @key attribute to a resultMap. This would flag one or multiple
> properties as being a primary key, and then ibatis could then, if a
> cache is present, check if an object already exists.
>
> <resultMap id="roleMap" cacheModel="roleObjectCache">
> ...
> </resultMap>
>
@key is nice and key is probably what I only need also.

Mime
View raw message