public static String toColumnName ( Field field ) { if ( field . isAnnotationPresent ( Column . class ) ) { Column annotation = field . getAnnotation ( Column . class ) ; return annotation . name ( ) ; } return toSQLNameDefault ( field . getName ( ) ) ; }
Maps a Java Field object to the database s column name .