In the orion-ejb-jar.xml file.
When you first deploy your app, you can find that in the
Orion/application-deployments/ dir
Then copy this file in the same dir where your ejb-jar.xml reside and you
change the file like the following example (see the table attribute):
<?xml version="1.0"?>
<!DOCTYPE orion-ejb-jar PUBLIC "-//Evermind//DTD Enterprise JavaBeans 1.1
runtime//EN" "http://www.orionserver.com/dtds/orion-ejb-jar.dtd">
<orion-ejb-jar deployment-version="1.5.1" deployment-time="e69c8a89d9">
<enterprise-beans>
<entity-deployment name="nl.unwired.sgs.vwr.Usr"
location="nl.unwired.sgs.vwr.Usr" wrapper="UsrHome_EntityHomeWrapper13"
table="vwrusr" data-source="jdbc/postgresEJBDS"
exclusive-write-access="true" max-instances="10" >
<primkey-mapping>
<cmp-field-mapping name="id" persistence-name="id" />
</primkey-mapping>
<cmp-field-mapping name="grp_Id" persistence-name="grp_id" />
..
...
...
Good luck,
Eddie
----- Original Message -----
From: Surendra Yadav <[EMAIL PROTECTED]>
To: Orion-Interest <[EMAIL PROTECTED]>
Sent: Tuesday, May 29, 2001 2:48 PM
Subject: CMP creation
> Hi,
>
> I am new to Orion Server, while creating CMP bean in weblogic server we
> need to specify the Table Name and the mapping of the bean attributes
> to database table in an xml file. Can you please tell me in Orion where
> we can speicfy the table name and mapping.
>
> Regards
> Surendra
>
>
>