Print Thread
TOracleObject Attributes and Oracle Number Type
#135 10/29/99 03:33 AM
Joined: Oct 1999
Posts: 32
Sacramento, CA, USA
A
AndreyB Offline OP
Member
OP Offline
Member
A
Joined: Oct 1999
Posts: 32
Sacramento, CA, USA
Oops!
Big trouble, TOracleObject Get/SettAttr work improperly with Oracle Number type when precision exceeds precision of Double (15) because those methods ALWAYS convert them to the Double.
What a heck, how can I work with my objects in case when attributes have precision more than 15. Why this situation is handled on TOracleQuery level (converting to string) if precision exceeds TOraSession.Preferences.FloatPrecision and not in case of objects.
Anybody have a solution for that? Changing database obects definition is not an option. [Linked Image]

Re: TOracleObject Attributes and Oracle Number Type
#136 11/02/99 12:26 AM
Joined: Aug 1999
Posts: 22,220
Member
Offline
Member
Joined: Aug 1999
Posts: 22,220
The TOracleObject does indeed not take the TOracleSession.Preferences into account. This is not very consistent, so we will fix this in the next patch release.

------------------
Marco Kalter
Allround Automations


Marco Kalter
Allround Automations

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.092s Queries: 13 (0.018s) Memory: 2.4992 MB (Peak: 3.0428 MB) Data Comp: Off Server Time: 2024-05-18 08:18:47 UTC
Valid HTML 5 and Valid CSS