public String getTypeNameForCast ( Class < ? > type ) { Integer jdbcType = jdbcTypeMapping . get ( type ) ; if ( jdbcType == null ) { jdbcType = javaTypeMapping . getType ( type ) . getSQLTypes ( ) [ 0 ] ; } return templates . getCastTypeNameForCode ( jdbcType ) ; }
Get the SQL type name for a cast operation