[Israel.pm] Class::DBI

Yona Shlomo yona at cs.technion.ac.il
Tue Mar 15 00:18:52 PST 2005


Hello,

I want to write a module that inherits from Class::DBI.
Problem:
	I have some "object" (read: tables) in database A
	that refer to some other "objects" (read: tables) in database B
Question:
	Can anyone suggest ways to get support to "multiple
	databases" in this framework?
	How can make has_a, has_many and the rest of the
	bunch work as expected when I am working with more
	than one database?

Thanks.

P.S.
Any tips and tricks regarding Class::DBI and programming an
object oriented interface to a database woule be greatly
appreciated.

-- 
Shlomo Yona
yona at cs.haifa.ac.il
http://yeda.cs.technion.ac.il/~yona/




More information about the Perl mailing list