Exception : com.microsoft.sqlserver.jdbc.SQLServerException: invalid column name id

when I ty to run this query @Query(value = “select TOP(10) noleggi.id_libro, count(*) as occ from noleggi ” + “group by noleggi.id_libro ” + “order by occ desc”, nativeQuery=true) List<Noleggio> findTop10(); Hibernate shows this error : select TOP(10) noleggi.id_libro, count(*) as occ from noleggi group by noleggi.id_libro order by occ desc 2020-01-12 15:07:08.444 WARN 12316…

Details

Error: Getters of lazy classes cannot be final Kotlin Spring Boot

I try to create REST Spring Boot Server on Kotlin.I used database – first and automatically generated entities using the built-in Intellij tool. When starting the server pop-up error: 2020-01-12 15:09:14.387 ERROR 23016 — [ restartedMain] o.h.tuple.entity.PojoEntityTuplizer : HHH000112: Getters of lazy classes cannot be final: ru.madbrains.smartfridgemanager.server.model.MealplanEntity.name 2020-01-12 15:09:14.391 ERROR 23016 — [ restartedMain] o.h.tuple.entity.PojoEntityTuplizer…

Details

Fade in icon when video html5 ends

I am trying to fade in an icon when video finish, but nothing. Html <video> <source src=””> </video> <div class=”icon”></div> First Try $(“video”).on(“ended”, function() { $(“.icon”).fadeIn; }); Second try $(‘video’).parent().on(“ended”, function() { if($(this).children(“video”).get(0).paused) { $(this).children(“.icon”).fadeIn(); } }); Actually has onclick event working fine $(“video”).parent().on(“click”, function() { $(this).children(“.icon”).fadeToggle(); });

Details

dynamic variable name, cannot assign function to value

Hi code with a dynamic function name The function itself is irrelevant in this case, it performs mathematical tasks @for (int i = 4; i < 31; i++) { <script> var functionName = [@i]; document.getElementById(“[email protected]”).onchange = function() { functionName[@i](); }; document.getElementById(“[email protected]”).onchange = function() { functionName[@i](); }; functionName[@i] = function() { start = document.getElementById(“[email protected]”).value; end =…

Details

spring does not reginase “redirect:/path” returning a simple string

The redirect just returns a simple string. It does not recognise the redirect. The response just print “redirect:/getUser/” Can you help me guys? thanks already. the return should be the list of user with the new user added @Slf4j @RestController public class UserController { @Autowired UserService userService; @GetMapping(value = “/getUser”, produces = MediaType.APPLICATION_JSON_UTF8_VALUE) public List<UserDTO>…

Details