* 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.

Reply via email to