Package org.jpox.store.rdbms.typeinfo

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


        super(metadata);

        reservedKeywords.addAll(parseKeywordList(NONSQL92_RESERVED_WORDS));

        // Add on any missing JDBC types
        TypeInfo ti = new MySQLTypeInfo("MEDIUMBLOB",
            (short)Types.BLOB,
            2147483647,
            null,
            null,
            null,
            1,
            false,
            (short)1,
            false,
            false,
            false,
            "MEDIUMBLOB",
            (short)0,
            (short)0,
            0);
        addTypeInfo((short)Types.BLOB, ti, true);

        ti = new MySQLTypeInfo("MEDIUMTEXT",
            (short)Types.CLOB,
            2147483647,
            null,
            null,
            null,
View Full Code Here


     * @param rs The ResultSet from DatabaseMetaData.getTypeInfo().
     * @return A TypeInfo object.
     **/
    public TypeInfo newTypeInfo(ResultSet rs)
    {
        TypeInfo ti=new MySQLTypeInfo(rs);

        // Exclude BINARY and VARBINARY since these equate to CHAR(M) BINARY
        // and VARCHAR(M) BINARY respectively, which aren't true binary
        // types (e.g. trailing space characters are stripped).
        if (ti.typeName.equalsIgnoreCase("binary") ||
View Full Code Here

TOP

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

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.