I’m new here and on a research trip. We would like to use Symfony2 for a new project.
Now we have the problem that we need to use a company wide self-developed DB access layer.
We don’t want to lose the whole Symfony/Doctrine layer for handling data.
Our idea is now to create or overwrite database access layer below Doctrine.
Something like creating a bridge (like PDO) between Doctrine and our DB access layer.
Has anyone an idea how we can do this or maybe someone has done similar things already and can provide us with an how-to?
Please no questions why. We just have to use the company access layer!
Thank you
I found the solution in Doctrine2 doc. It’s pretty easy.
I needed for development and testing (frontend and console) about half a day
I’ve done it in 4 steps:
doctrine: dbal: driver_class: /Path/To/Driver/ClassDoctrine has not much but a bit of information about Abstraction Layer:
Supporting Other Databases