ru.curs.celesta.dbutils.adaptors.column.MsSqlColumnDefiner Maven / Gradle / Ivy
The newest version!
package ru.curs.celesta.dbutils.adaptors.column;
import ru.curs.celesta.score.Column;
/**
* Column definer for MsSql.
*/
public abstract class MsSqlColumnDefiner extends ColumnDefiner {
public abstract String getLightDefaultDefinition(Column> c);
final String msSQLDefault(Column> c) {
return String.format("constraint \"def_%s_%s\" ", c.getParentTable().getName(), c.getName())
+ DEFAULT;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy