Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Dali/Indigo/DaliQuickFixes"
(→Project) |
|||
Line 5: | Line 5: | ||
==Project== | ==Project== | ||
*Create or specify connection | *Create or specify connection | ||
− | + | *Connect to DB (Connection is not active) | |
+ | *Create a persistence.xml (no persistence.xml file found in project) | ||
==Types== | ==Types== |
Revision as of 14:16, 14 June 2010
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
- Add class to persistence.xml - applies to java
- 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