Package org.databene.mad4db.cmd

Examples of org.databene.mad4db.cmd.ColumnTypeChange


    Integer newSize = col2.getSize();
    Integer newFractionDigits = col2.getFractionDigits();
    if (!col1.getType().equals(newType)
        || !NullSafeComparator.equals(col1.getSize(), newSize)
        || !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()));
   
View Full Code Here

TOP

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

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.