Skip to content

Commit

Permalink
Extend standalone DBAL documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
werrolf committed Oct 17, 2019
1 parent 2adeb87 commit b5741a4
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,14 @@ public function buildContainer()
}
```

Direct usages of DBAL, i.e. bypassing or completely without Symfony integration, can still use the driver shims, but will have to provide
the appropriate `driverClass` option by some other means (connection configuration or code).
### Standalone DBAL
Direct usages of DBAL, i.e. bypassing or completely without Symfony integration, can not rely on the provided container registration
and compiler passes.

To use the PostgreSQL driver extension, you would have to inject the appropriate `driverClass` option by some other means (connection
configuration or code).

The OnDemandOracleSessionInit subscriber instance needs to be added to the connection's event manager to come into effect.

## Other considerations
We have opted to use runtime DBAL version detection over code-exclusionary composer conflict rules due to
Expand Down

0 comments on commit b5741a4

Please sign in to comment.