@@ -22,13 +22,10 @@ |
||
22 | 22 | use Doctrine\Common\Util\ClassUtils; |
23 | 23 | use Doctrine\Common\Collections\Collection; |
24 | 24 | use Doctrine\Common\Collections\ArrayCollection; |
25 | - |
|
26 | 25 | use Doctrine\ORM\Query\Parameter; |
27 | 26 | use Doctrine\ORM\Cache\QueryCacheKey; |
28 | 27 | use Doctrine\DBAL\Cache\QueryCacheProfile; |
29 | - |
|
30 | 28 | use Doctrine\ORM\Cache; |
31 | -use Doctrine\ORM\Query\QueryException; |
|
32 | 29 | |
33 | 30 | /** |
34 | 31 | * Base contract for ORM queries. Base class for Query and NativeQuery. |
@@ -24,7 +24,6 @@ |
||
24 | 24 | use Doctrine\Common\Persistence\ObjectRepository; |
25 | 25 | use Doctrine\Common\Collections\Selectable; |
26 | 26 | use Doctrine\Common\Collections\Criteria; |
27 | -use Doctrine\Common\Collections\ArrayCollection; |
|
28 | 27 | |
29 | 28 | /** |
30 | 29 | * An EntityRepository serves as a repository for entities with generic as well as |
@@ -24,9 +24,6 @@ |
||
24 | 24 | use Doctrine\ORM\Mapping\ClassMetadata; |
25 | 25 | use Doctrine\ORM\PersistentCollection; |
26 | 26 | use Doctrine\ORM\Query; |
27 | -use Doctrine\ORM\Events; |
|
28 | -use Doctrine\ORM\Event\LifecycleEventArgs; |
|
29 | -use Doctrine\ORM\Event\PostLoadEventDispatcher; |
|
30 | 27 | use Doctrine\Common\Collections\ArrayCollection; |
31 | 28 | use Doctrine\ORM\Proxy\Proxy; |
32 | 29 |
@@ -20,7 +20,6 @@ |
||
20 | 20 | namespace Doctrine\ORM\Persisters\Collection; |
21 | 21 | |
22 | 22 | use Doctrine\Common\Collections\Criteria; |
23 | -use Doctrine\Common\Proxy\Proxy; |
|
24 | 23 | use Doctrine\DBAL\Types\Type; |
25 | 24 | use Doctrine\ORM\PersistentCollection; |
26 | 25 | use Doctrine\ORM\Utility\PersisterHelper; |
@@ -20,11 +20,8 @@ |
||
20 | 20 | namespace Doctrine\ORM\Persisters\Entity; |
21 | 21 | |
22 | 22 | use Doctrine\ORM\Mapping\ClassMetadata; |
23 | -use Doctrine\ORM\Query\ResultSetMapping; |
|
24 | - |
|
25 | 23 | use Doctrine\DBAL\LockMode; |
26 | 24 | use Doctrine\DBAL\Types\Type; |
27 | - |
|
28 | 25 | use Doctrine\Common\Collections\Criteria; |
29 | 26 | use Doctrine\ORM\Utility\PersisterHelper; |
30 | 27 |
@@ -19,7 +19,6 @@ |
||
19 | 19 | |
20 | 20 | namespace Doctrine\ORM\Query; |
21 | 21 | |
22 | -use Doctrine\DBAL\Types\Type; |
|
23 | 22 | use Doctrine\ORM\EntityManagerInterface; |
24 | 23 | use Doctrine\ORM\Mapping\ClassMetadataInfo; |
25 | 24 | use Doctrine\ORM\Mapping\MappingException; |
@@ -21,7 +21,6 @@ |
||
21 | 21 | |
22 | 22 | use Doctrine\Common\Collections\ArrayCollection; |
23 | 23 | use Doctrine\Common\Collections\Criteria; |
24 | - |
|
25 | 24 | use Doctrine\ORM\Query\Expr; |
26 | 25 | use Doctrine\ORM\Query\QueryExpressionVisitor; |
27 | 26 |
@@ -18,18 +18,9 @@ |
||
18 | 18 | use Doctrine\DBAL\Platforms\PostgreSqlPlatform; |
19 | 19 | use Doctrine\DBAL\Platforms\SQLAnywherePlatform; |
20 | 20 | use Doctrine\DBAL\Platforms\SQLServerPlatform; |
21 | -use Doctrine\ORM\Query\AST\ArithmeticExpression; |
|
22 | -use Doctrine\ORM\Query\AST\ArithmeticFactor; |
|
23 | -use Doctrine\ORM\Query\AST\ArithmeticTerm; |
|
24 | -use Doctrine\ORM\Query\AST\Literal; |
|
25 | 21 | use Doctrine\ORM\Query\AST\OrderByClause; |
26 | -use Doctrine\ORM\Query\AST\OrderByItem; |
|
27 | 22 | use Doctrine\ORM\Query\AST\PartialObjectExpression; |
28 | -use Doctrine\ORM\Query\AST\PathExpression; |
|
29 | 23 | use Doctrine\ORM\Query\AST\SelectExpression; |
30 | -use Doctrine\ORM\Query\AST\SimpleArithmeticExpression; |
|
31 | -use Doctrine\ORM\Query\Expr\OrderBy; |
|
32 | -use Doctrine\ORM\Query\Expr\Select; |
|
33 | 24 | use Doctrine\ORM\Query\SqlWalker; |
34 | 25 | use Doctrine\ORM\Query\AST\SelectStatement; |
35 | 26 |
@@ -20,7 +20,6 @@ |
||
20 | 20 | |
21 | 21 | use Doctrine\DBAL\Types\Type; |
22 | 22 | use Doctrine\ORM\Mapping\ClassMetadataInfo; |
23 | -use Doctrine\ORM\ORMException; |
|
24 | 23 | use Doctrine\ORM\Query; |
25 | 24 | use Doctrine\ORM\Query\TreeWalkerAdapter; |
26 | 25 | use Doctrine\ORM\Query\AST\Functions\IdentityFunction; |