This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
I know that the BeanPropertySqlParamterSource can make things easier, and potentially prevent issues from miss typing the parameter map or row mapper, but what about performance.
I have been trying to find something online that talks about the performance difference between the two, but I have not had any luck. From what I have seen it does the BeanPropertySqlParameterSource does use reflection to call your getters and setters (not necessarily bad). I have to assume that it is a longer code path. Anyways has anyone done any testing? I keep going back and forth, but continue to lean towards coding the parameter maps and row mappers.
I doubt the performance difference is going to be noticeable. The fact that you are not finding any complaints online about it supports this theory. I would not prematurely optimize. If you are using it and not having performance issues than don't worry about it. Choose the method you are most comfortable with and use it.