[
https://issues.apache.org/jira/browse/OFBIZ-3700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12856931#action_12856931
]
Adrian Crum commented on OFBIZ-3700:
------------------------------------
The java-type elements in the fieldtype files specify the object type the JDBC
driver is expecting. In other words, the Postgres JDBC driver expects a Double
for SQL type FLOAT8. So, that can't be changed without some potential
compatibility issues.
On the other hand, the service definitions can specify any Java object type you
want.
> Convert WorkEffort (and related entities) quantities from Double -> BigDecimal
> ------------------------------------------------------------------------------
>
> Key: OFBIZ-3700
> URL: https://issues.apache.org/jira/browse/OFBIZ-3700
> Project: OFBiz
> Issue Type: Bug
> Components: workeffort
> Affects Versions: SVN trunk
> Reporter: Bob Morley
> Priority: Minor
> Fix For: SVN trunk
>
>
> It appears that this entity was missed from the BigDecimal conversion. Ran
> into this when ProductionRunServices was attempting to create a WorkEffort
> (it is passing the quantity to produce as a BigDecimal). A different bug in
> OFBIZ-3699 was causing an auto-convert of the field from BigDecimal to Double
> (which was allowing ProductionRuns to be created). At any rate, we should
> convert this entity and any other quantity related entities in the WorkEffort
> component.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira