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: | Refactor fields of an existing entity to an Embeddable Class | ||
---|---|---|---|
Product: | javaee | Reporter: | arungupta <arungupta> |
Component: | Persistence | Assignee: | Sergey Petrov <sj-nb> |
Status: | NEW --- | ||
Severity: | normal | CC: | arungupta, dkonecny, pjiricka |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
arungupta
2010-10-13 21:25:44 UTC
thanks.
some thought also:
- May be allowed either for ids fields/properties only or for any with
warning/option regarding changes in non id fields.
- May be able to select existent embedded class with same columns
instead of new one generation
- May be applied to entire project for all entities with the same
columns set
- Do not forget to update all usages taking in mind embedded id can be
null and call to specific member isn't possible in this case when
separate columns can be null and accessed easily
Refactor menu seems to be a place for this functionality, except not
sure how to select several fields before call (at least in editor).
One more option: Refactor|Move to mapped superclass. May need to be filed separately.
>P2, even it have no much sense, we need to review enhancement from time to time, it may help.
Any updates ? just look through recently but it seems relatively complex even from ui point of view as there are a lot of items in refactoring menu, it may require some ui redesign. |