Questions tagged as 'spring'

2
answers

what are the frameworks-dependencies in spring [closed]

   what is the dependency of @services       what is the dependency of @repositories       what is the dependency of @controllers I mean dependencies in the pom.xml file If I'm not wrong @controllers has the dependency    starter.web...
asked by 28.04.2017 / 02:40
1
answer

Error creating bean with name 'adminServiceDAOImpl': Unsatisfied dependency expressed through field 'adminDao';

hi how I have this error:    Error creating bean with name 'adminServiceDAOImpl': Unsatisfied   dependence expressed through field 'adminDao'; public interface AdminDao { public boolean save(Admin admin); public List<Admin>...
asked by 25.06.2018 / 21:59
1
answer

Configure Spring Boot with two DataSources

I am using Spring Boot 2.X with Hibernate 5.X to connect two MySQL databases (Bar and Foo). I want to be able to list the different entities, with all their attributes (ID, Name and relationships @OneToMany/@ManyToOne ), of each of the...
asked by 07.03.2018 / 17:31
1
answer

Capture data that are in foreach in spring

hello I have a problem is that I do not know how to get the selected data with checkbox outside the foreach in the part that says class="text-left" href="< value=" eliminar_dependencia.htm?id="/>" .. should perform the func...
asked by 28.04.2017 / 16:18
1
answer

Error creating table using Spring Boot and postgres

Greetings to all! I am trying to create an application using Spring and Postgres. Currently I have 3 entities which are: User , Role and UserRole User import lombok.AllArgsConstructor; import lombok.Builder; import...
asked by 19.04.2018 / 21:53
0
answers

Problems when inserting in a second database (two schema mysql) Spring Boot

I have a problem when trying to insert, modify or delete a record (by requesting post, put and delete) in a second database. In the application I have two datasource defined for two schemas in a Mysql database. The problem is that in the firs...
asked by 19.11.2018 / 06:47
2
answers

Create query in a repository in spring

I have a repository and in its interface I want to create a function that requests a String and returns an object of type user, in mysql the syntax would be like this: SELECT C.NOMBRE FROM CLIENTE C, ALIAS A WHERE A.NOMBRE = 'bar' AND A.CLIENT...
asked by 02.03.2017 / 17:49
2
answers

What is the difference between Spring / JSF / JSP? [closed]

I am learning how to program and I would like to know what are the main differences or what do you recommend me to learn?     
asked by 29.05.2017 / 07:52
3
answers

Check that read-only fields have not been modified

I am using spring-mvc and I have a form in a jsp, in this form there are fields that are read only, imagine that we have to make a payment and a field is the amount, I would like to know how I can do to verify that the read-only fields have not...
asked by 06.03.2017 / 20:44
1
answer

Compilation error: The method findOne (long) is undefined for the type UserCrud]

to see if someone can help me because I get an error in compiling the edit and delete and I do not know why it is The method findOne(long) is undefined for the type UsuarioCrud ] with root cause java.lang.Error: Unresolved compilation pro...
asked by 03.12.2018 / 13:05