Questions tagged as 'spring-boot'

0
answers

Problems with Springboot, vue and heroku

Hello, create a Springboot project in STS and within a folder called frontend that contains the part with vue I was able to host my CRUD project in heroku, but with some problems: 1) so that the page runs, I had to pass the generated...
asked by 02.01.2019 / 20:31
0
answers

Queries with MongoDB

Good afternoon, I have the following concern: I have defined a POJO as you see it below: @Id private String idInformacion; @Indexed(direction = IndexDirection.ASCENDING) private Pais pais; private Date fechaCreacion; private String nombre;...
asked by 27.12.2018 / 22:45
0
answers

How to disable "update" in the "save" method of JpaRepository

I'm trying to insert a new user into my user table and I want to have control if we insert an existing user that does not update it. Currently it seems that the save method or saveFlush derivatives try to insert and if they already exist they...
asked by 17.12.2018 / 16:49
0
answers

Error creating connections to two databases in MongoDb in SpringBoot

Following a tutorial I created two connections to MongoDb databases in SpringBoot that worked perfectly, but when switching to the most recent version of the STS (Spring Tool Siute), more specifically to Spring Tool Suite Version: 3.9.6.RELEA...
asked by 11.12.2018 / 18:06
1
answer

junit Test in Spring boot Duplicate error how to fix it?

Best regards to the community I am doing unit tests in Spring boot in mysql if someone in the community can help me in solving this case thanks. I leave the code: @RunWith(SpringRunner.class) @DataJpaTest @AutoConfigureTestDatabase(replace=...
asked by 02.12.2018 / 01:05
0
answers

Add spring boot to spring for azure validation

I have an application in Spring which I need to authenticate with the active directory in azure and the only information I have obtained is to use spring boot I do not know how viable or what other options can be considered.     
asked by 05.12.2018 / 15:27
1
answer

Spring authentication Active Directory azure

I have a project in spring which I must modify to authenticate with the active directory of microsoft azure. My question is there is some way to do the process without using spring boot or how to migrate to spring boot to be able to do this proc...
asked by 04.12.2018 / 14:04
1
answer

API restful @mantytoone JPA, Spring boot - 404 not found

The api rest of these two entities I'm testing in a postman that gives me 404, eclipse compiles well the project, so I guess it is something wrong raised in the logic of my service or controller, I do not know which of the I am bad or if in both...
asked by 18.11.2018 / 10:55
1
answer

Preload data in spring boot?

I am starting with a project and I want to start inserting the application insert some tables, I would do it in the BD but I have attributes "created_At" and "update_At" : package com.example.model; import java.util.Date; import...
asked by 25.11.2018 / 17:51
0
answers

Depth of queries with Spring Data Neo4j

I'm starting with Neo4j and I'm trying to make a query with the @Query annotation but it only returns the main object and the other related objects return them to null, as I can do to return the other objects. I leave the exam...
asked by 14.11.2018 / 00:59