HOR-2698
This commit is contained in:
@@ -63,7 +63,7 @@ class AppSequenceMapBuilder
|
||||
$tMap = $this->dbMap->addTable('APP_SEQUENCE');
|
||||
$tMap->setPhpName('AppSequence');
|
||||
|
||||
$tMap->setUseIdGenerator(true);
|
||||
$tMap->setUseIdGenerator(false);
|
||||
|
||||
$tMap->addPrimaryKey('ID', 'Id', 'int', CreoleTypes::INTEGER, true, null);
|
||||
|
||||
|
||||
@@ -198,8 +198,6 @@ abstract class BaseAppSequence extends BaseObject implements Persistent
|
||||
// should always be true here (even though technically
|
||||
// BasePeer::doInsert() can insert multiple rows).
|
||||
|
||||
$this->setId($pk); //[IMV] update autoincrement primary key
|
||||
|
||||
$this->setNew(false);
|
||||
} else {
|
||||
$affectedRows += AppSequencePeer::doUpdate($this, $con);
|
||||
|
||||
@@ -338,8 +338,6 @@ abstract class BaseAppSequencePeer
|
||||
$criteria = $values->buildCriteria(); // build Criteria from AppSequence object
|
||||
}
|
||||
|
||||
//$criteria->remove(AppSequencePeer::ID); // remove pkey col since this table uses auto-increment
|
||||
|
||||
|
||||
// Set the correct dbName
|
||||
$criteria->setDbName(self::DATABASE_NAME);
|
||||
|
||||
Reference in New Issue
Block a user