BigDecimal Scale Problem WO5.2.4

"COAST" <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <s3f985e8.010@CEDES_MSRV1.cedes.local>
Radar #2918829Key value coding fails to coerce the scale and/or precision of BigDecimal values. And when you try to save, the JDBC Adaptor throws an exception because of excessive scale.Description:
Neither key value coding nor the JDBC adaptor performs any rounding; otherwise, information would get lost. Rounding could occur only if the underlying database/driver were to do so independently of EOF.Workaround:
Please make sure that the scale and precision of a value (especially BigDecimal) does not exceed the scale and precision of the corresponding attribute in the model.
I really don't like this workaround, it's a pane !
This was working properly with 5.1.
Any other idea ?
Thanks in advance
Peter

_______________________________________________
WebObjects-dev mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/webobjects-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.