Jira issue originally created by user lstrojny:
Current @DiscriminatorColumn does not allow to use a specific column definition. However, in the MySQL world it is quite common to use the ENUM or TINYINT datatype for efficient discriminator columns. It would be great if something like this would be possible:
Comment created by @beberlei:
How is ENUM efficient? Its a very bad datatype in my opinion with its sorting strangeness and alter table overhead ;)
Comment created by lstrojny:
The alternative with MySQL is TINYINT, which has the drawback of not being self documenting but also works. But this won't be possible with discriminator columns too.
Comment created by mjh_ca:
Duplicate of DDC-553
Comment created by @guilhermeblanco:
Issue was closed with resolution "Fixed"