13. Spring Boot | Working with enum | @Enumerated

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Hello Sir I am trying to build a get request in which one of the required parameter is a enum with two values . So when ever the other try to get data from the, they can send any of the enum values so how do I handle the variable while building the payload like how can I tell, any of the value can be used

shylajagovind
Автор

Good one but my question is if we are passing null or "" in enum what will happened and how we can define enum to accept null value as well, can u please tell.

kartikd
Автор

How do you handle a collection of enums with a oneToMany relationsship?

ibrahimdelice
join shbcf.ru