[JBoss-dev] [ jboss-Bugs-713352 ] BigDecimals lose fractional digits
Bugs item #713352, was opened at 2003-04-01 17:29 Message generated for change (Comment added) made by loubyansky You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=713352&group_id=22866 Category: JBossCMP Group: v3.0 Rabbit Hole >Status: Closed >Resolution: Out of Date Priority: 5 Submitted By: Paul Boocock (boocockp) Assigned to: Alexey Loubyansky (loubyansky) Summary: BigDecimals lose fractional digits Initial Comment: BIgDecimal CMP fields may lose the digits after the decimal point when they are stored in the database. This was observed with: JBoss 3.0.6 Windows 2000 JDK1.4.1_02 Sybase Adaptive Server Enterprise/11.9.2.1 Sybase jConnect 5.5 JDBC driver I believe this problem is caused by using the PreparedStatement.setObject method without the scale parameter, which assumes a scale of zero. I fixed it in my installation by patching org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil to pass the scale of BigDecimals. Fixed version attached. I believe the relevant code in the CVS Head is still the same. -- >Comment By: Alexey Loubyansky (loubyansky) Date: 2004-08-04 17:06 Message: Logged In: YES user_id=543482 Reeopen if it's still a problem. Also check out http://www.jboss.org/wiki/Wiki.jsp?page=CMPParamSettersResultReaders Thanks. -- Comment By: Paul Boocock (boocockp) Date: 2003-04-25 13:58 Message: Logged In: YES user_id=263610 How/where can I get version 3.2.1? -- Comment By: Jeremy Boynes (jboynes) Date: 2003-04-21 05:47 Message: Logged In: YES user_id=378919 Similar but slightly different fix in 3.2.1 Please verify that this works with your Sybase driver -- Comment By: Paul Boocock (boocockp) Date: 2003-04-08 11:05 Message: Logged In: YES user_id=263610 File uploaded this time, I hope -- Comment By: Scott M Stark (starksm) Date: 2003-04-04 08:06 Message: Logged In: YES user_id=175228 There is no attachment. Check the upload box when adding an attachment. -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=713352&group_id=22866 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [ jboss-Bugs-713352 ] BigDecimals lose fractional digits
Bugs item #713352, was opened at 2003-04-01 06:29 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=713352&group_id=22866 Category: JBossCMP Group: v3.0 Rabbit Hole Status: Open Resolution: None Priority: 5 Submitted By: Paul Boocock (boocockp) Assigned to: Nobody/Anonymous (nobody) Summary: BigDecimals lose fractional digits Initial Comment: BIgDecimal CMP fields may lose the digits after the decimal point when they are stored in the database. This was observed with: JBoss 3.0.6 Windows 2000 JDK1.4.1_02 Sybase Adaptive Server Enterprise/11.9.2.1 Sybase jConnect 5.5 JDBC driver I believe this problem is caused by using the PreparedStatement.setObject method without the scale parameter, which assumes a scale of zero. I fixed it in my installation by patching org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil to pass the scale of BigDecimals. Fixed version attached. I believe the relevant code in the CVS Head is still the same. -- >Comment By: Scott M Stark (starksm) Date: 2003-04-03 21:06 Message: Logged In: YES user_id=175228 There is no attachment. Check the upload box when adding an attachment. -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=713352&group_id=22866 --- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [ jboss-Bugs-713352 ] BigDecimals lose fractional digits
Bugs item #713352, was opened at 2003-04-01 14:29 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=713352&group_id=22866 Category: JBossCMP Group: v3.0 Rabbit Hole Status: Open Resolution: None Priority: 5 Submitted By: Paul Boocock (boocockp) Assigned to: Nobody/Anonymous (nobody) Summary: BigDecimals lose fractional digits Initial Comment: BIgDecimal CMP fields may lose the digits after the decimal point when they are stored in the database. This was observed with: JBoss 3.0.6 Windows 2000 JDK1.4.1_02 Sybase Adaptive Server Enterprise/11.9.2.1 Sybase jConnect 5.5 JDBC driver I believe this problem is caused by using the PreparedStatement.setObject method without the scale parameter, which assumes a scale of zero. I fixed it in my installation by patching org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil to pass the scale of BigDecimals. Fixed version attached. I believe the relevant code in the CVS Head is still the same. -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=713352&group_id=22866 --- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development