Questions tagged as 'spring'

0
answers

Spring Cloud Config just read application.yml

I'm starting to mess with Spring Cloud Config. I have a client application that simply writes the content of the application.yml that I have in a git repository. That works correctly, I can change the value, refresh and update the changes. Th...
asked by 10.11.2018 / 16:36
0
answers

Data from an SSE with Angular and Spring

I have my code in Anguar to consume an SSE: import { Component, OnInit, NgZone } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; export interface Prueba { id: string, nombre: str...
asked by 10.11.2018 / 19:41
1
answer

Complete text boxes with angular

I am new to Angular and would like to know if the following can be done: I have the following text boxes: Postal Code, City, Delegation / Municipality and State; I want to autocomplete the last three according to the zip code that was entered...
asked by 07.11.2018 / 00:20
1
answer

When a date type field is saved in the database, it is saved with a date from a previous day

I am programming an application with the following technologies: Java, Spring, Hibernate, Maven, Msql. The IDE that I am using is Eclipse. The problem that I am having is that when an entity persists, one of its properties is of Date t...
asked by 04.11.2018 / 03:22
0
answers

How can I make JPA not generate a CLASE_PK?

Having a Question table, and having another table called answers. My problem is that when using JPA to be able to do the mapping of the tables, I create the class question and the class answers, apart from that I create an additional class th...
asked by 25.10.2018 / 04:27
0
answers

Create Table with two Lists in Thymeleaf

Hi, I'm new to Thymeleaf, I have two lists that I sent from my controller to a thymeleaf template, my question I can use those two lists and display them in a table. List 1 has: id, name, key list 2 has: id, id_list1 and key What I want to...
asked by 21.10.2018 / 00:02
0
answers

org.springframework.beans.factory.BeanCreationException ERROR

I try to run my application in NetBeans and I get the following error. My mistake: Error creating bean with name 'BDEncuesta' defined in file [D:\adenbpo-reportes-encuestas-ms\target\classes\com\adenbpo\BDEncuesta.class]: Post-processing...
asked by 24.10.2018 / 04:19
0
answers

Help because the error 400-Bad Request, The request could not be understood?

I have three checkboxes which are shown on my screen and I want them to be selected by default when they enter my screen if their field that fills it with base has the value of 1 <inpunt type="checkbox" id="checkName1" name="checkNa...
asked by 15.10.2018 / 03:50
1
answer

Read production or development properties file in spring boot

I have the following question, how can I read a .properties file from spring boot depending on the environment in which I am? My project structure is as follows: I've read this but I can not make it work. Thank you.     
asked by 09.10.2018 / 22:50
1
answer

how can I show the next number stored in mysql in spring boot + jpa?

Greetings to the community I have a problem in being able to find a solution to my problem if someone can support me in the solution is to be able to show is the following number stored in my database the number is 1 and I want you to show me...
asked by 06.10.2018 / 03:14