Questions tagged as 'doctrine'

1
answer

Composer error when updating symfony

I'm trying to update symfony from version 2.3 to a more advanced one, my intention was about a 3.0 but there's no way. Reading in the forums I updated the composer.json to a "minimum-stability": "dev" but even so, I always get some dependency...
asked by 03.08.2017 / 23:48
1
answer

Find a Node by the id in neo4j

I am working with neo4j, I need to make a query to recover a node by the id and can not find the node that I specify, if I filter for another property it does find it but if I specify the id it does not find it. If I go directly from the web and...
asked by 16.04.2018 / 20:27
1
answer

Save as copy in Symfony

I'm trying to create a form that has two buttons, save as a copy and save and overwrite. My affected entities in the form are: Checklist-> ChecklistGroup-> ChecklistGroupTask-> ChecklistGroupTaskCorrective Until now I have been able to con...
asked by 30.06.2016 / 09:52
0
answers

Doctrine ORM ManyToMany bidirectional error

I have a query about my entity that gives me an error, I'll show the entity and the error: class Post implements ResourceInterface, TranslatableInterface { /** * @var int */ private $id; /** * @var bool */...
asked by 11.10.2018 / 20:02
0
answers

How is an image encoded / decoded by means of sonata media?

Good morning, I am using symfony2 with sonata, I have a form from which I get an image through an "image" field of type 'sonata_media_type', so in my controller I get this image, my question is how is the image encoded (the image that returns...
asked by 02.07.2016 / 00:55
0
answers

doctrine: mapping: convert, error password

I am trying to do a mapping on the mac console, for Symfony3, and it is giving me access denied access error all the time, it tells me that no password is used, when really in my main root if it has a password. I pass you screenshot p...
asked by 28.04.2016 / 23:56
0
answers

Control duplicated in dependent combos with ShtumiUsefulBundle in Symfony2

This is my section in the application config: shtumi_useful : dependent_filtered_entities: ciudad_by_dpto: class: GestionBundle:Ciudad parent_property: dpto property: nombreciud role: IS_AUTHENTICATED_ANONYM...
asked by 03.02.2016 / 00:35
2
answers

Make insert in table if there is no POSTGRESQL record

I am trying to make an insert in a table but only insert IF the record I want to enter does not exist, in the case that there is already doing nothing. I've tried it this way, I've just registered the names but the insert is as is: INSERT I...
asked by 14.11.2018 / 17:08
1
answer

Left join QueryBuilder Symfony 2

I can not understand how to do a LEFT JOIN using QueryBuilder of symfony2, the query I need to ask is this: SELECT * FROM extranet.version_portal v LEFT JOIN extranet.version_portal_usuario vu ON vu.version_id = v.id;     
asked by 03.10.2018 / 11:02
1
answer

Symfony 2 access database of ms sql server and mysql at the same time

I work with symfony 2.5, doctrine ... I need to access two databases at once: one in mysql on a local server and one in ms sql server 2008 on a remote server. How do I configure the connections and the parameters to access both interchangeably?...
asked by 23.08.2017 / 01:58