GET https://app-prod.fr/association/1900/duplicates

Query Metrics

16 Database Queries
6 Different statements
161.51 ms Query time
1 Invalid entities
36 Managed entities

Queries

Group similar statements

# Time Info
1 10.25 ms
SELECT t0.id AS id_1, t0.produit_reference AS produit_reference_2, t0.is_active_produit AS is_active_produit_3, t0.is_coupure_produit AS is_coupure_produit_4, t0.is_in_active_produit AS is_in_active_produit_5, t0.date_debut AS date_debut_6, t0.date_fin AS date_fin_7, t0.produit_id AS produit_id_8 FROM association t0 WHERE t0.id = ?
Parameters:
[
  "1900"
]
2 10.01 ms
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.composants_id AS composants_id_3, t0.association_id AS association_id_4 FROM qt t0 WHERE t0.association_id = ?
Parameters:
[
  1900
]
3 9.85 ms
"START TRANSACTION"
Parameters:
[]
4 10.42 ms
INSERT INTO association (produit_reference, is_active_produit, is_coupure_produit, is_in_active_produit, date_debut, date_fin, produit_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  "PQDFRM11557_15#BJ"
  1
  0
  0
  null
  null
  278
]
5 10.86 ms
INSERT INTO qt (quantite, composants_id, association_id) VALUES (?, ?, ?)
Parameters:
[
  15
  202
  2119
]
6 9.88 ms
INSERT INTO qt (quantite, composants_id, association_id) VALUES (?, ?, ?)
Parameters:
[
  1
  147
  2119
]
7 9.93 ms
INSERT INTO qt (quantite, composants_id, association_id) VALUES (?, ?, ?)
Parameters:
[
  1
  148
  2119
]
8 9.95 ms
INSERT INTO qt (quantite, composants_id, association_id) VALUES (?, ?, ?)
Parameters:
[
  1
  158
  2119
]
9 9.86 ms
INSERT INTO qt (quantite, composants_id, association_id) VALUES (?, ?, ?)
Parameters:
[
  1
  149
  2119
]
10 9.96 ms
INSERT INTO qt (quantite, composants_id, association_id) VALUES (?, ?, ?)
Parameters:
[
  1
  140
  2119
]
11 10.33 ms
INSERT INTO qt (quantite, composants_id, association_id) VALUES (?, ?, ?)
Parameters:
[
  2
  104
  2119
]
12 9.94 ms
INSERT INTO qt (quantite, composants_id, association_id) VALUES (?, ?, ?)
Parameters:
[
  1
  105
  2119
]
13 9.95 ms
INSERT INTO qt (quantite, composants_id, association_id) VALUES (?, ?, ?)
Parameters:
[
  1
  108
  2119
]
14 10.01 ms
INSERT INTO qt (quantite, composants_id, association_id) VALUES (?, ?, ?)
Parameters:
[
  1
  109
  2119
]
15 10.01 ms
INSERT INTO qt (quantite, composants_id, association_id) VALUES (?, ?, ?)
Parameters:
[
  1
  122
  2119
]
16 10.32 ms
"COMMIT"
Parameters:
[]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Managed Entities

default entity manager

Class Amount of managed objects
App\Entity\Qt 22
App\Entity\Composant 11
App\Entity\Association 2
App\Entity\Produit 1

Entities Mapping

Class Mapping errors
App\Entity\Association No errors.
App\Entity\Produit No errors.
App\Entity\Qt No errors.
App\Entity\Composant
  • The mappings App\Entity\Composant#fournisseurs and App\Entity\Fournisseur#composants are inconsistent with each other.
  • The field App\Entity\Composant#qt is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Entity\Qt#composants does not contain the required 'mappedBy="qt"' attribute.
  • If association App\Entity\Composant#qt is many-to-one, then the inversed side App\Entity\Qt#composants has to be one-to-many.
  • The association App\Entity\Composant#commande refers to the inverse side field App\Entity\Commande#countCommande which does not exist.