[ofbiz-framework] branch trunk updated: Fixed: Field Type definitions

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-framework] branch trunk updated: Fixed: Field Type definitions

mbrohl
This is an automated email from the ASF dual-hosted git repository.

mbrohl pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 75ed0c4  Fixed: Field Type definitions
     new b552791  Merge pull request #29 from PierreSmits/OFBIZ-10955-FieldType
75ed0c4 is described below

commit 75ed0c48ee37b642399fbe31eabc6ad8f61fb0f7
Author: Pierre Smits <[hidden email]>
AuthorDate: Tue Feb 25 12:59:58 2020 +0100

    Fixed: Field Type definitions
   
    (OFBIZ-10955)
   
    Adding missing field type definition for Apache Derby, MySQL, PostgreSQL
---
 framework/entity/fieldtype/fieldtypederby.xml    | 1 +
 framework/entity/fieldtype/fieldtypemysql.xml    | 3 ++-
 framework/entity/fieldtype/fieldtypepostgres.xml | 3 ++-
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/framework/entity/fieldtype/fieldtypederby.xml b/framework/entity/fieldtype/fieldtypederby.xml
index 80d2cfe..1f40642 100644
--- a/framework/entity/fieldtype/fieldtypederby.xml
+++ b/framework/entity/fieldtype/fieldtypederby.xml
@@ -35,6 +35,7 @@ under the License.
     <field-type-def type="fixed-point" sql-type="NUMERIC(18,6)" java-type="java.math.BigDecimal"/>
     <field-type-def type="floating-point" sql-type="DOUBLE" java-type="Double"/>
     <field-type-def type="numeric" sql-type="NUMERIC(20,0)" java-type="Long"/>
+    <field-type-def type="integer" sql-type="INTEGER" java-type="Integer"/>
 
     <field-type-def type="id" sql-type="VARCHAR(20)" java-type="String"/>
     <field-type-def type="id-long" sql-type="VARCHAR(60)" java-type="String"/>
diff --git a/framework/entity/fieldtype/fieldtypemysql.xml b/framework/entity/fieldtype/fieldtypemysql.xml
index beb9fa3..843a697 100644
--- a/framework/entity/fieldtype/fieldtypemysql.xml
+++ b/framework/entity/fieldtype/fieldtypemysql.xml
@@ -34,8 +34,9 @@ under the License.
     <field-type-def type="currency-precise" sql-type="DECIMAL(18,3)" java-type="java.math.BigDecimal"/>
     <field-type-def type="fixed-point" sql-type="DECIMAL(18,6)" java-type="java.math.BigDecimal"/>
     <field-type-def type="floating-point" sql-type="DOUBLE" java-type="Double"/>
+    <field-type-def type="integer" sql-type="INTEGER" java-type="Integer"/>
     <field-type-def type="numeric" sql-type="DECIMAL(20,0)" java-type="Long"/>
-
+    
     <field-type-def type="id" sql-type="VARCHAR(20)" java-type="String"/>
     <field-type-def type="id-long" sql-type="VARCHAR(60)" java-type="String"/>
     <field-type-def type="id-vlong" sql-type="VARCHAR(250)" java-type="String"/>
diff --git a/framework/entity/fieldtype/fieldtypepostgres.xml b/framework/entity/fieldtype/fieldtypepostgres.xml
index 8cb243e..a2ac980 100644
--- a/framework/entity/fieldtype/fieldtypepostgres.xml
+++ b/framework/entity/fieldtype/fieldtypepostgres.xml
@@ -34,8 +34,9 @@ under the License.
     <field-type-def type="currency-precise" sql-type="NUMERIC(18,3)" java-type="java.math.BigDecimal"/>
     <field-type-def type="fixed-point" sql-type="NUMERIC(18,6)" java-type="java.math.BigDecimal"/>
     <field-type-def type="floating-point" sql-type="FLOAT8" java-type="Double"/>
+    <field-type-def type="integer" sql-type="INTEGER" java-type="Integer"/>
     <field-type-def type="numeric" sql-type="NUMERIC(20,0)" java-type="Long"/>
-
+    
     <field-type-def type="id" sql-type="VARCHAR(20)" java-type="String"/>
     <field-type-def type="id-long" sql-type="VARCHAR(60)" java-type="String"/>
     <field-type-def type="id-vlong" sql-type="VARCHAR(255)" java-type="String"/>