Hi,
I posted this in the Forms section as :http://www.servoy.com/forum/viewtopic.php?f=2&t=11314
But i realised that the Sql databases group is better, so here it is :
1) Number(38)
I have a number(38) column in Oracle it contains : 12345678901234567890123456789012345678 (38 digits) without problems.
I entered this value by using Sqlplus, not Servoy.
Now i start a Servoy form that displays this column. it shows the correct value
When i change the last digit from 8 to 1 the field changes to 12345678901234567525491324606797053952
But when i do a find /search the old value( 12345678901234567890123456789012345678 ) is shown again !!
When i create a new record and enter the same value in the same field in Servoy the same problem occurs
i enter 12345678901234567890123456789012345678 but when i leave the field or save it changes
to 12345678901234567525491324606797053952 ( ans sometimes to 12,345,678,901,234,568,000,000,000,000,000,000,000)
and when i do a find /search the old value( 12345678901234567890123456789012345678 ) is shown again !!
2) Number(19,2)
I have a number(19,2) in Oracle and i can enter (using Oracle Sqlplus) the value : 12345678901234567.12
Now I start a Servoy form that displays this column. It shows the correct value.
if i change the last digit from 2 to 3 the field changes to 12345678901234568.00
but when i do a find / search the old value (12345678901234567.12) is shown again !!
When i enter 12345678901234567.12 in Servoy it changes to 12345678901234568.00 and stays that way.
3) Integer
I create an integer field in Servoy dataprovider
This becomes a number(10) in Oracle.
I can enter more then 10 digits for instance 1234567890123
when i leave the field or save it seems to be saved.
When i do a find/search ist still shows 1234567890123.
But when i stop/start Servoy solution, the same field now shows : 1912276171
Am i missing something or can someone comment on this.
It happens with Oracle 10.2.0.4 and also with 11gr1 ( i installed only it to test this )
I use the correct jdbc drivers from the specific Oracle version for 10g : ojdbc14.jar and for 11g ojdbc6.jar)
No Errors in logfile