I’m guessing that I’m probably missing something simple, but I don’t understand why the mapping tools maps to java.lang.Integer and not int. Then when using the setter method you have to add and extra step of creating a new integer. For example…
You have the following method in your abstract class…
public setAge(java.lang.Integer age) {
this.age = age
}
Create a new object and call the setter method would require creating a Integer.
setAge(new Integer(25))
if it was declared as int.
setAge(25)