Hi

To use existing tables in the database.
In your orion ---> config folder there is an
application.xml file add the following line.
In the orion-application tag,
<orion-application autocreate-tables="false" autodelete-tables="false"
datasource="name of your datasource">
But do this before deploying your ear.

GoodLuck
Tasneem Talawala
Verchaska
www.Verchaska.com



----- Original Message -----
From: "Àå±Ô¿À" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Thursday, January 11, 2001 11:37 AM
Subject: DB Table mapping in CMP Entity Bean


Dear all...

How can mapping DB Table(and field) to CMP Entity Bean?

In the 'Orion CMP Prime' document...
create table automatically... like below.
Auto-creating table: create table addressbook_ejb_AddressEntry (name char
(255) not null primary key, address char (255), city char (255))

But, I want to using a existing DB Table...


And I have a another question...

When install EJB in Orion...
What's the difference... below 1 and 2?
1. deploying using => $ORION/config/server.xml
   <application name="orion-primer"

path="/home/ernst/projects/orion-primer/rel/orion-primer.ear" />
2. define application.xml => $ORION/config/application.xml
   <ejb-module path="/home/ernst/projects/orion-primer/rel/orion-primer.jar"
/>

I thought, there are scope difference... maybe...
Then, is there have a performance differences???

Thanks for, previously...


------------------------------------------------------------------------
Àå±Ô¿À/Jang Kyu-O
Manager/Internet Lab.
[EMAIL PROTECTED] www.freechal.com
Freechal Inc. (ÁÖ)ÇÁ¸®Ã§
13fl.Keumhwa Bldg., 949-1, Dokok-dong, Kangnam-gu, Seoul, 135-270  Korea
Tel: (02)2187-0656
Fax : (02)3461-0559
Cellular : 018-351-0104



Reply via email to