The Entity Bean Deployment Settings
dialog box allows you to specify the deployment
settings for an entity bean with container-managed persistence.
If you want the database table to be created automatically
during deployment, select the checkbox labelled "Create Table
on Deploy."
The table name will be the name of the entity bean class
plus the word Table, enclosed in quotes. For example,
for the AccountEJB class, the "AccountEJBTable" name
is used. Note that the quotes are part of the table name.
If you want the database table to be deleted automatically
when the application is undeployed, select the checkbox
labelled "Delete Table
on Undeploy."
To generate the default SQL queries for the bean's
methods click Generate Default SQL.
To specify the JNDI name of the database,
click Database Settings.
To view the
SQL and
queries for a method,
select an entry from the Method list.
To define the queries for the bean's finder and select methods,
click Edit.