hi Toni,
You can do this from orion-ejb.jar.xml.
<entity-deployment> has a table attribute which
declares the table name for the specified CMP.
Write your own orion-ejb-jar.xml and put it beside
ejb-jar.xml and redeploy your application.
remember to delete (or change) the already built
orion-ejb-jar.xml in $ORION/application-deployments/<your-app>/META-INF
for more information look at orion docs for orion-ejb-jar.xml.html

--MS.


On Fri, 5 Oct 2001, Toni Menzel wrote:

> 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