Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for MySQL's SET type #4694

Open
lukaseder opened this issue Oct 22, 2015 · 3 comments
Open

Add support for MySQL's SET type #4694

lukaseder opened this issue Oct 22, 2015 · 3 comments

Comments

@lukaseder
Copy link
Member

MySQL knows a useful, vendor-specific SET type, which works like ENUM but allows for maintaining multiple enum literals within a set (without duplicates). We should support this type and map it to java.util.EnumSet<GeneratedEnum>.

More information:


See also:
http://stackoverflow.com/q/33277111/521799

@javapowered
Copy link

Should we address in this issue bitwise updates?
If jooq start using EnumSet instead of String for MySQL Set how will we do bitwise updates?
Strings can be updated this way https://stackoverflow.com/a/17089677/93647

@lukaseder
Copy link
Member Author

@javapowered Thanks for your question. I see your point.

Since we're not in a hurry to implement this feature, we can still think about this later. It will always be possible to:

@javapowered
Copy link

Got it, thanks!

@lukaseder lukaseder removed this from the Version 3.16.0 milestone Dec 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants