Develop > Develop Content > Extend Content > IDE > IDE Advanced Tasks > Generate Entities Automatically

Generate Entities Automatically

You can generate entities from the source database tables or views. This enables you to automatically create Source, Integration or Target entities. Using the Data Source Explorer, you can connect to the source database and navigate to the source table or view. The entities are created based on the specific source metadata. MSSQL, Oracle, and MySQL source databases are supported. You can then load the entity to a new designer located in an existing project. The entity is then displayed in the new Engineer Stream Designer.

ClosedAutomatically generate entities from database tables or views

Note You can generate Source, Integration or Target entities using the Entity Generator wizard.

  1. Navigate to Window > Show View > Other > Data Management > Data Source Explorer. The Data Source EXPLORER tab is displayed.

  2. Select either an SQL, Oracle, or MySQL Database and connect to the database.

  3. Navigate to Tables or Views and right-click the relevant table or view from which you want to generate the entity and select Generate DWH Entity.

  4. In the Scenario page:

    1. Select the type of content pack: Source Content Pack, Integration Content Pack, or Target.
    2. If you have selected Source Content Pack, Integration Content Pack, select the relevant content pack.
      When you select the Source Content Pack, the Integration Content Pack is automatically displayed.

      If you have selected Target, select whether the entity is defined as a Fact or Dimension.

    Note When you generate an entity from an Oracle database, make sure that if you use reserved words, they are placed in quotation marks, for example, "NUMBER".

  5. Click Next.

  6. In the Load to Designer page, select to either load the entity to a New Designer, or No Designer .

  7. If you selected New Designer, select from the drop down list, the project where you want the specific Designer to be located.

  8. Click Finish to complete the wizard and create the entity. The new entity is now displayed in the IDE Package Explorer, and if relevant, loaded in the assigned designer canvas.

ClosedEntity Generator Wizard

Scenario page > Load to Designer page > Complete Entity Generation with SSI mapping displayed in Stream Designer