1. 26 Jan, 2020 1 commit
  2. 13 Jan, 2020 1 commit
    • Sergei Morozov's avatar
      Removed the OCI8Connection::getExecuteMode() method · a0ff3648
      Sergei Morozov authored
      The existing relationship between the connection and its statement violate the ISP principle. Instead of having access only to the execution mode of the connection, statements have access to the entire connection API.
      
      Having a method which is not defined in the driver connection interface makes it impossible to mark the method `final` (#3590).
      a0ff3648
  3. 03 Jan, 2020 1 commit
    • Sergei Morozov's avatar
      Removed ServerInfoAwareConnection#requiresQueryForServerVersion() as implementation detail · 8d015895
      Sergei Morozov authored
      Testing the implementations of this method requires partial mocking of the implementing class which makes it impossible to make them `final` (#3590).
      
      Additionally, this API breaks the encapsulation of the driver layer: instead of exposing the fact of whether the connection will perform a query to detect the server version, the driver should just instantiate a platform corresponding to a connection.
      
      The rationale behind introducing this method (#487) is really questionable:
      
      > This is also required for drivers that cannot return the database server version without an additional query (performance reasons).
      
      1. There's no evidence that an underlying driver that exposes the server version via its API doesn't make a request of any kind to the server.
      2. For an application that works with any realistic database, a query like `SELECT VERSION()` wouldn't be a performance bottleneck.
      3. Even if it was, it's always possible to specify the platform version upfront. Otherwise, the current logic of falling back to a default platform may cause undefined behavior of the application (we don't test the compatibility of the lowest level of the DBAL platform with all supported server versions). Remember, “If it doesn’t work, it doesn’t matter how fast it doesn’t work.”
      
      In addition to the above, the only driver that doesn't support the platform version detection via the underlying driver API is `sqsql` which is barely supported.
      8d015895
  4. 02 Nov, 2019 7 commits
  5. 03 Feb, 2019 1 commit
  6. 29 Jan, 2019 1 commit
  7. 02 Oct, 2018 3 commits
  8. 01 Apr, 2018 1 commit
  9. 29 Jan, 2018 2 commits
  10. 15 Sep, 2017 1 commit
  11. 14 Sep, 2017 1 commit
  12. 17 Jan, 2017 1 commit
  13. 12 Feb, 2014 2 commits
  14. 21 Dec, 2013 1 commit
  15. 21 Jun, 2013 1 commit
    • Benjamin Morel's avatar
      Fixed documentation. · f0eaaf6f
      Benjamin Morel authored
      - Fixed docblocks
      - Removed return statements on void methods
      - Cleaned up unused private / local variables
      - Fixed license issues
      - Removed SVN leftovers
      - Fixed doctrine-project.org links
      - Added line breaks before return statements
      f0eaaf6f
  16. 26 Jun, 2012 2 commits
  17. 25 May, 2012 1 commit
  18. 22 May, 2012 1 commit
  19. 28 Apr, 2012 1 commit
  20. 31 Mar, 2012 3 commits
  21. 24 Mar, 2012 1 commit
  22. 19 Dec, 2011 1 commit
  23. 25 Sep, 2011 1 commit
  24. 13 Sep, 2011 1 commit
  25. 29 Mar, 2011 1 commit
  26. 11 Nov, 2010 1 commit
  27. 09 Nov, 2010 1 commit