spring-data-rest
spring-data-rest copied to clipboard
Simplifies building hypermedia-driven REST web services on top of Spring Data repositories
When using spring-data Auditing functionality with unnoficial supported types like OffsetDateTime, you could customize all process using property dateTimeProviderRef on EnableJpaAuditing/EnableMongoAuditing. All works with no problem for @CreatedDate annotation, but...
While updating org.springframework.boot to 2.5.12, org.springframework.data:spring-data-rest-webmvc is updated to 3.5.10 as transitive dependency. In this version we found the problem. During bean creation we get the following exception: "java.lang.IllegalAccessError: failed...
**[Daniele Renda](https://jira.spring.io/secure/ViewProfile.jspa?name=drenda81)** opened **[DATAREST-1592](https://jira.spring.io/browse/DATAREST-1592?redirect=false)** and commented I've a Spring Projection as this: ```java @Projection(name = "table", types = {CycleCountingOrderLine.class}) public interface CycleCountingOrderLineTableProjection { int getLine(); ProductType getItemType(); String getItemManufacturer(); String...
If an entity does not have a (direct) repository and it has a bidirectional parent-child relationship with an entity which has a repository then, if we @JsonManagedReference and @JsonBackReference on...
I added CORS configuration in Spring Security like this: ``` @EnableWebSecurity @EnableGlobalMethodSecurity(prePostEnabled = true) class AppWebSecurityConfigurerAdapter : WebSecurityConfigurerAdapter() { override fun configure(http: HttpSecurity?) { http { csrf { disable() }...
**[Lash Sanghera](https://jira.spring.io/secure/ViewProfile.jspa?name=lashsanghera)** opened **[DATAREST-1024](https://jira.spring.io/browse/DATAREST-1024?redirect=false)** and commented I am implementing server side sorting with Spring Data REST and Spring Data JPA included in Spring Boot 1.3.1.RELEASE version. The JPA entity I...
Mongo Auditing: @CreatedDate field gets set to null on updates with Spring Data Rest [DATAREST-1204]
**[Benjamin Cody](https://jira.spring.io/secure/[email protected])** opened **[DATAREST-1204](https://jira.spring.io/browse/DATAREST-1204?redirect=false)** and commented I've set up a Spring Boot application with `spring-boot-starter-data-rest` and `spring-boot-starter-data-mongodb`. I'm using the Mongo auditing feature to automatically set insert and update timestamps...