Mybatis multiple environments example
This is where the magic happens. Mybatis will use the column names generated from the ResultSet and map them to the java object based on the java bean specification. In other words, mybatis knows what class it needs to create and for each column it will dynamically call the setter method on the object, in our example setId and setName. In the ...
10 gauge vs 12 gauge wire