I am trying to use single table inheritance and running into issues with creating extended fields as it creates the extend fields on the first entity in the chain.
To get around I am trying to create the option set enum and I tried to mimic the cache. But it doesnt work. Can someone please tell me how I can create option set field on a table so it shows up as “select” type in entity configuration page without using extend extension.
Any ideas please? I want to create the select(enum) type just like other types and if you can give me some pointers on what needs change and where to start.
The issue I am running into is because I would like the select fields to be created as part of migration.
I need the select field on Father entity (Which is not extend entity) and another select field on Son entity. When I use the following, the select field shows up on the Son entity where as I want the select field on Father entity.
Enum type you can add only for extended entity and extended entity can be only final classes, in my case it was Son. ‘Mapped Superclasses’ and ‘Single Table Inheritance’ entities cannot be extended.
Author
Replies
Viewing 4 replies - 1 through 4 (of 4 total)
The forum ‘OroPlatform – How do I? Questions’ is closed to new topics and replies.
We collect cookie information with a goal to provide you with the best user experience. By using this website, you agree to our use of cookies. Read Oro Inc.’s Cookie policy.
We collect cookie information with a goal to provide you with the best user experience. By using this website, you agree to our use of cookies. Read Oro Inc.’s Cookie policy.