BF [ 1901192 ] LogMigrationScripts: GridTable.dataSave: manual update
This commit is contained in:
parent
84a23f02ab
commit
31b7ce5c5b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue