RE: Auto creating table

2000-07-07 Thread David Sierra Fernandez



Sorry !

It was in application .xml. I thought that you can select what tables to
create and what not, but you have to take the decision for all the tables
in your application.

Have a look at orion doc --- application.xml ;-)

-
David Sierra Fern ndez
E.T.S.I. Telecomunicaci¢n
Universidad de ValladolidAULA CEDETEL
Campus Miguel Delibes   E-Mail: [EMAIL PROTECTED]
47011 Valladolid (SPAIN)
--

 -- Sierr@ --

On Fri, 7 Jul 2000, Rick Bos wrote:

 
 I don't see an auto-create element in the entity bean 
 
 !ELEMENT entity (description?, display-name?, small-icon?,
 large-icon?, ejb-name, home, remote, ejb-class,
 persistence-type, prim-key-class, reentrant,
 cmp-field*, primkey-field?, env-entry*,
 ejb-ref*, security-role-ref*, resource-ref*)
 
 !--
  
 from 
 
 http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd
 
 
  -Original Message-
  From:   David Sierra Fernandez [SMTP:[EMAIL PROTECTED]]
  Sent:   July 7, 2000 12:16 PM
  To: Rick Bos
  Cc: Orion-Interest
  Subject:Re: Auto creating table
  
  
  You have to edit the deployment descriptor ejb-jar.xml and set to false
  the autocreate option of the beans you don't want to create tables.
  
  
  -
  David Sierra Fern ndez
  E.T.S.I. Telecomunicaci¢n
  Universidad de ValladolidAULA CEDETEL
  Campus Miguel Delibes   E-Mail: [EMAIL PROTECTED]
  47011 Valladolid (SPAIN)
  --
  
   -- Sierr@ --
  
  On Fri, 7 Jul 2000, Rick Bos wrote:
  
   How do I turn off auto creating a table for an entity bean ?
   
   I am not using any of the GUI tools that come with Orion, just
   the command line.
   
   Thanks,
   
   
   
   
 





RE: Auto creating table

2000-07-07 Thread Conrad Chan

You should edit orion-ejb-jar.xml instead.  Take a look at its DTD and you will know 
how.  It is very trivial.

Conrad

-Original Message-
From: Rick Bos [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 07, 2000 9:25 AM
To: Orion-Interest
Cc: Orion-Interest
Subject: RE: Auto creating table


I don't see an auto-create element in the entity bean

!ELEMENT entity (description?, display-name?, small-icon?,
large-icon?, ejb-name, home, remote, ejb-class,
persistence-type, prim-key-class, reentrant,
cmp-field*, primkey-field?, env-entry*,
ejb-ref*, security-role-ref*, resource-ref*)

!--

from

http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd


 -Original Message-
 From: David Sierra Fernandez [SMTP:[EMAIL PROTECTED]]
 Sent: July 7, 2000 12:16 PM
 To:   Rick Bos
 Cc:   Orion-Interest
 Subject:  Re: Auto creating table


 You have to edit the deployment descriptor ejb-jar.xml and set to false
 the autocreate option of the beans you don't want to create tables.


 -
 David Sierra Fern ndez
 E.T.S.I. Telecomunicaci¢n
 Universidad de ValladolidAULA CEDETEL
 Campus Miguel Delibes   E-Mail: [EMAIL PROTECTED]
 47011 Valladolid (SPAIN)
 --

  -- Sierr@ --

 On Fri, 7 Jul 2000, Rick Bos wrote:

  How do I turn off auto creating a table for an entity bean ?
 
  I am not using any of the GUI tools that come with Orion, just
  the command line.
 
  Thanks,