Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Texo/ORM JPA Options

Introduction

The Texo ORM generation can be controlled through global options set at project level or through an annotations model. This page discusses the global options.

Texo Project Nature

To be able to edit the global options you first have to enable the Texo project nature. Do this as follows:

  • right click on the project
  • go to the submenu 'Configure'
  • select the add/remove Texo Nature option

ORM/JPA Options

To edit the options right click on your development project and go to the project properties. There will be a Texo section. Click on it.

You will see 2 tabs. The first tab is used for enabling automatic code generation. The second tab allows you to set ORM/JPA generation defaults.

Org.eclipse.emf.texo.orm.project.options.png


A short description for each of the options:

  • Add Order Column to List Mapping: this option controls if efeatures are mapped with order column, so as a List retaining the order, if this option is not flagged then normally no ordering is maintained in the database for List associations. This results in better performance.
  • Enforce Unique Names': if types/eclasses have the same name potentially naming collisions can occur, flagging this option will prefix all entity (and table) names with the epackage name space prefix.

Back to the top