BF [ 1901192 ] LogMigrationScripts: GridTable.dataSave: manual update

This commit is contained in:
teo_sarca 2008-04-16 07:59:22 +00:00
parent 84a23f02ab
commit 31b7ce5c5b
1 changed files with 6 additions and 0 deletions

View File

@ -47,6 +47,9 @@ import org.compiere.util.*;
*
* @author Jorg Janke
* @version $Id: GridTable.java,v 1.9 2006/08/09 16:38:25 jjanke Exp $
*
* @author Teo Sarca, SC ARHIPAC SERVICE SRL
* <li>BF [ 1901192 ] LogMigrationScripts: GridTable.dataSave: manual update
*/
public class GridTable extends AbstractTableModel
implements Serializable
@ -1207,6 +1210,9 @@ public class GridTable extends AbstractTableModel
boolean manualUpdate = ResultSet.CONCUR_READ_ONLY == rs.getConcurrency();
if (DB.isRemoteObjects())
manualUpdate = true;
// Manual update if log migration scripts is enabled - teo_sarca BF [ 1901192 ]
if(!manualUpdate && Ini.isPropertyBool(Ini.P_LOGMIGRATIONSCRIPT))
manualUpdate = true;
if (manualUpdate)
createUpdateSqlReset();
if (m_inserting)