Here you can find the source of getBigDecimalArray(final ResultSet resultSet, final int index)
public static BigDecimal[] getBigDecimalArray(final ResultSet resultSet, final int index) throws SQLException
//package com.java2s; //License from project: Apache License import java.math.BigDecimal; import java.sql.Array; import java.sql.ResultSet; import java.sql.SQLException; public class Main { public static BigDecimal[] getBigDecimalArray(final ResultSet resultSet, final int index) throws SQLException { final Array array = resultSet.getArray(index); return (BigDecimal[]) array.getArray(); }/*from w ww . jav a2s .c o m*/ }