List of usage examples for org.hibernate.tool.hbm2ddl ColumnMetadata getColumnSize
public int getColumnSize()
From source file:com.amalto.core.storage.hibernate.mapping.MDMTableUtils.java
License:Open Source License
public static boolean isIncreaseVarcharColumnLength(Column newColumn, ColumnMetadata oldColumnInfo, Dialect dialect) {//from w ww. ja v a 2 s . c om return newColumn.getLength() > oldColumnInfo.getColumnSize(); }