Show TOC Start of Content Area

Procedure documentation Specifying the Data Source and the Database Vendor  Locate the document in its SAP Library structure

Use

Use this procedure to specify the alias of the data source that will be used to establish a connection to the database, and the name of the database vendor.

These properties are valid for the database mapping of all enterprise beans in the entire abstract schema in the corresponding JAR.

Caution

Do not specify the database vendor unless your application requires special database-dependent functions. In this case, your application will not be portable.

Specifying the data source is mandatory. For more information how to create data source aliases, see Creating Data Source Aliases.

Procedure

...

       1.      Open the persistent.xml.

       2.      In the right-hand pane, choose the General tab.

       3.      In the Datasource name field, enter the name of the data source.

       4.      To specify the database vendor, choose the Specify database vendor option and choose the name from the Database vendor dropdown list.

 

See also:

Database Mapping

 

End of Content Area