A very nice aspect of orion is that it can automatically create the tables
for you. Just deploy your application and you'll see it 'autocreating
table...'. But ofcourse you sometimes want to use existing tables.

To do that you let it deploy just like above. This will create a directory
<orion>/application-deployments/<your-app>/<your-ejb>. This contains a file
orion-ejb-jar.xml which you can modify according to the documentation on
http://www.orionserver.com/docs/orion-ejb-jar.xml.html.

Depending on your orion version you should copy this file to:
- the <your-ejb>/META-INF directory containing the ejb-jar.xml for version
1.4.8 and up
- a directory <your-ejb>/orion for older orion versions

These directories are ofcourse in your source tree and not under
orion/application-deployments.

See http://www.orionsupport.com/articles/complex-or.html for some examples
on how to modify orion-ejb-jar.xml.

Marcel

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> Surendra Yadav
> Sent: Tuesday, May 29, 2001 2:48 PM
> To: Orion-Interest
> 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
>
>


Reply via email to