[TYPO3-dev] [DBAL] two tables with same name in different DBs

Jost Baron jost.baron at gmx.de
Tue Jun 24 12:48:19 CEST 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Lieuwe,

great idea, thanks!

(Though its too late to put in that project - I'll remember it for the
next time)

Regards,
Jost

On 06/23/2014 08:40 AM, Lieuwe Hummel wrote:
> Hi Jost,
> 
> You could try to add a view. If you only need to query it, and not 
> update, it should be sufficient.
> 
> Regards,
> 
> Lieuwe
> 
> 
> 
> On 20-06-14 11:59, Jigal van Hemert wrote:
>> Hi,
>> 
>> On 20-6-2014 0:33, Jost Baron wrote:
>>> I want to query two external databases. Both use have the same
>>> schema. How do I map the tables in DBAL configuration to be
>>> able to access both of the schemas?
>> 
>> You can't with DBAL configuration. After doing the mapping from
>> the TYPO3 table name to the real table it decides which source to
>> connect to.
>> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlOpV3MACgkQNme/yCvmvTLpeACgpeM/sciqi+RXQt5Fd+nLz6WR
iLwAoKw/ihAgry2q6l03sKlKRhymG+RB
=CoQe
-----END PGP SIGNATURE-----



More information about the TYPO3-dev mailing list