Code example for SqlExceptionHelper

0
    private static final CoreMessageLogger LOG = Logger.getMessageLogger(CoreMessageLogger.class, ResultSetWrapperProxy.class.getName()); 
	private static final Class[] PROXY_INTERFACES = new Class[] { ResultSet.class }; 
	private static final SqlExceptionHelper sqlExceptionHelper = new SqlExceptionHelper(); 
 
	private final ResultSet rs; 
	private final ColumnNameCache columnNameCache; 
 
	private ResultSetWrapperProxy(ResultSet rs, ColumnNameCache columnNameCache) { 
		this.rs = rs; 
		this.columnNameCache = columnNameCache; 
	} 
 
	/** 
	 * Generates a proxy wrapping the ResultSet. 
	 * 
	 * @param resultSet The resultSet to wrap. 
	 * @param columnNameCache The cache storing data for converting column names to column indexes. 
	 * @return The generated proxy. 
	 */ 
	public static ResultSet generateProxy(ResultSet resultSet, ColumnNameCache columnNameCache) { 
Stop searching for code, let great code find you!  Add Codota to your java IDE