db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "thomas.ung@freesbee.fr" <thomas....@freesbee.fr>
Subject Re: "inherence" accross 2 differents schemas / reuse some objectsfrom one schema by another one
Date Wed, 21 Feb 2007 18:05:47 GMT
Hi Hidde,

I am going to try it! That may be a solution.

Many thanks!
Thomas
---------- Initial Header -----------

From      : "Hidde Boonstra [Us Media]" <hidde@usmedia.nl>
To          : Apache Torque Users List
<torque-user@db.apache.org>
Cc          : 
Date      : Tue, 20 Feb 2007 13:08:06 +0100
Subject : Re: "inherence" accross 2 differents schemas /
reuse some objectsfrom one schema by another one

Hi Thomas,

the generator probably won't like references to unknown
tables, but 
maybe you could include the schema containing the referred
tables? For 
example:

<external-schema filename="other-schema.xml" />

With kind regards,

Hidde.

thomas.ung@freesbee.fr wrote:
> Hi Wieger,
> 
> I did not thought about solution C lol. Well the fact
having "dependencies" from schema B to A is because the
webapp B has some other tables having relationship with it,
let's say, the A.om.Country
> 
> The om generator will stop if you specify a foreign key
that cannot be found in the same schema? right? That's the
reason why I specify the same table B.om.Country but only
with the primary key and the properties
baseClass="A.om.Country" basePeer="A.om.CountryPeer"
>  skipSql="true"
> 
> The fonctionnal reason having webapps pointing to the same
db is that they share a small amounth of data such user
authentication .. They are modules having different
features. We want them completly independant. 
> 
> Many thanks for your thoughts,
> Best regards,
> Thomas

-- 
Hidde Boonstra
Us Media B.V.
Stadhouderskade 115
1073 AX Amsterdam

t: 020 428 68 68
f: 020 470 69 05
www.usmedia.nl

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org



--------------------- ALICE SECURITE ENFANTS ---------------------
Protégez vos enfants des dangers d'Internet en installant Sécurité Enfants, le contrôle
parental d'Alice.
http://www.aliceadsl.fr/securitepc/default_copa.asp



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message