IDEMPIERE-2664 DB Extensibility issues

This commit is contained in:
Carlos Ruiz 2015-06-17 15:55:09 -05:00
parent 30f76d2c74
commit ca658eed42
1 changed files with 2 additions and 0 deletions

View File

@ -490,6 +490,7 @@ public class ColumnEncryption extends SvrProcess {
if (rs.next()) {
// Change the column size physically.
alterSql = new StringBuilder(DB.getDatabase().convertStatement(alterSql.toString()));
if (DB.executeUpdate(alterSql.toString(), false, m_trx
.getTrxName()) == -1) {
log.severe("EncryptError [ChangeFieldLength]: ColumnID="
@ -498,6 +499,7 @@ public class ColumnEncryption extends SvrProcess {
}
// Change the column size in AD.
updateSql = new StringBuilder(DB.getDatabase().convertStatement(updateSql.toString()));
if (DB.executeUpdate(updateSql.toString(), false, m_trx
.getTrxName()) == -1) {
log.severe("EncryptError [ChangeFieldLength]: ColumnID="