Author: jonesde
Date: Tue Oct 21 23:54:37 2008 New Revision: 706869 URL: http://svn.apache.org/viewvc?rev=706869&view=rev Log: Changed java-type on various types from Double to BigDecimal; added fixed-point field type which will be used for various things that are using floating-point right now, but where a float is really not the best option Modified: ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypeadvantage.xml ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypeaxion.xml ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypecloudscape.xml ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypedaffodil.xml ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypederby.xml ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypefirebird.xml ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypehsql.xml ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypemssql.xml ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypemysql.xml ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypeoracle.xml ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypepostgres.xml ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypepostnew.xml ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypesapdb.xml ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypesybase.xml Modified: ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypeadvantage.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypeadvantage.xml?rev=706869&r1=706868&r2=706869&view=diff ============================================================================== --- ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypeadvantage.xml (original) +++ ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypeadvantage.xml Tue Oct 21 23:54:37 2008 @@ -31,8 +31,9 @@ <field-type-def type="date" sql-type="Date" java-type="java.sql.Date"></field-type-def> <field-type-def type="time" sql-type="Time" java-type="java.sql.Time"></field-type-def> - <field-type-def type="currency-amount" sql-type="Money" java-type="Double"><validate method="isSignedDouble" /></field-type-def> - <field-type-def type="currency-precise" sql-type="Double" java-type="Double"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="currency-amount" sql-type="Money" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="currency-precise" sql-type="Double" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="fixed-point" sql-type="Double" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> <field-type-def type="floating-point" sql-type="Double" java-type="Double"><validate method="isSignedDouble" /></field-type-def> <field-type-def type="numeric" sql-type="Integer" java-type="Long"><validate method="isSignedLong" /></field-type-def> Modified: ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypeaxion.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypeaxion.xml?rev=706869&r1=706868&r2=706869&view=diff ============================================================================== --- ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypeaxion.xml (original) +++ ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypeaxion.xml Tue Oct 21 23:54:37 2008 @@ -28,8 +28,9 @@ <field-type-def type="date" sql-type="DATE" java-type="java.sql.Date"></field-type-def> <field-type-def type="time" sql-type="TIME" java-type="java.sql.Time"></field-type-def> - <field-type-def type="currency-amount" sql-type="NUMBER(18,2)" java-type="Double"><validate method="isSignedDouble" /></field-type-def> - <field-type-def type="currency-precise" sql-type="NUMBER(18,3)" java-type="Double"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="currency-amount" sql-type="NUMBER(18,2)" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="currency-precise" sql-type="NUMBER(18,3)" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="fixed-point" sql-type="NUMBER(18,6)" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> <field-type-def type="floating-point" sql-type="FLOAT" java-type="Double"><validate method="isSignedDouble" /></field-type-def> <field-type-def type="numeric" sql-type="NUMBER(20,0)" java-type="Long"><validate method="isSignedLong" /></field-type-def> Modified: ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypecloudscape.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypecloudscape.xml?rev=706869&r1=706868&r2=706869&view=diff ============================================================================== --- ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypecloudscape.xml (original) +++ ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypecloudscape.xml Tue Oct 21 23:54:37 2008 @@ -28,8 +28,9 @@ <field-type-def type="date" sql-type="DATE" java-type="java.sql.Date"></field-type-def> <field-type-def type="time" sql-type="DATE" java-type="java.sql.Time"></field-type-def> - <field-type-def type="currency-amount" sql-type="NUMERIC(18,2)" java-type="Double"><validate method="isSignedDouble" /></field-type-def> - <field-type-def type="currency-precise" sql-type="NUMERIC(18,3)" java-type="Double"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="currency-amount" sql-type="NUMERIC(18,2)" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="currency-precise" sql-type="NUMERIC(18,3)" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="fixed-point" sql-type="NUMERIC(18,6)" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> <field-type-def type="floating-point" sql-type="NUMERIC(18,6)" java-type="Double"><validate method="isSignedDouble" /></field-type-def> <field-type-def type="numeric" sql-type="NUMERIC(20,0)" java-type="Long"><validate method="isSignedLong" /></field-type-def> Modified: ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypedaffodil.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypedaffodil.xml?rev=706869&r1=706868&r2=706869&view=diff ============================================================================== --- ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypedaffodil.xml (original) +++ ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypedaffodil.xml Tue Oct 21 23:54:37 2008 @@ -28,8 +28,9 @@ <field-type-def type="date" sql-type="DATE" java-type="java.sql.Date"></field-type-def> <field-type-def type="time" sql-type="TIME" java-type="java.sql.Time"></field-type-def> - <field-type-def type="currency-amount" sql-type="NUMBER(18,2)" java-type="Double"><validate method="isSignedDouble" /></field-type-def> - <field-type-def type="currency-precise" sql-type="NUMBER(18,3)" java-type="Double"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="currency-amount" sql-type="NUMBER(18,2)" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="currency-precise" sql-type="NUMBER(18,3)" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="fixed-point" sql-type="NUMBER(18,6)" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> <field-type-def type="floating-point" sql-type="NUMBER(18,6)" java-type="Double"><validate method="isSignedDouble" /></field-type-def> <field-type-def type="numeric" sql-type="NUMBER(20,0)" java-type="Long"><validate method="isSignedLong" /></field-type-def> Modified: ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypederby.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypederby.xml?rev=706869&r1=706868&r2=706869&view=diff ============================================================================== --- ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypederby.xml (original) +++ ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypederby.xml Tue Oct 21 23:54:37 2008 @@ -28,8 +28,9 @@ <field-type-def type="date" sql-type="DATE" java-type="java.sql.Date"></field-type-def> <field-type-def type="time" sql-type="TIME" java-type="java.sql.Time"></field-type-def> - <field-type-def type="currency-amount" sql-type="NUMERIC(18,2)" java-type="Double"><validate method="isSignedDouble" /></field-type-def> - <field-type-def type="currency-precise" sql-type="NUMERIC(18,3)" java-type="Double"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="currency-amount" sql-type="NUMERIC(18,2)" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="currency-precise" sql-type="NUMERIC(18,3)" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="fixed-point" sql-type="NUMERIC(18,6)" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> <field-type-def type="floating-point" sql-type="DOUBLE" java-type="Double"><validate method="isSignedDouble" /></field-type-def> <field-type-def type="numeric" sql-type="NUMERIC(20,0)" java-type="Long"><validate method="isSignedLong" /></field-type-def> Modified: ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypefirebird.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypefirebird.xml?rev=706869&r1=706868&r2=706869&view=diff ============================================================================== --- ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypefirebird.xml (original) +++ ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypefirebird.xml Tue Oct 21 23:54:37 2008 @@ -29,8 +29,9 @@ <field-type-def type="date" sql-type="DATE" java-type="java.sql.Date"></field-type-def> <field-type-def type="time" sql-type="TIME" java-type="java.sql.Time"></field-type-def> - <field-type-def type="currency-amount" sql-type="NUMERIC(18,2)" java-type="Double"><validate method="isSignedDouble" /></field-type-def> - <field-type-def type="currency-precise" sql-type="NUMERIC(18,3)" java-type="Double"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="currency-amount" sql-type="NUMERIC(18,2)" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="currency-precise" sql-type="NUMERIC(18,3)" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="fixed-point" sql-type="NUMERIC(18,6)" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> <field-type-def type="floating-point" sql-type="FLOAT" java-type="Double"><validate method="isSignedDouble" /></field-type-def> <field-type-def type="numeric" sql-type="NUMERIC(20,0)" java-type="Long"><validate method="isSignedLong" /></field-type-def> Modified: ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypehsql.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypehsql.xml?rev=706869&r1=706868&r2=706869&view=diff ============================================================================== --- ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypehsql.xml (original) +++ ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypehsql.xml Tue Oct 21 23:54:37 2008 @@ -28,8 +28,9 @@ <field-type-def type="date" sql-type="DATE" java-type="java.sql.Date"></field-type-def> <field-type-def type="time" sql-type="TIME" java-type="java.sql.Time"></field-type-def> - <field-type-def type="currency-amount" sql-type="DOUBLE" java-type="Double"><validate method="isSignedDouble" /></field-type-def> - <field-type-def type="currency-precise" sql-type="DOUBLE" java-type="Double"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="currency-amount" sql-type="DOUBLE" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="currency-precise" sql-type="DOUBLE" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="fixed-point" sql-type="DOUBLE" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> <field-type-def type="floating-point" sql-type="DOUBLE" java-type="Double"><validate method="isSignedDouble" /></field-type-def> <field-type-def type="numeric" sql-type="BIGINT" java-type="Long"><validate method="isSignedLong" /></field-type-def> Modified: ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypemssql.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypemssql.xml?rev=706869&r1=706868&r2=706869&view=diff ============================================================================== --- ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypemssql.xml (original) +++ ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypemssql.xml Tue Oct 21 23:54:37 2008 @@ -28,8 +28,9 @@ <field-type-def type="date" sql-type="DATETIME" java-type="java.sql.Date"></field-type-def> <field-type-def type="time" sql-type="DATETIME" java-type="java.sql.Time"></field-type-def> - <field-type-def type="currency-amount" sql-type="DECIMAL(18,2)" java-type="Double"><validate method="isSignedDouble" /></field-type-def> - <field-type-def type="currency-precise" sql-type="DECIMAL(18,3)" java-type="Double"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="currency-amount" sql-type="DECIMAL(18,2)" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="currency-precise" sql-type="DECIMAL(18,3)" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="fixed-point" sql-type="DECIMAL(18,6)" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> <field-type-def type="floating-point" sql-type="FLOAT" java-type="Double"><validate method="isSignedDouble" /></field-type-def> <field-type-def type="numeric" sql-type="INT" java-type="Long"><validate method="isSignedLong" /></field-type-def> Modified: ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypemysql.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypemysql.xml?rev=706869&r1=706868&r2=706869&view=diff ============================================================================== --- ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypemysql.xml (original) +++ ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypemysql.xml Tue Oct 21 23:54:37 2008 @@ -28,8 +28,9 @@ <field-type-def type="date" sql-type="DATE" java-type="java.sql.Date"></field-type-def> <field-type-def type="time" sql-type="TIME" java-type="java.sql.Time"></field-type-def> - <field-type-def type="currency-amount" sql-type="DECIMAL(18,2)" java-type="Double"><validate method="isSignedDouble" /></field-type-def> - <field-type-def type="currency-precise" sql-type="DECIMAL(18,3)" java-type="Double"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="currency-amount" sql-type="DECIMAL(18,2)" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="currency-precise" sql-type="DECIMAL(18,3)" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="fixed-point" sql-type="DECIMAL(18,6)" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> <field-type-def type="floating-point" sql-type="DECIMAL(18,6)" java-type="Double"><validate method="isSignedDouble" /></field-type-def> <field-type-def type="numeric" sql-type="DECIMAL(20,0)" java-type="Long"><validate method="isSignedLong" /></field-type-def> Modified: ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypeoracle.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypeoracle.xml?rev=706869&r1=706868&r2=706869&view=diff ============================================================================== --- ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypeoracle.xml (original) +++ ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypeoracle.xml Tue Oct 21 23:54:37 2008 @@ -28,8 +28,9 @@ <field-type-def type="date" sql-type="DATE" java-type="java.sql.Date"></field-type-def> <field-type-def type="time" sql-type="DATE" java-type="java.sql.Time"></field-type-def> - <field-type-def type="currency-amount" sql-type="NUMBER(18,2)" java-type="Double"><validate method="isSignedDouble" /></field-type-def> - <field-type-def type="currency-precise" sql-type="NUMBER(18,3)" java-type="Double"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="currency-amount" sql-type="NUMBER(18,2)" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="currency-precise" sql-type="NUMBER(18,3)" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="fixed-point" sql-type="NUMBER(18,6)" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> <field-type-def type="floating-point" sql-type="NUMBER(18,6)" java-type="Double"><validate method="isSignedDouble" /></field-type-def> <field-type-def type="numeric" sql-type="NUMBER(20,0)" java-type="Long"><validate method="isSignedLong" /></field-type-def> Modified: ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypepostgres.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypepostgres.xml?rev=706869&r1=706868&r2=706869&view=diff ============================================================================== --- ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypepostgres.xml (original) +++ ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypepostgres.xml Tue Oct 21 23:54:37 2008 @@ -28,8 +28,9 @@ <field-type-def type="date" sql-type="DATE" java-type="java.sql.Date"></field-type-def> <field-type-def type="time" sql-type="TIME" java-type="java.sql.Time"></field-type-def> - <field-type-def type="currency-amount" sql-type="NUMERIC(18,2)" java-type="Double"><validate method="isSignedDouble" /></field-type-def> - <field-type-def type="currency-precise" sql-type="NUMERIC(18,3)" java-type="Double"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="currency-amount" sql-type="NUMERIC(18,2)" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="currency-precise" sql-type="NUMERIC(18,3)" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="fixed-point" sql-type="NUMERIC(18,6)" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> <field-type-def type="floating-point" sql-type="FLOAT8" java-type="Double"><validate method="isSignedDouble" /></field-type-def> <field-type-def type="numeric" sql-type="NUMERIC(20,0)" java-type="Long"><validate method="isSignedLong" /></field-type-def> Modified: ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypepostnew.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypepostnew.xml?rev=706869&r1=706868&r2=706869&view=diff ============================================================================== --- ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypepostnew.xml (original) +++ ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypepostnew.xml Tue Oct 21 23:54:37 2008 @@ -59,8 +59,9 @@ <field-type-def type="date" sql-type="DATE" java-type="java.sql.Date"></field-type-def> <field-type-def type="time" sql-type="TIME" java-type="java.sql.Time"></field-type-def> - <field-type-def type="currency-amount" sql-type="NUMERIC(18,2)" java-type="Double"><validate method="isSignedDouble" /></field-type-def> - <field-type-def type="currency-precise" sql-type="NUMERIC(18,3)" java-type="Double"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="currency-amount" sql-type="NUMERIC(18,2)" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="currency-precise" sql-type="NUMERIC(18,3)" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="fixed-point" sql-type="NUMERIC(18,6)" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> <field-type-def type="floating-point" sql-type="FLOAT8" java-type="Double"><validate method="isSignedDouble" /></field-type-def> <field-type-def type="numeric" sql-type="NUMERIC(20,0)" java-type="Long"><validate method="isSignedLong" /></field-type-def> Modified: ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypesapdb.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypesapdb.xml?rev=706869&r1=706868&r2=706869&view=diff ============================================================================== --- ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypesapdb.xml (original) +++ ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypesapdb.xml Tue Oct 21 23:54:37 2008 @@ -28,8 +28,9 @@ <field-type-def type="date" sql-type="DATE" java-type="java.sql.Date"></field-type-def> <field-type-def type="time" sql-type="TIME" java-type="java.sql.Time"></field-type-def> - <field-type-def type="currency-amount" sql-type="FIXED(18,2)" java-type="Double"><validate method="isSignedDouble" /></field-type-def> - <field-type-def type="currency-precise" sql-type="FIXED(18,3)" java-type="Double"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="currency-amount" sql-type="FIXED(18,2)" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="currency-precise" sql-type="FIXED(18,3)" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="fixed-point" sql-type="FIXED(18,6)" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> <field-type-def type="floating-point" sql-type="FIXED(18,6)" java-type="Double"><validate method="isSignedDouble" /></field-type-def> <field-type-def type="numeric" sql-type="FIXED(20,0)" java-type="Long"><validate method="isSignedLong" /></field-type-def> Modified: ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypesybase.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypesybase.xml?rev=706869&r1=706868&r2=706869&view=diff ============================================================================== --- ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypesybase.xml (original) +++ ofbiz/branches/typecheckcleanup200810/framework/entity/fieldtype/fieldtypesybase.xml Tue Oct 21 23:54:37 2008 @@ -28,8 +28,9 @@ <field-type-def type="date" sql-type="DATETIME" java-type="java.sql.Date"></field-type-def> <field-type-def type="time" sql-type="DATETIME" java-type="java.sql.Time"></field-type-def> - <field-type-def type="currency-amount" sql-type="NUMERIC(18,2)" java-type="Double"><validate method="isSignedDouble" /></field-type-def> - <field-type-def type="currency-precise" sql-type="NUMERIC(18,3)" java-type="Double"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="currency-amount" sql-type="NUMERIC(18,2)" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="currency-precise" sql-type="NUMERIC(18,3)" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> + <field-type-def type="fixed-point" sql-type="NUMERIC(18,6)" java-type="java.math.BigDecimal"><validate method="isSignedDouble" /></field-type-def> <field-type-def type="floating-point" sql-type="NUMERIC(18,6)" java-type="Double"><validate method="isSignedDouble" /></field-type-def> <field-type-def type="numeric" sql-type="NUMERIC(20,0)" java-type="Long"><validate method="isSignedLong" /></field-type-def> |
Free forum by Nabble | Edit this page |