In the EJB JAR Settings dialog specify the database settings for
all entity beans with container-managed persistence in an EJB JAR file.
In the Database JNDI Name combo box, select or enter the JNDI name of
the database that will store the states of the entity beans.
If the DBMS requires a user name and password for a connection,
enter them in the User Name and Password fields.
(If you are using the Cloudscape DBMS shipped with this release,
leave these fields empty.)
To generate the default SQL queries for the finder and select
methods of all entity beans in the EJB JAR, click Generate Default SQL.
These SQL queries depend on the
statements that were entered in the Finder/Select Methods dialog.