This commit is contained in:
Ronald Q
2017-03-11 12:32:53 -04:00
parent a4c57f329a
commit 30c04360c5
5 changed files with 3 additions and 7 deletions

View File

@@ -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);

View File

@@ -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);

View File

@@ -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);