Retrieving a data model

As you configure your data sources, you will map database tables and fields of your data source to the various attributes of your business objects. To do this, you must have a local representation of the database so that you can establish the mappings correctly. The Infor e-Commerce Development Studio can request the current data model for any of your data sources. The model includes all tables and fields, but no actual data. To use this feature, you must have the following:

  • Valid connection information specified for your data source.

  • The Infor Application Installer running on your application server. This servlet provides both deployment and schema-retrieval services.

  • A deployed application, in order that the database connection is established on the server.

The data model is downloaded and saved in the Working Folder for your project under the datasources sub-folder. The model is stored in XML format in a file with the same name as the data source it describes and a mod extension. For example:

C:\AppWork\MyProject\datasources\Inventory.mod

Usually, you will not work with the model file directly; Infor e-Commerce Development Studio uses this model file to provide table and field names from your data source when you are mapping them to business object attributes.