Package org.castor.ddlgen.typeinfo

Examples of org.castor.ddlgen.typeinfo.OptionalPrecisionDecimalsType


        this.add(new NoParamType("bigint", "BIGINT"));
       
        this.add(new OptionalPrecisionType("float", "FLOAT", conf));
        this.add(new NoParamType("double", "DOUBLE PRECISION"));
        this.add(new NoParamType("real", "REAL"));
        this.add(new OptionalPrecisionDecimalsType("numeric", "NUMERIC", conf));
        this.add(new OptionalPrecisionDecimalsType("decimal", "DECIMAL", conf));

        // character types
        this.add(new OptionalLengthType("char", "CHAR", conf));
        this.add(new OptionalLengthType("varchar", "VARCHAR", conf));
        LOG.warn("MS SQL does not support 'LONGVARCHAR' type, use TEXT instead.");
View Full Code Here


        this.add(new OptionalPrecisionType("smallint", "SMALLINT", conf));
        this.add(new OptionalPrecisionType("integer", "INTEGER", conf));
        this.add(new OptionalPrecisionType("int", "INTEGER", conf));
        this.add(new OptionalPrecisionType("bigint", "BIGINT", conf));
       
        this.add(new OptionalPrecisionDecimalsType("float", "FLOAT", conf));
        this.add(new OptionalPrecisionDecimalsType("double", "DOUBLE", conf));
        this.add(new OptionalPrecisionDecimalsType("real", "REAL", conf));
        this.add(new OptionalPrecisionDecimalsType("numeric", "NUMERIC", conf));
        this.add(new OptionalPrecisionDecimalsType("decimal", "DECIMAL", conf));

        // character types
        this.add(new OptionalLengthType("char", "CHAR", conf));
        this.add(new OptionalLengthType("varchar", "VARCHAR", conf));
        LOG.warn("MySql does not support 'LONGVARCHAR' type, use VARCHAR instead.");
View Full Code Here

        this.add(new NoParamType("bigint", "BIGINT"));
       
        this.add(new RequiredPrecisionType("float", "FLOAT", conf));
        this.add(new NoParamType("double", "DOUBLE"));
        this.add(new NoParamType("real", "REAL"));
        this.add(new OptionalPrecisionDecimalsType("numeric", "NUMERIC", conf));
        this.add(new OptionalPrecisionDecimalsType("decimal", "DECIMAL", conf));

        // character types
        this.add(new OptionalLengthType("char", "CHAR", conf));
        this.add(new RequiredLengthType("varchar", "VARCHAR", conf));
        this.add(new NoParamType("longvarchar", "LONG VARCHAR"));
View Full Code Here

        this.add(new NoParamType("bigint", "NUMERIC"));
       
        this.add(new RequiredPrecisionType("float", "FLOAT", conf));
        this.add(new NoParamType("double", "DOUBLE PRECISION"));
        this.add(new NoParamType("real", "REAL"));
        this.add(new OptionalPrecisionDecimalsType("numeric", "NUMERIC", conf));
        this.add(new OptionalPrecisionDecimalsType("decimal", "DECIMAL", conf));

        // character types
        this.add(new RequiredLengthType("char", "CHAR", conf));
        this.add(new RequiredLengthType("varchar", "VARCHAR", conf));
        LOG.warn("Sybase does not support 'LONGVARCHAR' type, use TEXT instead.");
View Full Code Here

        this.add(new NoParamType("bigint", "BIGINT"));
       
        this.add(new NoParamType("float", "DOUBLE PRECISION"));
        this.add(new NoParamType("double", "DOUBLE PRECISION"));
        this.add(new NoParamType("real", "REAL"));
        this.add(new OptionalPrecisionDecimalsType("numeric", "NUMERIC", conf));
        this.add(new OptionalPrecisionDecimalsType("decimal", "DECIMAL", conf));

        // character types
        this.add(new OptionalLengthType("char", "CHAR", conf));
        this.add(new OptionalLengthType("varchar", "VARCHAR", conf));
        LOG.warn("PostgreSQL does not support 'LONGVARCHAR' type, use VARCHAR instead.");
View Full Code Here

       
        this.add(new NoParamType("float", "FLOAT"));
        this.add(new RequiredPrecisionType("double", "DOUBLE PRECISION", conf));
        this.add(new NoParamType("real", "REAL"));
        this.add(new RequiredPrecisionType("numeric", "NUMERIC", conf));
        this.add(new OptionalPrecisionDecimalsType("decimal", "DECIMAL", conf));

        // character types
        this.add(new RequiredLengthType("char", "CHAR", conf));
        this.add(new RequiredLengthType("varchar", "VARCHAR", conf));
        this.add(new NoParamType("longvarchar", "LONGVARCHAR"));
View Full Code Here

        this.add(new NoParamType("bigint", "NUMERIC"));
       
        this.add(new OptionalLengthType("float", "FLOAT", conf));
        this.add(new NoParamType("double", "DOUBLE PRECISION"));
        this.add(new NoParamType("real", "DOUBLE PRECISION"));
        this.add(new OptionalPrecisionDecimalsType("numeric", "NUMERIC", conf));
        this.add(new OptionalPrecisionDecimalsType("decimal", "DECIMAL", conf));

        // character types
        this.add(new OptionalLengthType("char", "CHAR", conf));
        this.add(new RequiredLengthType("varchar", "VARCHAR", conf));
        LOG.warn("SapDB does not support 'LONGVARCHAR' type, use LONG instead.");
View Full Code Here

        this.add(new NoParamType("tinyint", "SMALLINT"));
        this.add(new NoParamType("smallint", "SMALLINT"));
        this.add(new NoParamType("integer", "INTEGER"));
        this.add(new NoParamType("int", "INTEGER"));
        LOG.warn("PointBase does not support 'BIGINT' type, use NUMERIC instead.");
        this.add(new OptionalPrecisionDecimalsType("bigint", "NUMERIC", conf));
       
        this.add(new RequiredPrecisionType("float", "FLOAT", conf));
        this.add(new NoParamType("double", "DOUBLE PRECISION"));
        this.add(new NoParamType("real", "REAL"));
        this.add(new OptionalPrecisionDecimalsType("numeric", "NUMERIC", conf));
        this.add(new OptionalPrecisionDecimalsType("decimal", "DECIMAL", conf));

        // character types
        this.add(new OptionalLengthType("char", "CHAR", conf));
        this.add(new RequiredLengthType("varchar", "VARCHAR", conf));
        LOG.warn("PointBase does not support 'LOGVARCHAR' type, use CLOB instead.");
View Full Code Here

        this.add(new NoParamType("bigint", "NUMERIC"));
       
        this.add(new OptionalPrecisionType("float", "FLOAT", conf));
        this.add(new NoParamType("double", "DOUBLE PRECISION"));
        this.add(new NoParamType("real", "REAL"));
        this.add(new OptionalPrecisionDecimalsType("numeric", "NUMERIC", conf));
        this.add(new OptionalPrecisionDecimalsType("decimal", "DECIMAL", conf));

        // character types
        this.add(new OptionalLengthType("char", "CHAR", conf));
        this.add(new RequiredLengthType("varchar", "VARCHAR2", conf));
        this.add(new NoParamType("longvarchar", "LONG"));
View Full Code Here

        this.add(new NoParamType("bigint", "BIGINT"));
       
        this.add(new OptionalPrecisionType("float", "FLOAT", conf));
        this.add(new NoParamType("double", "DOUBLE"));
        this.add(new NoParamType("real", "REAL"));
        this.add(new OptionalPrecisionDecimalsType("numeric", "NUMERIC", conf));
        this.add(new OptionalPrecisionDecimalsType("decimal", "DECIMAL", conf));

        // character types
        this.add(new OptionalLengthType("char", "CHAR", conf));
        this.add(new RequiredLengthType("varchar", "VARCHAR", conf));
        this.add(new NoParamType("longvarchar", "LONG VARCHAR"));
View Full Code Here

TOP

Related Classes of org.castor.ddlgen.typeinfo.OptionalPrecisionDecimalsType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.