Use this dialog box to capture and create a persistent database schema from an existing database which you can then use in other projects.
You can open the wizard by selecting the Database Schema File type in the Persistence category of the New File wizard.
In the Database Connection panel of the wizard you specify the database by selecting a registered database connection in the drop-down list or selecting New Database Connection to open the New Connection wizard to create a new database connection. Click Next to specify the tables in the database for which you want a schema.
Notes:
You may be prompted by a Connect dialog box to supply a username and password to connect to the database. Enter the user name and password in the Basic setting tab and click OK.
When connecting to the database, the schema with the same name as the user name is set as default, but if a schema with that name does not exist, you are automatically switched to the Advanced Tab to select a schema. Choose the correct schema from the drop-down list and click OK.
Related Topics
Developing Applications with NetBeans IDE,
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |