Package org.databene.jdbacl.model

Examples of org.databene.jdbacl.model.DBDataType


  public void compareObjects(DBColumn col1, DBColumn col2, CompositeStructuralChange<?> tableChange) {
    ColumnChange columnChange = new ColumnChange(col1);

    // check column type, size and fractionDigits
    DBDataType newType = col2.getType();
    Integer newSize = col2.getSize();
    Integer newFractionDigits = col2.getFractionDigits();
    if (!col1.getType().equals(newType)
        || !NullSafeComparator.equals(col1.getSize(), newSize)
        || !NullSafeComparator.equals(col1.getFractionDigits(), newFractionDigits))
View Full Code Here

TOP

Related Classes of org.databene.jdbacl.model.DBDataType

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.