[ 
https://issues.apache.org/jira/browse/OFBIZ-3245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12782544#action_12782544
 ] 

Adrian Crum commented on OFBIZ-3245:
------------------------------------

A good example of how the java-type attribute is not being used as intended: 
all fieldtypes*.xml files have the "numeric" field type set to a Java type of 
"Long." According to documentation I found online and elsewhere:

{{Database  SQL type           JDBC driver Java type
--------  ------------------ ---------------------
Advantage Integer            java.lang.Integer
Derby     NUMERIC(20,0)      java.math.BigDecimal
MS SQL    INT                int
MySql     DECIMAL(20,0)      java.math.BigDecimal
Oracle    NUMBER(20,0)       java.math.BigDecimal}}



> Sandbox: Integrating The New Conversion Framework Into The Entity Engine
> ------------------------------------------------------------------------
>
>                 Key: OFBIZ-3245
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3245
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Adrian Crum
>            Assignee: Adrian Crum
>            Priority: Minor
>         Attachments: conversion.patch, conversion.patch, conversion.patch
>
>
> This issue contains a patch intended for evaluation before it is committed. 
> See comments for details.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to