Here you can find the source of getColumnDisplaySize(int col, ResultSetMetaData rsmd)
public static int getColumnDisplaySize(int col, ResultSetMetaData rsmd) throws SQLException
//package com.java2s; //License from project: Open Source License import java.sql.ResultSetMetaData; import java.sql.SQLException; public class Main { public static int getColumnDisplaySize(int col, ResultSetMetaData rsmd) throws SQLException { int columnSize = rsmd.getColumnDisplaySize(col); return columnSize; }/*from www .ja va 2 s. c om*/ }