Jump to: navigation, search

Dali/Indigo/DaliQuickFixes

< Dali‎ | Indigo
Revision as of 14:14, 14 June 2010 by Karen.moore.oracle.com (Talk | contribs) (Types)

Quick Fixes

Project

  • Create or specify connection
  • Connect to DB (Connection is not active)
  • Create a persistence.xml (no persistence.xml file found in project)

Types

  • Validation - Class is mapped but is not included in any persistence unit - applies to java
    • Add class to persistence.xml
    • Unmap class - remove all JPA annotations from the type and all attributes.
  • Create new Entity (Use New Entity wizard) for targetEntity references which cannot be resolved - apply to both java and orm.xml
  • Insert @Table for unresolved default table on an Entity

Attributes

  • Create the corresponding relationship attribute and mapping (mappedBy that does not resolve)
  • Create the corresponding relationship mapping (mappedBy has invalid mapping type for this relationship)
  • Insert @Column for unresolved default column a basic mapping


Quick Assists

  • Add a java class/entity to an orm.xml file - possibly create an orm.xml file