Ticket 5381 and 5382 resolved by 7330

I've opened a ticket #7330 which resolves #5381 and #5382. The patch includes a unit test and the fix itself.

I'd love to see this get rolled in at some point as it makes unit testing with multiple databases possible, which is something my team is dealing with and something others have to deal with as well if multiple databases are used from within an application.

V/r Anthony Eden

Ah, this would be great. I ran into this trying to use a second database for testing with remote objects in a RESTFul application.

Manfred