Package org.jpox.store.rdbms.typeinfo

Examples of org.jpox.store.rdbms.typeinfo.DB2TypeInfo


        super(metadata);

        reservedKeywords.addAll(parseKeywordList(DB2_RESERVED_WORDS));

        // Add on any missing JDBC types
        TypeInfo ti = new DB2TypeInfo("FLOAT",
            (short)Types.FLOAT,
             53,
             null,
             null,
             null,
             1,
             false,
             (short)2,
             false,
             false,
             false,
             null,
             (short)0,
             (short)0,
             0);
        addTypeInfo((short)Types.FLOAT, ti, true);

        ti = new DB2TypeInfo("NUMERIC",
            (short)Types.NUMERIC,
             31,
             null,
             null,
             "PRECISION,SCALE",
             1,
             false,
             (short)2,
             false,
             false,
             false,
             null,
             (short)0,
             (short)31,
             0);
        addTypeInfo((short)Types.NUMERIC, ti, true);

        ti = new DB2TypeInfo("BIGINT",
            (short)Types.BIGINT,
             20,
             null,
             null,
             null,
View Full Code Here


        return false;
    }

    public TypeInfo newTypeInfo(ResultSet rs)
    {
        TypeInfo ti = new DB2TypeInfo(rs);

        return ti;
    }
View Full Code Here

TOP

Related Classes of org.jpox.store.rdbms.typeinfo.DB2TypeInfo

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.