public int getDisplaySize ( ) { int vtype = type . getSqlType ( ) ; if ( vtype == Types . VARCHAR || vtype == Types . CHAR ) { int maxWidth = maxCharlen [ charsetNumber & 0xff ] ; if ( maxWidth == 0 ) { maxWidth = 1 ; } return ( int ) length / maxWidth ; } return ( int ) length ; }
Get column size .