I have tried that, and it does work, but I notice that the generated
Peer classes to not contiain doSelectJoinTABLE for foreign keys to
tables in other schemas.  Shouldn't it do this?

Brendan

> What you could try to do is to create one schema.xml for every package and
> use the external-schema xml tag. See one of the schemata of the test
> project at
> 
> http://svn.apache.org/viewvc/db/torque/test/trunk/test-project/src/schema/test-schema.xml?revision=475476&view=markup
> 
> (the @something@ variables are filtered before the schema is used).
> 
> I think this should work, but I have not tried it.
> 
>        Thomas
> 
> "Brendan Miller" <[EMAIL PROTECTED]> schrieb am 01.02.2007 17:22:51:
> 
> >
> > We would like to create a schema with the Torque classes generated in
> > different namespaces for particular tables.  Some tables would be in the
> > same namespace, but some would be different.  And sometimes there will
> > be foreign keys from one table to another table that is in a different
> > package.
> >
> > The "packageName" attribute is only database-level, and if I carve my
> > schema into a bunch of smaller, namespace-schemas, then the foreign keys
> > do not work because the generator can't "see" them.
> >
> > Has anyone else tried to do this, and how might this be achieved.
> >
> > Brendan
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to