Questions tagged as 'spring'

0
answers

LimeSurvey + Hibernate

I'm trying to develop an app that manages some surveys from limeSurvey and for this purpose I'm using Hibernate . So the whole problem is that limeSurvey gives me the answers of every survey like this: lime_su...
asked by 24.12.2015 / 17:56
1
answer

Retrieve Cookies in Authentication with Spring Security

How can I recover cookies when the user logs in through Spring Security and with the implementation of the AuthenticationProvider interface? If I retrieve an instance of HttpServletRequest from a class with a controller I have acce...
asked by 16.12.2015 / 13:02
1
answer

How to handle security in a REST application with Spring?

I'd like to know how I could handle the security of a stateless REST application with Spring. Imagine that no user can access any content of /app/content if you have not first identified. Is there any way to do this without also having...
asked by 08.10.2014 / 19:23
0
answers

Error Wrong number of arguments in production environment

I have an application in development and production, and only in production mode it has the following error:   UT005023: Exception handling request to / 1 / registers / object / new: org.springframework.web.util.NestedServletException: [0m [...
asked by 11.12.2015 / 16:53
0
answers

How does mock in integration tests work? [closed]

How to use mock in my integration tests?     
asked by 07.10.2015 / 18:59
1
answer

Receiving HTML Table in Controller (SpringMVC)

Good morning, I have a page where the user digital information. <input type="text" id="info01"> <input type="text" id="info01"> <input type="text" id="info01"> When typing all 3, via javascript I perform a calculation a...
asked by 10.07.2015 / 13:36
0
answers

Behavior Soft Delete Hibernate Spring Boot

I would like to know if there is a soft delete functionality in Hibernate, since today I'm doing something that I consider to be a gambiarra, something like: @Entity @Where(clause="ativo=1") Controller: Rejeicao rej = rejeicaoRepository.f...
asked by 10.06.2015 / 16:48
1
answer

commit with @Transactional annotation in Spring

Good afternoon! I am new to java and Spring and am needing help in the code below. I need to commit every commit iteration, but it is only done at the end of the transaction, I created the persist method, thinking it would open a new transaction...
asked by 20.09.2018 / 20:01
1
answer

Value sent to JSP via Spring Model does not appear

I'm developing a project using maven, Spring framework (mvc module), and searches the database through JDBC. I have the following code in my controller: @RequestMapping("/authors/edit") public String edit(Author author, Model model) { I...
asked by 11.09.2014 / 03:20
1
answer

How to map REST request response

I'm consuming a REST API with RestTemplate and it does not follow good practices, like using HTTP status codes, for example. Response to success: { "435": { "Codigo": "435", "Tipo": "", "Corretor": "62",...
asked by 10.11.2017 / 19:59