Package org.databene.mad4db.cmd

Examples of org.databene.mad4db.cmd.DefaultValueChange


        || !NullSafeComparator.equals(col1.getFractionDigits(), newFractionDigits))
      columnChange.addSubChange(new ColumnTypeChange(col1, newType, newSize, newFractionDigits));

    // check column default
    if (!NullSafeComparator.equals(col1.getDefaultValue(), col2.getDefaultValue()))
      columnChange.addSubChange(new DefaultValueChange(col1, col2.getDefaultValue()));
   
    // check column nullability
    if (col1.isNullable() && !col2.isNullable())
      columnChange.addSubChange(new NotNullConstraintCreation(col2.getNotNullConstraint()));
    if (!col1.isNullable() && col2.isNullable())
View Full Code Here

TOP

Related Classes of org.databene.mad4db.cmd.DefaultValueChange

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.