I am using Hibernate implementation of JPA. Let's say I have a list of objects which I have to persist in a table called Event. All these objects have the same
I am working on a Spring Boot project with Java 11. I have a rest controller that has a GET endpoint. The controller method takes account number as one of its a
this is my code package com.examplesector.choosesectors.models.Entity; import lombok.*; import javax.persistence.*; import javax.validation.constraints.Size;
I have two tables, joined each other. How I can get from database both of them using Spring data jpa? Code as below, @Entity @JsonNaming(PropertyNamingStrategie
Getting this error HV000030: No validator could be found for constraint EnumChecker validating type MyEnum Check configuration for ‘myenum’. Using t
I have a springboot application that ingests an application.properties via @ConfigurationProperties and @PropertySource("classpath:application.properties"). My
I have two integration flows that get files from two different directories. @Bean public IntegrationFlow processBridgeFlow() { return Integratio
I have been working on dummy Web application, and there are lot html file in template which I want to organize. I am getting an error when I have keeping them i
I have simple definition of my entities, but what i do wrong, because i can not get any entity UserInfo and receive only error (could not load an entity: [UserI
All libraries and settings are in progress, but spring quartz does not run. QRTZ_LOCKS, QRTZ_ in DBThe SCHEDULER_STATE table contains data, but the Trigger tabl
I've been trying to get a successful Oauth2 login with Google and Spring Boot for a while now. This only works partially. Why partly - because I can't manage th
I am again extending my question: Caused by: org.eclipse.jgit.api.errors.RefNotFoundException: Ref master cannot be resolved here again: I am using Spring Boot
Basically I have the system where there is entity called Dictionary, where all dictionary entries are stored (like countries in example below), these entries ar
I am trying to use spring WebClient wc = WebClient.create(); in a non-Spring application, but it looks like DefaultExchangeStrategiesBuilder.DEFAULT_EXCHANGE_ST
I am trying to use Azure cognitive services and trying to convert "Text To Speech". I am able to convert the Text to Speech successfully on my local machine. Th
I have created a new Spring Starter Project and I specified in application.properties the db settings: spring.jpa.hibernate.ddl-auto=update spring.datasource.dr
I need to get all the information about the ticket in one request, also the name, author, and year of the book. I have implemented this : I create interface Tic
I was using spring-boot-starter-parent 2.0.3-RELEASE, using pointcut primitive 'get' in my aspect like below. @Pointcut("get(* *) && @annotation(com.tes
I've been searching here and online how to use addFlashAttribute in the best way and it's not working for me no matter what I do. I have a Student model which I
I have created a web rest API using Spring boot and I would like to generate a swagger page with the APIs documentation. How can I do that?