Hi everyone

That's my first try with Sf2 Sandbox pr6.

I v got BDD  on mysql done with mysqlWorkbench

I mange to configure my connection


## Doctrine Configuration
doctrine.dbal:
    dbname:   mydbname
    user:     root
    password: null
    logging:  %kernel.debug%
doctrine.orm:
    default_entity_manager: default
    auto_generate_proxy_classes: %kernel.debug%
    entity_managers:
        default:
            connection:       default
    mappings:
        #HelloBundle: ~
        #HelloBundle: { type: yml, dir: Resources/config/doctrine/
mapping }
        HelloBundle: { type: yml, dir: Resources/config/doctrine/
metadata/orm }


I ve try to create the schema.yml from the bdd like Iwas use to do in
sf1


So in the CLI i typed:
php app/console doctrine:mapping:import "HelloBundle" yml --em=default

It generated me lots of file in my
rep
SandBox\Sensio\HelloBundle\Resources\config\doctrine\metadata\orm

My pb is when I try to generate entities from this import:


C:\wamp\www\symfony2\sandbox>php app/console doctrine:mapping:info
Found 0 entities mapped in entity manager 'default'


or when I try:


C:\wamp\www\symfony2\sandbox>php app/console
doctrine:generate:entities "HelloBundle"



  [RuntimeException]
  Bundle HelloBundle does not contain any mapped entities.



Any help would be rea


-- 
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