Orion has a file ('orion-ejb-jar.xml' I think) that allows you to specify
the table that an entity bean uses. If you define the attribute 'table' for
your <entity-deployment> definition, you will get the behavior you desire.
tim.

> Hi,
>
> I want to use an existing DB table for a CMP bean. I've noticed that the
> container I'm using (Orion) uses the value of the <ejb-name> element in the
> DD as table name. If a table with this name already exists, its contents can
> be accessed by the CMP bean. Otherwise, the table is created.
>
> Is this a container-specific issue (couldn't find anything about it in the
> spec), or can you rely on this mechanism? How else would you tell the
> container to use an existing table rather than creating a new one?
>
> thx
> Heiko
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff EJB-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to