Corrected annotation for sample code: moved repositoryClass attribute from @Table to @Entity.
This commit is contained in:
parent
3cac853dd4
commit
16f132bff0
@ -1244,7 +1244,8 @@ we have to adjust the metadata slightly.
|
||||
|
||||
<?php
|
||||
/**
|
||||
* @Entity @Table(name="bugs", repositoryClass="BugRepository")
|
||||
* @Entity(repositoryClass="BugRepository")
|
||||
* @Table(name="bugs")
|
||||
*/
|
||||
class Bug
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user