snaker-core/src/main/java/org/snaker/engine/access/jdbc/BeanPropertyHandler.java
private static String underscoreName(String name) {
		StringBuilder result = new StringBuilder();
		if (name != null && name.length() > 0) {
			result.append(name.substring(0, 1).toLowerCase());
			for (int i = 1; i < name.length(); i++) {
				String s = name.substring(i, i + 1);
				if (s.equals(s.toUpperCase())) {
					result.append("_");
					result.append(s.toLowerCase());
				} else {
					result.append(s);
				}
			}
		}
		return result.toString();
	}
private static String underscoreName(String name) {
		StringBuilder result = new StringBuilder();
		if (name != null && name.length() > 0) {
			result.append(name.substring(0, 1).toLowerCase());
			for (int i = 1; i < name.length(); i++) {
				String s = name.substring(i, i + 1);
				if (s.equals(s.toUpperCase())) {
					result.append("_");
					result.append(s.toLowerCase());
				} else {
					result.append(s);
				}
			}
		}
		return result.toString();
	}
private static String underscoreName ( String name ) { StringBuilder result = new StringBuilder ( ) ; if ( name != null && name . length ( ) > 0 ) { result . append ( name . substring ( 0 , 1 ) . toLowerCase ( ) ) ; for ( int i = 1 ; i < name . length ( ) ; i ++ ) { String s = name . substring ( i , i + 1 ) ; if ( s . equals ( s . toUpperCase ( ) ) ) { result . append ( "_" ) ; result . append ( s . toLowerCase ( ) ) ; } else { result . append ( s ) ; } } } return result . toString ( ) ; }
属性名称转换为下划线，如taskId->task_id
@param name
@return
属性名称转换为下划线，如taskId - > task_id