Nikita Timofeev created CAY-2734:
------------------------------------
Summary: Improve support for the DECIMAL type
Key: CAY-2734
URL: https://issues.apache.org/jira/browse/CAY-2734
Project: Cayenne
Issue Type: Improvement
Components: Database integration
Reporter: Nikita Timofeev
Assignee: Nikita Timofeev
Fix For: 4.2.B2
SQL type {{DECIMAL}} could essentially represent any numeric type. For now
Cayenne doesn't have any special treatment for it. It could lead to some minor
problems if this type is used.
For instance, PK that is defined like {{DECIMAL(38,0)}} would generate
{{Integer}} value, though it could be treated as {{Long}}. And when loaded from
the DB it would be set to {{BigDecimal}}
We could add some special logic, so it would be more convenient to use.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)