orm icon indicating copy to clipboard operation
orm copied to clipboard

Doctrine Object Relational Mapper (ORM)

Results 161 orm issues
Sort by recently updated
recently updated
newest added

**Main entity Conferimenti.php** /** * Conferimenti * * @ORM\Table(name="conferimenti") * @ORM\Entity(repositoryClass="App\Repository\ConferimentiRepository") */ class Conferimenti { /** * @var int * * @ORM\Column(name="id", type="bigint", nullable=false) * @ORM\Id * @ORM\GeneratedValue(strategy="SEQUENCE") * @ORM\SequenceGenerator(sequenceName="conferimenti_id_seq",...

| Q | A | ------------- | --- | Branch? | 3.1.x | Bug fix? | yes | New feature? | no | Issues | Fix #11236 ### Issue When...

### Bug Report | Q | A |------------ | ------ | BC Break | idk | Version | 3.1.1 #### Summary When eager relations are loaded by `BasicEntityPersister::loadAll()` https://github.com/doctrine/orm/blob/cbb6c897de4dd4e215c7005505b381c5927e5f4a/src/Persisters/Entity/BasicEntityPersister.php#L907 There...

### Bug Report | Q | A |-------------| ------ | BC Break | no | ORM Version | 2.11.x | PHP Version | 8.1+ #### Summary Found a bug where...

Bug

In https://github.com/doctrine/collections/pull/389, I introduced a new enum: `Order` What should we use it for inside the ORM? - The `OrderBy` attribute: this is a clear use case where we should...

Added templates for QueryBuilder, Query and EntityRepository. --- With repository defined like: ```php /** * @extends EntityRepository */ class ProductRepository extends EntityRepository{} ``` Using it: ```php $qb = $productRepository->createQueryBuilder('p'); //...

Static Analysis

### BC Break Report | Q | A |------------ | ------ | BC Break | yes | Version | 3.1.1 #### Summary If a class has InheritanceType attribute and it...

### Bug Report | Q | A |------------ | ------ | BC Break | yes | Version | 2.11.1 #### Summary We need to defined orm mapping for tables with...

Bug

I think https://github.com/doctrine/orm/pull/11289 did not completely fix problem for eager fetch. Change in that PR checked if primary key of target class is composite but that does not matter when...