帅气溪流

文章
5
资源
0
加入时间
3年2月3天

oracle表数据类型number对应java中BIgDecimal转int

oracle中id为number类型,在java获取id时用getBigDecimal 相匹配,如果想转换成int,重写model中的getInt方法:1 public Integer getInt(String attr) {2 return getNumber(attr).intValue();3 }如此,即可调用model.get...