[Bioperl-l] pipeline

Imre Vastrik vastrik@ebi.ac.uk
Tue, 12 Mar 2002 11:08:56 +0000


Elia Stupka wrote:
> 
> > I know I won't make many friends with this suggestion but what about
> > revamping the whole "schema" (and I don't mean the table.sql file here)
> > so that all the object<->relational mapping would be done automagically?
> 
> I like the idea a lot actually, and I was kind of aiming in that
> direction. However, I am not sure if that solves the problem of being able
> to take *a part* of a schema and moving it in another database, thus
> changing in practice the table the foreign key is referring to (seq_id in
> the alignment example)

I don't understand your concern here but that's prolly because I don't
know the very issue. You would nevertheless have to make your code
"aware" of the fact that whatever the object/attribute the foreign key
is referring to also now comes from "your db" as opposed to the other
db/schema/module you snatched it from.

Rgds.,

i