Task #439 (new)
Opened 17 years ago
Put all enumerations in a single table
Reported by: | jamoore | Owned by: | jamoore |
---|---|---|---|
Priority: | minor | Milestone: | GatherReqs |
Component: | ORM | Version: | 3.0-Beta1 |
Keywords: | n.a. | Cc: | |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
There's no real reason to have a table per enumeration type. It'd be fairly simple to have them all in one table, with a discriminator column. (Any uniques would be VALUE and DISCRIMINATOR based.) This would make it easier to find common enums. Also, all enums could subclass ome.model.internal.Enumeration that wouldn't be code generated. Vastly simplying parts of code generation.