Questions tagged as 'spring-data'

1
answer

Spring-Date JPA and Audit with update by @Modifying

Is it possible to audit an update operation with Spring-Data Auditing using the update via @Query and @Modifying annotations instead of using the save() method?     
asked by 19.01.2016 / 22:25
1
answer

Error - to create query for method public abstract org.springframework.data.domain.Page

I've been line by line to know what's different between an object that worked and what's going wrong and I can not find the problem. This Student object is giving error. If I comment on get sobe normal. Code error: org.springframework.beans...
asked by 27.09.2018 / 00:07
1
answer

hibernate.hbm2ddl.auto \ Invalid object name 'sys.sequences'

Hello, I have the following code snippet in my context.xml: <prop key = "hibernate.dialect"> org.hibernate.dialect.SQLServer2012Dialect </prop> <prop key="hibernate.show_sql">true</prop> <prop...
asked by 31.07.2018 / 15:10
1
answer

Spring boot modules via maven do not interact

I'm using Spring Boot to create a web service RESTFul and a SOAP, each in a module but both in a single project. So I decided to separate my domain layer into a third module since it is the same for both types of web services and so I could reus...
asked by 23.03.2018 / 14:55
1
answer

Date field not saved in Spring and Angular database

I am doing a small CRUD and when I save the data the dataTime and DateText fields do not save in the database. PS: I made the debug and the dates are going through the save method. <div class="form-group col-md-4...
asked by 25.07.2017 / 16:06
1
answer

Popular dropdown list with database in Spring MVC Controller

I'm having a hard time finding a way to populate a dropdown on the Controller and move on to the view. Because this way I'm doing when I enter the screen to update the dropdown does not return with the value it already was. I'm doing this (co...
asked by 26.07.2017 / 16:19
1
answer

Application with Spring Boot does not rise - org.springframework.beans.factory.UnsatisfiedDependencyException

I created the application from SPRING INITIALIZR. I made the adjustments for the first operation and configured the application.properties however I still receive the same exception: 2017-05-24 16:49:23.784 WARN 5568 --- [ main] ati...
asked by 24.05.2017 / 22:14
2
answers

Spring MVC + Spring Data

Good morning, everyone? I do not have a problem in itself, just something I want to optimize. I am using Spring MVC with Spring Data, to perform pagination of results, I am doing using Pageable inside my repository. My problem is in the front en...
asked by 05.01.2017 / 11:30
1
answer

Problem with @Autowire Spring + Hibernate and Junit

Good night, I'm trying to create a project using Hibernate and Spring, I was successful creating some configurations, I even managed to generate the database by initializing the application using Spring, however I'm "stuck" in creating my DAO's,...
asked by 29.12.2014 / 18:37
0
answers

Spring data Jpa implement generic methods

I have 3 services with these methods in common create() , deleteById() , findAll() , getById() and update() . @Service public class AutorService {create(),deleteById(),findAll(),getById(),update(), etc...} @Servi...
asked by 23.11.2018 / 00:23