@@ -295,7 +295,7 @@ Example:
295
295
/**
296
296
* @Id
297
297
* @Column(type="integer")
298
- * @generatedValue (strategy="IDENTITY")
298
+ * @GeneratedValue (strategy="IDENTITY")
299
299
*/
300
300
protected $id = null;
301
301
@@ -634,13 +634,17 @@ Example:
634
634
.. code-block :: php
635
635
636
636
<?php
637
- /** @MappedSuperclass */
637
+ /**
638
+ * @MappedSuperclass
639
+ */
638
640
class MappedSuperclassBase
639
641
{
640
642
// ... fields and methods
641
643
}
642
644
643
- /** @Entity */
645
+ /**
646
+ * @Entity
647
+ */
644
648
class EntitySubClassFoo extends MappedSuperclassBase
645
649
{
646
650
// ... fields and methods
@@ -662,7 +666,7 @@ Required attributes:
662
666
Optional attributes:
663
667
664
668
- **resultClass **: The class of the result.
665
- - **sqlResultSetMapping **: The name of a SqlResultSetMapping, as defined in metadata.
669
+ - **resultSetMapping **: The name of a SqlResultSetMapping, as defined in metadata.
666
670
667
671
668
672
Example:
@@ -935,7 +939,7 @@ Required attributes:
935
939
936
940
Optional attributes:
937
941
938
- - **resultClass **: Array of @EntityResult, Specifies the result set mapping to entities.
942
+ - **entities **: Array of @EntityResult, Specifies the result set mapping to entities.
939
943
- **columns **: Array of @ColumnResult, Specifies the result set mapping to scalar values.
940
944
941
945
Example:
@@ -1102,8 +1106,8 @@ Example:
1102
1106
1103
1107
<?php
1104
1108
/**
1105
- * @column (type="integer")
1106
- * @version
1109
+ * @Column (type="integer")
1110
+ * @Version
1107
1111
*/
1108
1112
protected $version;
1109
1113
0 commit comments