EJB JAR Settings

In the EJB JAR Settings dialog specify the database settings for all entity beans with container-managed persistence in an EJB JAR file.

  1. 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.
  2. 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.)
  3. 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.


Copyright 1999-2001 Sun Microsystems, Inc. All Rights Reserved.