This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | The Database Explorer should provide UI for creating foreign keys | ||
---|---|---|---|
Product: | db | Reporter: | William Leonard <bleonard> |
Component: | Code | Assignee: | Jiri Rechtacek <jrechtacek> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 5.x | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
William Leonard
2005-11-16 19:59:59 UTC
This is unfortunately as designed. The Database Explorer doesn't provide a means to create foreign keys, so foreign aren't read or generated by the Grab Structure action either. This looks like a high-priority enhancement. Affects for example EJB generation. When you generate EJBs from a database the relations between them are based on the foreign keys. If there are no foreign keys there won't be any CMR fields in the beans and no methods for obtaining the related beans. Reassigned to new owner. |