Is it possible to create a JPA project and a mapping without annotions
in the model classes and only in the persistence or
eclipselink-orm.xml file?
When yes, which swith / option I have to use for this?
Yes, it is possible to edit your mappings via the orm.xml or
eclipselink-orm.xml instead of using annotations. Dali does not yet
support entity generation into an orm.xml file, only annotations. But
you can create a new eclipselink-orm.xml file (choose New -> EclipseLink
Mapping File) and then open it in the JPA perspective and you will
notice the JPA details view and JPA structure view. In the JPA structure
view just right click on the Entity Mappings and choose to 'Add
class...'. Then you can edit all of the mapping information using the
JPA details/structure views. You will see all of the attribute mapping
defaults from the java in the structure view. You can right-click on
these add them to the xml and then edit them in the JPA details view.
Hope this helps!
Karen