Title: SV: explicit table-names in CMP
I had the same problem, but you can change the name of table in the orion-ejb-jar.xml file.
Under the Entity Deployment, you can set the name of the bean using the "name" attribute, the JNDI name using the "location" attribute and the table name using the "table" attribute.
By default, Orion will make the all the same.
J.D.
-----Original Message-----
From: Patrik Andersson [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 05, 2001 9:11 AM
To: Orion-Interest
Subject: SV: explicit table-names in CMP

Doesn't the tablename default to $ejb-name? Also, what does the <schema-name>
(or whatever the name was) mean. Try them!

regards,
Patrik Andersson

-----Ursprungligt meddelande-----
Från: Toni Menzel [mailto:[EMAIL PROTECTED]]
Skickat: den 5 oktober 2001 13:39
Till: Orion-Interest
Ämne: explicit table-names in CMP


dear all,

We want to define an explicit table name for CMP's in OrionAppServer.
By default, CMP tables have the names of the full qualified classname
(entitybean).
E.g. if the ejb-entity-class is "net.quintessence.core.Leg" then the
table's name is: net_quintessence_core_leg.
But we want to use already existing tables which where mapped into
ejb-entities.

Is that possible? how?

thanx in advance, Toni Menzel
---
[EMAIL PROTECTED]
quintessence consulting GmbH - germany

Reply via email to