Hi.

What if database it's MongoDB?
We need to write the classes or we can to do a schema.yml and generate from it?

The documentation it's not easy at this point, for me.

Thanks in advance.

El 05/08/2010, a las 09:49, Florian escribió:

> Hi,
> 
> you have to create a mapping file before: a schema.yml or .xml for
> example.
> 
> try to run "php hello/console help doctrine:generate:entities" and you
> will see the HELP of this command.
> 
> Try using "doctrine:mapping:import" to generate a schema.yml file from
> an exisitng database, an then run "doctrine:generate:entities"
> 
> Hope it helps!
> Florian.
> 
> On 5 août, 04:21, Michael <[email protected]> wrote:
>> I'm using Symfony2 PR3 and trying to auto generate doctrine entities.
>> I have created a database with some tables and set config.yml with:
>> 
>> doctrine.dbal:
>>     dbname:   dbname
>>     user:     root
>>     password: root
>> 
>> doctrine.orm: ~
>> 
>> when I try to run "php hello/console doctrine:generate:entities"
>> nothing happened.
>> 
>> any idea? do I need to manually create the classes?
> 
> -- 
> 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 developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/symfony-devs?hl=en
> 
> -- 
> Analizado antispam/virus.
> 

_________________________________________________________

Jorge Fuertes - http://jorgefuertes.com
[email protected]
GnuPG key-id: 6B55C7A8
Socio Hispalinux nº: 1510
_________________________________________________________






-- 
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 developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to