Multiple DB Adapter


i need two DB Adapters for my application. If i try like the documentation i get the errors.

Have anyone a sample for me?

The example in the documentation is correct. So the question is, which error do you get?

Unable to resolve service “myAdapter” to a factory; are you certain you provided it during configuration?

Maybe I should explain the process in more detail:

When I try to initialize a class with new MyClass (), the DB connection doesn’t work.

Please provide your configuration, otherwise it is difficult to help here.