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 an example with an enum field #136

Open
darrachequesne opened this issue Oct 3, 2021 · 3 comments
Open

Add an example with an enum field #136

darrachequesne opened this issue Oct 3, 2021 · 3 comments

Comments

@darrachequesne
Copy link
Owner

See darrachequesne/spring-data-jpa-datatables-sample#15

@pranatimittal
Copy link

I would like work on it,if it's open. Do I have to add enum field in employee and related functions?

@Magistrus
Copy link

Yes, you need to add a field to the Employee class

Example:

 @Enumerated(EnumType.STRING) 
 private Sex sex;

 enum Sex {
     MALE,
     FEMALE
 }

@hsteinmueller
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants