What is wrong with nk.getBigDecimal().intValue()
(I personally would prefer helper methods like nk.intValue() which did the same thing) Russell Smyth wrote: >>It might be a better api, if the properties which use the column names >>returned the column type, but getPrimaryKey() should return an >>ObjectKey. >> >> > >I have to chime in here and say that this is almost a must! Especially as >there is >no clean way to convert NumberKey to it's numeric value (that I have found - >The only way >I could come up with was Integer.parseInt(NumberKey.toString()), which is >troublesome >due to possible NumberFormatExceptions.) > >I had not gotten to the point yet where I could look at the code and >reccomend changes, but >for our useage this change is almost mandatory - we would have to do it >internally if the change >is not made in torque proper. > >Russell Smyth > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
