YahouSerious

Results 5 comments of YahouSerious

I'm working on a multi customer application( multi database connection ). Each client got his own database, so I need to use a custom entity manager. Your "identity_class" use the...

ok, but at this time, i got trouble with class OpenIdIdentity. It can't inherite from Fp\OpenIdBundle\Entity\UserIdentity. Are you sure you must not put something like "@ORM\Column(name="identity", type="string")" in your classes...

I can't enable auto mapping when several entity managers are defined

Like this ? mappings: FpOpenIdBundle: type: annotation prefix: Fp\OpenId\Entity dir: "%kernel.root_dir%/../vendor/fp/openid-bundle/Fp/OpenIdBundle/Entity" alias: 'FpOpenId' is_bundle: false

Thanks it works ! :) Now i'm trying to inject the custom entity manager ... config.yml: ``` # OpenId fp_open_id: db_driver: orm entity_manager: "@doctrine.orm.customer_entity_manager" identity_class: App\SiteBundle\Entity\OpenIdIdentity ``` Configuration.php ``` /**...