Great tutorial, thanks very much. I used it before and it's really useful. But i can't implement it with list of objects in entity, i didn't find any solution for that. Can you please explain how to implement this many to many field in entity? Thanks for advance 😊
Sure you can get by having only one property in the interface. But for getting single value you can get it with simple query. I.e. : @Query("SELECT e.name from employees e where id = ?1") String findName(int id);
I followed the 4 th process using interface but I getting error like no dialect mapping for jdbc type: 2002;nested exception is org.hibernate.mappingEXception
Thank you so much. I was looking for the same issue and I got the solution here.
Oooh, yea! I was trying to solve this issue in my app for last 2h. Thanks mate that helps me alot.
Great video so informative and learned something really new. Thanks 👍
I thought this video were created in spanish.. However, I understood this video. Thank you.
Thank so much, was looking for such scenarios. It helped me a lot
well, what is the case when I'm using a native query? banging my head since 24hrs
Great tutorial, thanks very much. I used it before and it's really useful. But i can't implement it with list of objects in entity, i didn't find any solution for that. Can you please explain how to implement this many to many field in entity? Thanks for advance 😊
Thank you for this!!!
What is “e” in the query??
e is an alias to represent employee table. you can use any name you want.
Can't we get single value
Sure you can get by having only one property in the interface. But for getting single value you can get it with simple query.
I.e. : @Query("SELECT e.name from employees e where id = ?1")
String findName(int id);
Please nice topic but the explanation is confusing
I followed the 4 th process using interface but I getting error like no dialect mapping for jdbc type: 2002;nested exception is org.hibernate.mappingEXception