A domain template might contain a set of SQL files organized by database type. If the domain template contains SQL files, you can run them while creating the WebLogic domain, on the Database Scripts screen. Database content for each of the data sources defined in your WebLogic domain is set up by using pre-existing SQL or database loading files.
|
Note: No databases are defined in the WebLogic Server Base Domain ( |
In the JDBC Data Sources section, select the data source for which you want to run the scripts. The scripts that can be executed are displayed in the SQL Files section.
Select the database version from the DB Version drop-down list.
Click Run Scripts.
All the scripts displayed in the SQL Files section for the selected data source are executed, and the results are displayed in the Results section. To capture test output in a log file, select the Enable Logging check box and specify the full path for the log file in the Log File field.
Repeat steps 1 through 3 for each data source for which you want to execute SQL scripts.
Click Next once you have executed all scripts.
"Files Typically Included in a Template" in Domain Template Reference.