The tables below show the different mapping options that are available for the different query types.

Parameter mappings
 
@Query
@Insert
@Update
@Delete
@Call
Atomic, single value
x
x
x
x
x
Atomic, collections
x
x
x
x
x
Bean-style, single value, getter
x
x
x
x
x
Bean-style, collections, getter
x
x
x
x
x

Result mappings
 
@Query
@Insert
@Update
@Delete
@Call
Atomic, single value
x
 
 
 
x
Atomic, collections
x
 
 
 
 
Bean-style, single value, setter
x
 
 
 
x
Bean-style, collections, setter
x
 
 
 
 
Bean-style, single value, constructor
x
 
 
 
x
Bean-style, collections, constructor
x
 
 
 
 
Map, key-value
x
 
 
 
 
Update counts, single (int)
 
x
x
x
 
Update counts, batch (int[])
 
x
x
x
 

Back to the overview