Hibernate Tip: How to use @ElementCollection entries in a query

preview_player
Показать описание

Today I will answer a common hibernate question about ElementCollections. But before talk about it in detail, please subscribe and hit the bell icon to get new hibernate tip video every week.

If you like this video, please give me your thumbs up and share it with your friends and co-workers.

Like my channel? Subscribe!

Join the free Member Library:

Want to connect with me?
Рекомендации по теме
Комментарии
Автор

Hi, My entity class name is DiseaseModelEntity and it has elementcollection mapping with list of strings name 'groupNames'

ListJoin<DiseaseModelEntity, String> phoneNumbers =

it gives me an error saying u cant use _ as its a reserved keyword from java 8 onwards. moreover, it doesn't recognize my class and says DiseaseModelEntity_ can't resolve to a type..define new class/interface 'DiseaseModelEntity_' .

please reply back ASAP its urgent for me

swordrohit