Questions tagged [fetching-strategy]
78 questions
-1
votes
2 answers
How to fetch selective data from model on click of radio button in ASP.Net Core MVC?
Scenario Background:
1. Two radio buttons - "Default" & "Preferred"
2. One Text box - "DirPath"(To show Default/Preferred path based on radio selection)
3. Inside model class, there are two class members (string DefP, PrefP - which holds the…
-1
votes
1 answer
Class for manipulating with table in DB- Java MySQL
I should make separate class with reading library of books, updating etc.
Class books should have:
parametric constructor plus override for toString()
Method getAll static to read all data for DB
Method getById is reading data when we give ID,…

Mariana
- 9
- 1
-1
votes
1 answer
Hql Fetch: Condition on the right table
1st question on StackOverflow !
In HQL I try to execute the following query :
FROM Device d
LEFT JOIN FETCH d.listNotifications l
WITH l.dateLastSending BETWEEN :startDate AND :endDate"
WHERE d.registerId=:registerId";
But getting…

Maxime
- 168
- 1
- 9