Package org.hsqldb_voltpatches.types

Examples of org.hsqldb_voltpatches.types.JavaObjectData


        switch (outType.typeCode) {

            case Types.OTHER :
                try {
                    if (o instanceof Serializable) {
                        o = new JavaObjectData((Serializable) o);

                        break;
                    }
                } catch (HsqlException e) {
                    Util.throwError(e);
View Full Code Here


        if (data.length(null) == 0) {
            return null;
        }

        return new JavaObjectData(data.getBytes());
    }
View Full Code Here

        return new IntervalSecondData(seconds, nanos, (IntervalType) type);
    }

    protected Object readOther() throws IOException {
        return new JavaObjectData(readByteArray());
    }
View Full Code Here

                    case Types.SQL_BLOB :
                        s += 8;
                        break;

                    case Types.OTHER :
                        JavaObjectData jo = (JavaObjectData) o;

                        s += 4;
                        s += jo.getBytesLength();
                        break;

                    default :
                        throw Error.runtimeError(ErrorCode.U_S0500,
                                                 "RowOutputBinary");
View Full Code Here

            throw Error.error(ErrorCode.X_42587);
        }

        value = scanner.getValue();

        return new JavaObjectData(((BinaryData) value).getBytes());
    }
View Full Code Here

TOP

Related Classes of org.hsqldb_voltpatches.types.JavaObjectData

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.