Use the <property>
element in the DBWS Builder XML file to define the necessary server properties, as shown in Example 1-4
Example 1-4 Sample DBWS Builder XML file
<?xml version="1.0" encoding="UTF-8"?> <dbws-builder xmlns:xsd="http://www.w3.org/2001/XMLSchema" <properties> <property name="projectName">procedure_test</property> <property name="logLevel">off</property> <property name="username">myName</property> ... </properties> ...
See Example 1-5 and Example 1-6 for additional samples of a DBWS Builder XML file.
Table 1-2 defines the valid <property>
values:
Table 1-2 DBWS Builder File Properties
Property | Description |
---|---|
|
Name of the DBWS project. Default = |
|
Defines the amount and detail EclipseLink writes to the log. Valid values: See in "logging.level" in Java Persistence API (JPA) Extensions Reference for EclipseLink for details. |
|
Username used to log into the database. |
|
Password of the |
|
Database URL. |
|
Database driver. |
|
Specify the database platform. This must be a fully qualified class name that extends Default = |
|
The target namespace value applied to generated types. Default = |
|
Name of the session customizer applied to the ORM session. See in "session.customizer" in Java Persistence API (JPA) Extensions Reference for EclipseLink for details. |
|
Name of the session customizer applied to the OXM session. See in "session.customizer" in Java Persistence API (JPA) Extensions Reference for EclipseLink for details. |
|
JNDI name of the data source, as defined on the target application server. |
|
Location URI value, set in generated WSDL. Default = |