[Catalyst] multiple database model support

jagdish eashwar jagdish.eashwar at gmail.com
Tue Jul 1 01:50:35 BST 2008


I am working on two Catalyst applications and have set up different Mysql
databases for each of them. Some of the tables that these two applications
use are the same. At present, I am maintaining the common tables in both the
databases. After reading this thread, I tried putting the common tables in a
third database and creating two models in each of the Catalyst applications.
I am, however, unable to set up  relationships between  tables across
databases. Is this possible?

jagdish

On Thu, Feb 28, 2008 at 4:57 PM, Andreas Marienborg <omega at palle.net> wrote:

> ./script/myapp_create.pl model DB1
> ./script/myapp_create.pl model DB2
>
> add on more options if you want to
>
>
> - andreas
>
>
> On Feb 26, 2008, at 11:41 PM, Tyler Bird wrote:
>
>  hi
>>
>> I just developed a catalyst application
>> and I was wondering how I could get it to support multiple databases.
>>
>> Instead of just one per application.
>>
>> Tyler
>>
>> _______________________________________________
>> List: Catalyst at lists.scsys.co.uk
>> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
>> Searchable archive:
>> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
>> Dev site: http://dev.catalyst.perl.org/
>>
>
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20080701/3ea8b=
8ab/attachment.htm


More information about the Catalyst mailing list