Why i get this error? userId is come from where?
Why i get this error? userId is come from where?
Change your query with the same name in your Entity, in your case Recipe.user instead of Recipe.userId.
Even if in the database the foreign key is called userIdrefer to your entity.
Hope this helps