(int n, String name)
| 653 | } // end of IntField |
| 654 | |
| 655 | public long BigintField(int n, String name) { |
| 656 | if (rs == null) { |
| 657 | System.out.println("No result set"); |
| 658 | } else try { |
| 659 | BigDecimal bigDecimal = (n > 0) ? rs.getBigDecimal(n) : rs.getBigDecimal(name); |
| 660 | return bigDecimal != null ? bigDecimal.longValue() : 0; |
| 661 | } catch (SQLException se) { |
| 662 | SetErrmsg(se); |
| 663 | } //end try/catch |
| 664 | |
| 665 | return 0; |
| 666 | } // end of BiginttField |
| 667 | |
| 668 | public double DoubleField(int n, String name) { |
| 669 | if (rs == null) { |