Hi,

Im running sf prerelease9, i have this weird problem.. when i generate
my entities in a bundle.. i dont get all the mappings, example:

Here is my yml file, it will only generate mappings in my entity file
to the last mapping, beer_price, its like shot_price doesnt even
exists.. does somebody know IF or why i cannot make 2 mappings in this
file?

Pub\ReviewBundle\Entity\Review:
  type: entity
  table: pub_review
  repositoryClass: Pub\ReviewBundle\Entity\Repository\ReviewRepository
  fields:
    id:
      type: integer
      id: true
      generator:
        strategy: AUTO
    created_at: { type: datetime }
    updated_at: { type: datetime }
  manyToOne:
    shot_price:
      targetEntity: Pub\ReviewBundle\Entity\ShotPrice
  manyToOne:
    beer_price:
      targetEntity: Pub\ReviewBundle\Entity\BeerPrice
  lifecycleCallbacks:
    prePersist: [ prePersist ]
    preUpdate: [ preUpdate ]

Best regards,
Michael Holm

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to