Configure it in config.yml
:
doctrine:
# ...
orm:
# ...
naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
More Related Contents:
- Count Rows in Doctrine QueryBuilder
- Using Relationships with Multiple Entity Managers
- symfony2: how to use group_concat in QueryBuilder
- The EntityManager is closed
- Symfony 2: Creating a service from a Repository
- Symfony2 and Doctrine – Error: Invalid PathExpression. Must be a StateFieldPathExpression
- How to convert this to Doctrine 2 QueryBuilder format?
- Primary key of owning side as a join column
- Should everything really be a bundle in Symfony 2.x?
- On delete cascade with doctrine2
- How do I read configuration settings from Symfony2 config.yml?
- How to encode Doctrine entities to JSON in Symfony 2.0 AJAX application?
- How can I access a service outside of a controller with Symfony2?
- What is the new Symfony 3 directory structure?
- How can I run symfony 2 run command from controller
- Symfony2: how to log user out manually in controller?
- How to set up entity (doctrine) for database view in Symfony 2
- How to specify the scope of Google API to get the birthday
- There is no extension able to load the configuration for “facebookbundle” symfony2
- Is there a way to specify Doctrine2 Entitymanager implementation class in Symfony2?
- How can I deploy Symfony in a subdirectory?
- How does the login check_path route work without default controller/action?
- How to get config parameters in Symfony2 Twig Templates
- How to check if a user is logged in Symfony2 inside a controller?
- Doctrine – A new entity was found through the relationship
- Symfony 2.0 getting service inside entity
- Doctrine query builder using inner join with conditions
- How to force Doctrine to update array type fields?
- Query on a many-to-many relationship using Doctrine with Symfony2
- How to add custom link or button to SonataAdminBundle Dashboard in Symfony2