/**
  * Returns the parameter precision. The value 0 is returned if the precision is not known.
  *
  * @param param the column index (1,2,...)
  * @return the precision
  */
 public int getPrecision(int param) throws SQLException {
   try {
     debugCodeCall("getPrecision", param);
     ParameterInterface p = getParameter(param);
     return MathUtils.convertLongToInt(p.getPrecision());
   } catch (Exception e) {
     throw logAndConvert(e);
   }
 }