Skip to content

Commit

Permalink
Remove LONG data type from Number Types UG section. (#19)
Browse files Browse the repository at this point in the history
Co-authored-by: Aleksandr Lipatev <[email protected]>
  • Loading branch information
allipatev and Aleksandr Lipatev authored Apr 7, 2022
1 parent 5f734bf commit 45e4dfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/user_guide/oracle_user_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ The Oracle dialect does not support all capabilities. A complete list can be fou

### Mapping of Number Types:

`NUMBER`, `NUMBER with precision > 36` and `LONG` are casted to `VARCHAR` to prevent a loss of precision.
`NUMBER` and `NUMBER with precision > 36` are casted to `VARCHAR` to prevent a loss of precision.

If you want to return a DECIMAL type for these types you can set the property `ORACLE_CAST_NUMBER_TO_DECIMAL_WITH_PRECISION_AND_SCALE` to `<precision>,<scale>`.
This will cast values of such types to `DECIMAL(<precision>,<scale>)`.
Expand Down

0 comments on commit 45e4dfb

Please sign in to comment.