#354 - Fixes compile errors due to DATAJDBC-200.
This commit is contained in:
@@ -25,7 +25,7 @@ import org.springframework.context.ApplicationListener;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.core.convert.converter.Converter;
|
||||
import org.springframework.data.jdbc.mapping.event.BeforeSave;
|
||||
import org.springframework.data.jdbc.mapping.event.BeforeSaveEvent;
|
||||
import org.springframework.data.jdbc.mapping.model.ConversionCustomizer;
|
||||
import org.springframework.data.jdbc.mapping.model.JdbcPersistentProperty;
|
||||
import org.springframework.data.jdbc.mapping.model.NamingStrategy;
|
||||
@@ -44,7 +44,7 @@ public class AggregateConfiguration {
|
||||
|
||||
final AtomicInteger id = new AtomicInteger(0);
|
||||
|
||||
return (ApplicationListener<BeforeSave>) event -> {
|
||||
return (ApplicationListener<BeforeSaveEvent>) event -> {
|
||||
|
||||
Object entity = event.getEntity();
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ import org.springframework.context.ApplicationEvent;
|
||||
import org.springframework.context.ApplicationListener;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.data.jdbc.mapping.event.BeforeSave;
|
||||
import org.springframework.data.jdbc.mapping.event.BeforeSaveEvent;
|
||||
import org.springframework.data.jdbc.mapping.event.JdbcEvent;
|
||||
import org.springframework.data.jdbc.repository.config.EnableJdbcRepositories;
|
||||
|
||||
@@ -45,7 +45,7 @@ public class CategoryConfiguration {
|
||||
}
|
||||
|
||||
@Bean
|
||||
public ApplicationListener<BeforeSave> timeStampingSaveTime() {
|
||||
public ApplicationListener<BeforeSaveEvent> timeStampingSaveTime() {
|
||||
|
||||
return event -> {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user