将字符串第一个字符转换为大写
private static String getMethodName(String fieldName) {
return "get" + fieldName.substring(0, 1).toUpperCase()
+ fieldName.substring(1);
}
EXEC dbo.success '坚持','细心','计划'
private static String getMethodName(String fieldName) {
return "get" + fieldName.substring(0, 1).toUpperCase()
+ fieldName.substring(1);
}