Skip to content
Release [3.1.0](https://github.com/doctrine/dbal/milestone/87)

3.1.0
=====

- Total issues resolved: **3**
- Total pull requests resolved: **16**
- Total contributors: **5**

Deprecation,New Feature
-----------------------

 - [4607: Introduce Statement::executeQuery and Statement::executeStatement.](https://github.com/doctrine/dbal/issues/4607) thanks to @beberlei

Deprecation,Documentation
-------------------------

 - [4589: Reference methods using parentheses](https://github.com/doctrine/dbal/pull/4589) thanks to @PowerKiKi

Deprecation,Documentation,Reserved Keywords
-------------------------------------------

 - [4587: [GH-4510] Deprecate ReservedWordsCommand::setKeywordListClass()](https://github.com/doctrine/dbal/pull/4587) thanks to @morozov

Deprecation,Oracle,Schema Managers
----------------------------------

 - [4584: [GH-4503] Mark OracleSchemaManager methods internal](https://github.com/doctrine/dbal/pull/4584) thanks to @morozov

Error Handling,Improvement,Prepared Statements,oci8
---------------------------------------------------

 - [4581: Fix truncated oracle fetch result](https://github.com/doctrine/dbal/pull/4581) thanks to @amenning

Deprecation,Improvement,QueryBuilder
------------------------------------

 - [4578: Predictable `QueryBuilder::executeQuery()` and `QueryBuilder::executeStatement()`](https://github.com/doctrine/dbal/pull/4578) thanks to @PowerKiKi

Deprecation
-----------

 - [4568: Trigger runtime deprecations for previously deprecated APIs](https://github.com/doctrine/dbal/pull/4568) thanks to @morozov

Connections,Sequences,pdo_sqlsrv
--------------------------------

 - [4560: Remove redundant implementation of PDO\SQLSrv\Connection::lastInsertId($name)](https://github.com/doctrine/dbal/pull/4560) thanks to @morozov

Deprecation,Improvement,Schema,Schema Managers
----------------------------------------------

 - [4548: Deprecations in schema- and namespace-related APIs](https://github.com/doctrine/dbal/pull/4548) thanks to @morozov

Deprecation,Platforms,Reserved Keywords
---------------------------------------

 - [4547: Deprecate AbstractPlatform::getReservedKeywordsClass()](https://github.com/doctrine/dbal/pull/4547) thanks to @morozov

Deprecation,PDO,pdo_sqlsrv
--------------------------

 - [4534: Deprecate Statement::bindParam($driverOptions)](https://github.com/doctrine/dbal/pull/4534) thanks to @morozov

Connections,Deprecation
-----------------------

 - [4527: Deprecate Connection::getExpressionBuilder()](https://github.com/doctrine/dbal/pull/4527) thanks to @morozov
 - [4517: Deprecate Connection::$_expr](https://github.com/doctrine/dbal/pull/4517) thanks to @morozov

Connections,Deprecation,Schema Managers
---------------------------------------

 - [4519: Deprecate Connection::$_schemaManager and Connection::getSchemaManager()](https://github.com/doctrine/dbal/pull/4519) thanks to @morozov

Prepared Statements,Static Analysis,sqlsrv
------------------------------------------

 - [4514: Remove SQLSrv\LastInsertId](https://github.com/doctrine/dbal/pull/4514) thanks to @morozov

Improvement,QueryBuilder,Static Analysis
----------------------------------------

 - [4489: Introduce fetch* methods in query builder](https://github.com/doctrine/dbal/pull/4489) thanks to @andrew-demb

Connections,Documentation,Error Handling
----------------------------------------

 - [4457: Add note about lost connections to UPGRADE guide.](https://github.com/doctrine/dbal/pull/4457) thanks to @beberlei