Closed. This question needs debugging details. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 3 years ago.
Improve this question
something weird happens here ...
And I want to gel all fields using this query using JPQL or Spring JPA, but both methods return 0 fields.
SELECT * FROM puntuacion WHERE id_tienda = 1
AND fecha BETWEEN and ;
I have this entity, look at "fecha" property
This is the code ... (I'm using Spring Boot, Spring MVC, and Spring JPA)
Controller ...
Service ...
Repository ...
Also, I tried something like this, but I got the same result.
@Query("SELECT p FROM Puntuacion p WHERE p.isActive = 1 AND
p.idTienda = ?1 AND p.fecha BETWEEN '?2' AND '?3'")
public List searchTiendaByDate(long idTienda,
Date fechaInicio, Date fechaFin);
Obviously, when I query the DB it returns values.
What happens here ?
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)