You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-data-jdbc/src/test/java/org/springframework/data/jdbc/core/JdbcAggregateTemplateIntegrationTests.java
+3-1
Original file line number
Diff line number
Diff line change
@@ -888,9 +888,11 @@ public void saveAndLoadDateTimeWithMicrosecondPrecision() {
Copy file name to clipboardExpand all lines: spring-data-jdbc/src/test/java/org/springframework/data/jdbc/core/convert/DefaultDataAccessStrategyUnitTests.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -219,7 +219,7 @@ public void insertWithUndefinedIdRetrievesGeneratedKeys() {
219
219
220
220
assertThat(generatedId).isEqualTo(GENERATED_ID);
221
221
222
-
verify(namedJdbcOperations).update(eq("INSERT INTO \"DUMMY_ENTITY\" VALUES ()"),
222
+
verify(namedJdbcOperations).update(eq("INSERT INTO \"DUMMY_ENTITY\" VALUES (DEFAULT)"),
Copy file name to clipboardExpand all lines: spring-data-relational/src/main/java/org/springframework/data/relational/core/dialect/InsertWithDefaultValues.java
+7-7
Original file line number
Diff line number
Diff line change
@@ -4,14 +4,14 @@
4
4
5
5
/**
6
6
* This interface aggregates information about an Insert with default values statement.
7
+
*
7
8
* @author Mikhail Polivakha
9
+
* @since 2.4
8
10
*/
9
11
publicinterfaceInsertWithDefaultValues {
10
12
11
-
/**
12
-
* @return the part of the sql statement, that follows after <b>INSERT INTO table</b>
Copy file name to clipboardExpand all lines: spring-data-relational/src/main/java/org/springframework/data/relational/core/dialect/RenderContextFactory.java
+9-7
Original file line number
Diff line number
Diff line change
@@ -78,8 +78,9 @@ public RenderContext createRenderContext() {
Copy file name to clipboardExpand all lines: spring-data-relational/src/main/java/org/springframework/data/relational/core/dialect/SqlServerDialect.java
+1-6
Original file line number
Diff line number
Diff line change
@@ -155,11 +155,6 @@ public IdentifierProcessing getIdentifierProcessing() {
Copy file name to clipboardExpand all lines: spring-data-relational/src/main/java/org/springframework/data/relational/core/mapping/InsertDefaultValues.java
Copy file name to clipboardExpand all lines: spring-data-relational/src/main/java/org/springframework/data/relational/core/sql/render/InsertRenderContext.java
Copy file name to clipboardExpand all lines: spring-data-relational/src/main/java/org/springframework/data/relational/core/sql/render/InsertStatementVisitor.java
+13-11
Original file line number
Diff line number
Diff line change
@@ -98,7 +98,17 @@ public Delegation doLeave(Visitable segment) {
Copy file name to clipboardExpand all lines: spring-data-relational/src/main/java/org/springframework/data/relational/core/sql/render/RenderContext.java
+10-1
Original file line number
Diff line number
Diff line change
@@ -43,8 +43,17 @@ public interface RenderContext {
43
43
44
44
/**
45
45
* @return the {@link SelectRenderContext}.
46
+
* @deprecated Use {@link #getInsertRenderContext()} instead.
Copy file name to clipboardExpand all lines: spring-data-relational/src/main/java/org/springframework/data/relational/core/sql/render/SimpleRenderContext.java
0 commit comments