diff --git a/tests/Doctrine/Tests/ORM/Mapping/php/Doctrine.Tests.Models.DDC2825.ExplicitSchemaAndTable.php b/tests/Doctrine/Tests/ORM/Mapping/php/Doctrine.Tests.Models.DDC2825.ExplicitSchemaAndTable.php new file mode 100644 index 000000000..27f555944 --- /dev/null +++ b/tests/Doctrine/Tests/ORM/Mapping/php/Doctrine.Tests.Models.DDC2825.ExplicitSchemaAndTable.php @@ -0,0 +1,17 @@ +setPrimaryTable(array( + 'name' => 'mytable', + 'schema' => 'myschema', +)); + +$metadata->mapField(array( + 'id' => true, + 'fieldName' => 'id', +)); + +$metadata->setIdGeneratorType(ClassMetadata::GENERATOR_TYPE_AUTO);