File tree Expand file tree Collapse file tree 6 files changed +21
-0
lines changed Expand file tree Collapse file tree 6 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 1
1
# Upgrade to 2.17
2
2
3
+ ## Deprecate annotations classes for named queries
4
+
5
+ The following classes have been deprecated:
6
+
7
+ * ` Doctrine\ORM\Mapping\NamedNativeQueries `
8
+ * ` Doctrine\ORM\Mapping\NamedNativeQuery `
9
+ * ` Doctrine\ORM\Mapping\NamedQueries `
10
+ * ` Doctrine\ORM\Mapping\NamedQuery `
11
+
3
12
## Deprecate ` Doctrine\ORM\Query\Exec\AbstractSqlExecutor::_sqlStatements `
4
13
5
14
Use ` Doctrine\ORM\Query\Exec\AbstractSqlExecutor::sqlStatements ` instead.
Original file line number Diff line number Diff line change 8
8
* Is used to specify an array of native SQL named queries.
9
9
* The NamedNativeQueries annotation can be applied to an entity or mapped superclass.
10
10
*
11
+ * @deprecated Named queries won't be supported in ORM 3.
12
+ *
11
13
* @Annotation
12
14
* @Target("CLASS")
13
15
*/
Original file line number Diff line number Diff line change 8
8
* Is used to specify a native SQL named query.
9
9
* The NamedNativeQuery annotation can be applied to an entity or mapped superclass.
10
10
*
11
+ * @deprecated Named queries won't be supported in ORM 3.
12
+ *
11
13
* @Annotation
12
14
* @Target("ANNOTATION")
13
15
*/
Original file line number Diff line number Diff line change 5
5
namespace Doctrine \ORM \Mapping ;
6
6
7
7
/**
8
+ * @deprecated Named queries won't be supported in ORM 3.
9
+ *
8
10
* @Annotation
9
11
* @Target("CLASS")
10
12
*/
Original file line number Diff line number Diff line change 5
5
namespace Doctrine \ORM \Mapping ;
6
6
7
7
/**
8
+ * @deprecated Named queries won't be supported in ORM 3.
9
+ *
8
10
* @Annotation
9
11
* @Target("ANNOTATION")
10
12
*/
Original file line number Diff line number Diff line change 38
38
<referencedClass name =" Doctrine\ORM\Exception\UnknownEntityNamespace" />
39
39
<referencedClass name =" Doctrine\ORM\Mapping\Driver\AnnotationDriver" />
40
40
<referencedClass name =" Doctrine\ORM\Mapping\Driver\YamlDriver" />
41
+ <referencedClass name =" Doctrine\ORM\Mapping\NamedNativeQueries" />
42
+ <referencedClass name =" Doctrine\ORM\Mapping\NamedNativeQuery" />
43
+ <referencedClass name =" Doctrine\ORM\Mapping\NamedQueries" />
44
+ <referencedClass name =" Doctrine\ORM\Mapping\NamedQuery" />
41
45
<referencedClass name =" Doctrine\ORM\Query\AST\InExpression" />
42
46
<referencedClass name =" Doctrine\ORM\Tools\Console\Command\ConvertDoctrine1SchemaCommand" />
43
47
<referencedClass name =" Doctrine\ORM\Tools\Console\Command\ConvertMappingCommand" />
You can’t perform that action at this time.
0 commit comments