Examples of UserDataType


Examples of org.h2.engine.UserDataType

            if (table != null) {
                throw DbException.get(ErrorCode.USER_DATA_TYPE_ALREADY_EXISTS_1, typeName + " (" + table.getSQL() + ")");
            }
        }
        int id = getObjectId();
        UserDataType type = new UserDataType(db, id, typeName);
        type.setColumn(column);
        db.addDatabaseObject(session, type);
        return 0;
    }
View Full Code Here

Examples of org.lealone.dbobject.UserDataType

        Column templateColumn = null;
        DataType dataType;
        if (!identifiersToUpper) {
            original = StringUtils.toUpperEnglish(original);
        }
        UserDataType userDataType = database.findUserDataType(original);
        if (userDataType != null) {
            templateColumn = userDataType.getColumn();
            dataType = DataType.getDataType(templateColumn.getType());
            comment = templateColumn.getComment();
            original = templateColumn.getOriginalSQL();
            precision = templateColumn.getPrecision();
            displaySize = templateColumn.getDisplaySize();
View Full Code Here

Examples of org.lealone.dbobject.UserDataType

            if (table != null) {
                throw DbException.get(ErrorCode.USER_DATA_TYPE_ALREADY_EXISTS_1, typeName + " (" + table.getSQL() + ")");
            }
        }
        int id = getObjectId();
        UserDataType type = new UserDataType(db, id, typeName);
        type.setColumn(column);
        db.addDatabaseObject(session, type);
        return 0;
    }
View Full Code Here

Examples of org.lealone.dbobject.UserDataType

    public int update() {
        session.getUser().checkAdmin();
        session.commit(true);
        Database db = session.getDatabase();
        UserDataType type = db.findUserDataType(typeName);
        if (type == null) {
            if (!ifExists) {
                throw DbException.get(ErrorCode.USER_DATA_TYPE_NOT_FOUND_1, typeName);
            }
        } else {
View Full Code Here

Examples of org.nimbustools.messaging.gt4_0_elastic.generated.v2010_08_31.UserDataType

        final LaunchSpecificationRequestType launchSpec = new LaunchSpecificationRequestType();
       
        launchSpec.setImageId(imageId);
        launchSpec.setKeyName(keyName);
        if (userData != null) {
            final UserDataType data = new UserDataType();
            data.setData(userData);
            launchSpec.setUserData(data);
        }
        launchSpec.setInstanceType(instanceType);

        final RequestSpotInstancesType request = new RequestSpotInstancesType();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.