language
stringclasses
1 value
owner
stringlengths
2
15
repo
stringlengths
2
21
sha
stringlengths
45
45
message
stringlengths
7
36.3k
path
stringlengths
1
199
patch
stringlengths
15
102k
is_multipart
bool
2 classes
Other
spring-projects
spring-framework
aff601edf10ff2eee8c8ce862d9905751b9449ac.json
Add support for R2DBC This commit introduces support for R2DBC ("Reactive Relational Database Connectivity") with custom ConnectionFactory implementations, a functional DatabaseClient for SQL execution, transaction management, a bind marker abstraction database initialization utilities, and exception translation. Clo...
spring-r2dbc/src/test/java/org/springframework/r2dbc/connection/init/ConnectionFactoryInitializerUnitTests.java
@@ -0,0 +1,76 @@ +/* + * Copyright 2002-2020 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 +...
true
Other
spring-projects
spring-framework
aff601edf10ff2eee8c8ce862d9905751b9449ac.json
Add support for R2DBC This commit introduces support for R2DBC ("Reactive Relational Database Connectivity") with custom ConnectionFactory implementations, a functional DatabaseClient for SQL execution, transaction management, a bind marker abstraction database initialization utilities, and exception translation. Clo...
spring-r2dbc/src/test/java/org/springframework/r2dbc/connection/init/H2DatabasePopulatorIntegrationTests.java
@@ -0,0 +1,61 @@ +/* + * Copyright 2002-2020 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 +...
true
Other
spring-projects
spring-framework
aff601edf10ff2eee8c8ce862d9905751b9449ac.json
Add support for R2DBC This commit introduces support for R2DBC ("Reactive Relational Database Connectivity") with custom ConnectionFactory implementations, a functional DatabaseClient for SQL execution, transaction management, a bind marker abstraction database initialization utilities, and exception translation. Clo...
spring-r2dbc/src/test/java/org/springframework/r2dbc/connection/init/ResourceDatabasePopulatorUnitTests.java
@@ -0,0 +1,117 @@ +/* + * Copyright 2002-2020 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 ...
true
Other
spring-projects
spring-framework
aff601edf10ff2eee8c8ce862d9905751b9449ac.json
Add support for R2DBC This commit introduces support for R2DBC ("Reactive Relational Database Connectivity") with custom ConnectionFactory implementations, a functional DatabaseClient for SQL execution, transaction management, a bind marker abstraction database initialization utilities, and exception translation. Clo...
spring-r2dbc/src/test/java/org/springframework/r2dbc/connection/init/ScriptUtilsUnitTests.java
@@ -0,0 +1,219 @@ +/* + * Copyright 2002-2020 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 ...
true
Other
spring-projects
spring-framework
aff601edf10ff2eee8c8ce862d9905751b9449ac.json
Add support for R2DBC This commit introduces support for R2DBC ("Reactive Relational Database Connectivity") with custom ConnectionFactory implementations, a functional DatabaseClient for SQL execution, transaction management, a bind marker abstraction database initialization utilities, and exception translation. Clo...
spring-r2dbc/src/test/java/org/springframework/r2dbc/connection/lookup/AbstractRoutingConnectionFactoryUnitTests.java
@@ -0,0 +1,195 @@ +/* + * Copyright 2002-2020 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 ...
true
Other
spring-projects
spring-framework
aff601edf10ff2eee8c8ce862d9905751b9449ac.json
Add support for R2DBC This commit introduces support for R2DBC ("Reactive Relational Database Connectivity") with custom ConnectionFactory implementations, a functional DatabaseClient for SQL execution, transaction management, a bind marker abstraction database initialization utilities, and exception translation. Clo...
spring-r2dbc/src/test/java/org/springframework/r2dbc/connection/lookup/BeanFactoryConnectionFactoryLookupUnitTests.java
@@ -0,0 +1,88 @@ +/* + * Copyright 2002-2020 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 +...
true
Other
spring-projects
spring-framework
aff601edf10ff2eee8c8ce862d9905751b9449ac.json
Add support for R2DBC This commit introduces support for R2DBC ("Reactive Relational Database Connectivity") with custom ConnectionFactory implementations, a functional DatabaseClient for SQL execution, transaction management, a bind marker abstraction database initialization utilities, and exception translation. Clo...
spring-r2dbc/src/test/java/org/springframework/r2dbc/connection/lookup/DummyConnectionFactory.java
@@ -0,0 +1,43 @@ +/* + * Copyright 2002-2020 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 +...
true
Other
spring-projects
spring-framework
aff601edf10ff2eee8c8ce862d9905751b9449ac.json
Add support for R2DBC This commit introduces support for R2DBC ("Reactive Relational Database Connectivity") with custom ConnectionFactory implementations, a functional DatabaseClient for SQL execution, transaction management, a bind marker abstraction database initialization utilities, and exception translation. Clo...
spring-r2dbc/src/test/java/org/springframework/r2dbc/connection/lookup/MapConnectionFactoryLookupUnitTests.java
@@ -0,0 +1,102 @@ +/* + * Copyright 2002-2020 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 ...
true
Other
spring-projects
spring-framework
aff601edf10ff2eee8c8ce862d9905751b9449ac.json
Add support for R2DBC This commit introduces support for R2DBC ("Reactive Relational Database Connectivity") with custom ConnectionFactory implementations, a functional DatabaseClient for SQL execution, transaction management, a bind marker abstraction database initialization utilities, and exception translation. Clo...
spring-r2dbc/src/test/java/org/springframework/r2dbc/core/AbstractDatabaseClientIntegrationTests.java
@@ -0,0 +1,152 @@ +/* + * Copyright 2002-2020 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 ...
true
Other
spring-projects
spring-framework
aff601edf10ff2eee8c8ce862d9905751b9449ac.json
Add support for R2DBC This commit introduces support for R2DBC ("Reactive Relational Database Connectivity") with custom ConnectionFactory implementations, a functional DatabaseClient for SQL execution, transaction management, a bind marker abstraction database initialization utilities, and exception translation. Clo...
spring-r2dbc/src/test/java/org/springframework/r2dbc/core/AbstractTransactionalDatabaseClientIntegrationTests.java
@@ -0,0 +1,208 @@ +/* + * Copyright 2002-2020 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 ...
true
Other
spring-projects
spring-framework
aff601edf10ff2eee8c8ce862d9905751b9449ac.json
Add support for R2DBC This commit introduces support for R2DBC ("Reactive Relational Database Connectivity") with custom ConnectionFactory implementations, a functional DatabaseClient for SQL execution, transaction management, a bind marker abstraction database initialization utilities, and exception translation. Clo...
spring-r2dbc/src/test/java/org/springframework/r2dbc/core/DefaultDatabaseClientUnitTests.java
@@ -0,0 +1,435 @@ +/* + * Copyright 2002-2020 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 ...
true
Other
spring-projects
spring-framework
aff601edf10ff2eee8c8ce862d9905751b9449ac.json
Add support for R2DBC This commit introduces support for R2DBC ("Reactive Relational Database Connectivity") with custom ConnectionFactory implementations, a functional DatabaseClient for SQL execution, transaction management, a bind marker abstraction database initialization utilities, and exception translation. Clo...
spring-r2dbc/src/test/java/org/springframework/r2dbc/core/H2DatabaseClientIntegrationTests.java
@@ -0,0 +1,47 @@ +/* + * Copyright 2002-2020 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 +...
true
Other
spring-projects
spring-framework
aff601edf10ff2eee8c8ce862d9905751b9449ac.json
Add support for R2DBC This commit introduces support for R2DBC ("Reactive Relational Database Connectivity") with custom ConnectionFactory implementations, a functional DatabaseClient for SQL execution, transaction management, a bind marker abstraction database initialization utilities, and exception translation. Clo...
spring-r2dbc/src/test/java/org/springframework/r2dbc/core/H2TransactionalDatabaseClientIntegrationTests.java
@@ -0,0 +1,46 @@ +/* + * Copyright 2002-2020 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 +...
true
Other
spring-projects
spring-framework
aff601edf10ff2eee8c8ce862d9905751b9449ac.json
Add support for R2DBC This commit introduces support for R2DBC ("Reactive Relational Database Connectivity") with custom ConnectionFactory implementations, a functional DatabaseClient for SQL execution, transaction management, a bind marker abstraction database initialization utilities, and exception translation. Clo...
spring-r2dbc/src/test/java/org/springframework/r2dbc/core/NamedParameterUtilsUnitTests.java
@@ -0,0 +1,462 @@ +/* + * Copyright 2002-2020 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 ...
true
Other
spring-projects
spring-framework
aff601edf10ff2eee8c8ce862d9905751b9449ac.json
Add support for R2DBC This commit introduces support for R2DBC ("Reactive Relational Database Connectivity") with custom ConnectionFactory implementations, a functional DatabaseClient for SQL execution, transaction management, a bind marker abstraction database initialization utilities, and exception translation. Clo...
spring-r2dbc/src/test/java/org/springframework/r2dbc/core/binding/AnonymousBindMarkersUnitTests.java
@@ -0,0 +1,59 @@ +/* + * Copyright 2002-2020 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 +...
true
Other
spring-projects
spring-framework
aff601edf10ff2eee8c8ce862d9905751b9449ac.json
Add support for R2DBC This commit introduces support for R2DBC ("Reactive Relational Database Connectivity") with custom ConnectionFactory implementations, a functional DatabaseClient for SQL execution, transaction management, a bind marker abstraction database initialization utilities, and exception translation. Clo...
spring-r2dbc/src/test/java/org/springframework/r2dbc/core/binding/BindingsUnitTests.java
@@ -0,0 +1,146 @@ +/* + * Copyright 2002-2020 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 ...
true
Other
spring-projects
spring-framework
aff601edf10ff2eee8c8ce862d9905751b9449ac.json
Add support for R2DBC This commit introduces support for R2DBC ("Reactive Relational Database Connectivity") with custom ConnectionFactory implementations, a functional DatabaseClient for SQL execution, transaction management, a bind marker abstraction database initialization utilities, and exception translation. Clo...
spring-r2dbc/src/test/java/org/springframework/r2dbc/core/binding/IndexedBindMarkersUnitTests.java
@@ -0,0 +1,103 @@ +/* + * Copyright 2002-2020 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 ...
true
Other
spring-projects
spring-framework
aff601edf10ff2eee8c8ce862d9905751b9449ac.json
Add support for R2DBC This commit introduces support for R2DBC ("Reactive Relational Database Connectivity") with custom ConnectionFactory implementations, a functional DatabaseClient for SQL execution, transaction management, a bind marker abstraction database initialization utilities, and exception translation. Clo...
spring-r2dbc/src/test/java/org/springframework/r2dbc/core/binding/NamedBindMarkersUnitTests.java
@@ -0,0 +1,115 @@ +/* + * Copyright 2002-2020 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 ...
true
Other
spring-projects
spring-framework
aff601edf10ff2eee8c8ce862d9905751b9449ac.json
Add support for R2DBC This commit introduces support for R2DBC ("Reactive Relational Database Connectivity") with custom ConnectionFactory implementations, a functional DatabaseClient for SQL execution, transaction management, a bind marker abstraction database initialization utilities, and exception translation. Clo...
spring-r2dbc/src/test/kotlin/org/springframework/r2dbc/core/DatabaseClientExtensionsTests.kt
@@ -0,0 +1,105 @@ +/* + * Copyright 2002-2020 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 ...
true
Other
spring-projects
spring-framework
aff601edf10ff2eee8c8ce862d9905751b9449ac.json
Add support for R2DBC This commit introduces support for R2DBC ("Reactive Relational Database Connectivity") with custom ConnectionFactory implementations, a functional DatabaseClient for SQL execution, transaction management, a bind marker abstraction database initialization utilities, and exception translation. Clo...
spring-r2dbc/src/test/kotlin/org/springframework/r2dbc/core/RowsFetchSpecExtensionsTests.kt
@@ -0,0 +1,166 @@ +/* + * Copyright 2002-2020 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 ...
true
Other
spring-projects
spring-framework
aff601edf10ff2eee8c8ce862d9905751b9449ac.json
Add support for R2DBC This commit introduces support for R2DBC ("Reactive Relational Database Connectivity") with custom ConnectionFactory implementations, a functional DatabaseClient for SQL execution, transaction management, a bind marker abstraction database initialization utilities, and exception translation. Clo...
spring-r2dbc/src/test/kotlin/org/springframework/r2dbc/core/UpdatedRowsFetchSpecExtensionsTests.kt
@@ -0,0 +1,48 @@ +/* + * Copyright 2002-2020 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 +...
true
Other
spring-projects
spring-framework
aff601edf10ff2eee8c8ce862d9905751b9449ac.json
Add support for R2DBC This commit introduces support for R2DBC ("Reactive Relational Database Connectivity") with custom ConnectionFactory implementations, a functional DatabaseClient for SQL execution, transaction management, a bind marker abstraction database initialization utilities, and exception translation. Clo...
spring-r2dbc/src/test/resources/org/springframework/r2dbc/connection/init/db-schema-failed-drop-comments.sql
@@ -0,0 +1,5 @@ +-- Failed DROP can be ignored if necessary +drop table users; + +-- Create the test table +create table users (last_name varchar(50) not null);
true
Other
spring-projects
spring-framework
aff601edf10ff2eee8c8ce862d9905751b9449ac.json
Add support for R2DBC This commit introduces support for R2DBC ("Reactive Relational Database Connectivity") with custom ConnectionFactory implementations, a functional DatabaseClient for SQL execution, transaction management, a bind marker abstraction database initialization utilities, and exception translation. Clo...
spring-r2dbc/src/test/resources/org/springframework/r2dbc/connection/init/db-schema.sql
@@ -0,0 +1,3 @@ +drop table users if exists; + +create table users (last_name varchar(50) not null);
true
Other
spring-projects
spring-framework
aff601edf10ff2eee8c8ce862d9905751b9449ac.json
Add support for R2DBC This commit introduces support for R2DBC ("Reactive Relational Database Connectivity") with custom ConnectionFactory implementations, a functional DatabaseClient for SQL execution, transaction management, a bind marker abstraction database initialization utilities, and exception translation. Clo...
spring-r2dbc/src/test/resources/org/springframework/r2dbc/connection/init/db-test-data-endings.sql
@@ -0,0 +1,2 @@ +insert into users (last_name) values ('Heisenberg')@@ +insert into users (last_name) values ('Jesse')@@
true
Other
spring-projects
spring-framework
aff601edf10ff2eee8c8ce862d9905751b9449ac.json
Add support for R2DBC This commit introduces support for R2DBC ("Reactive Relational Database Connectivity") with custom ConnectionFactory implementations, a functional DatabaseClient for SQL execution, transaction management, a bind marker abstraction database initialization utilities, and exception translation. Clo...
spring-r2dbc/src/test/resources/org/springframework/r2dbc/connection/init/db-test-data-escaped-literal.sql
@@ -0,0 +1 @@ +insert into users (last_name) values ('''Heisenberg''');
true
Other
spring-projects
spring-framework
aff601edf10ff2eee8c8ce862d9905751b9449ac.json
Add support for R2DBC This commit introduces support for R2DBC ("Reactive Relational Database Connectivity") with custom ConnectionFactory implementations, a functional DatabaseClient for SQL execution, transaction management, a bind marker abstraction database initialization utilities, and exception translation. Clo...
spring-r2dbc/src/test/resources/org/springframework/r2dbc/connection/init/db-test-data-h2.sql
@@ -0,0 +1 @@ +INSERT INTO users(first_name, last_name) values('Walter', 'White');
true
Other
spring-projects
spring-framework
aff601edf10ff2eee8c8ce862d9905751b9449ac.json
Add support for R2DBC This commit introduces support for R2DBC ("Reactive Relational Database Connectivity") with custom ConnectionFactory implementations, a functional DatabaseClient for SQL execution, transaction management, a bind marker abstraction database initialization utilities, and exception translation. Clo...
spring-r2dbc/src/test/resources/org/springframework/r2dbc/connection/init/db-test-data-multi-newline.sql
@@ -0,0 +1,5 @@ +insert into users (last_name) +values ('Walter') + +insert into users (last_name) +values ('Jesse')
true
Other
spring-projects
spring-framework
aff601edf10ff2eee8c8ce862d9905751b9449ac.json
Add support for R2DBC This commit introduces support for R2DBC ("Reactive Relational Database Connectivity") with custom ConnectionFactory implementations, a functional DatabaseClient for SQL execution, transaction management, a bind marker abstraction database initialization utilities, and exception translation. Clo...
spring-r2dbc/src/test/resources/org/springframework/r2dbc/connection/init/db-test-data-multiple.sql
@@ -0,0 +1,2 @@ +insert into users (last_name) values ('Heisenberg'); +insert into users (last_name) values ('Jesse');
true
Other
spring-projects
spring-framework
aff601edf10ff2eee8c8ce862d9905751b9449ac.json
Add support for R2DBC This commit introduces support for R2DBC ("Reactive Relational Database Connectivity") with custom ConnectionFactory implementations, a functional DatabaseClient for SQL execution, transaction management, a bind marker abstraction database initialization utilities, and exception translation. Clo...
spring-r2dbc/src/test/resources/org/springframework/r2dbc/connection/init/db-test-data-mysql-escaped-literal.sql
@@ -0,0 +1 @@ +insert into users (last_name) values ('\$Heisenberg\$');
true
Other
spring-projects
spring-framework
aff601edf10ff2eee8c8ce862d9905751b9449ac.json
Add support for R2DBC This commit introduces support for R2DBC ("Reactive Relational Database Connectivity") with custom ConnectionFactory implementations, a functional DatabaseClient for SQL execution, transaction management, a bind marker abstraction database initialization utilities, and exception translation. Clo...
spring-r2dbc/src/test/resources/org/springframework/r2dbc/connection/init/db-test-data.sql
@@ -0,0 +1 @@ +insert into users (last_name) values ('Heisenberg');
true
Other
spring-projects
spring-framework
aff601edf10ff2eee8c8ce862d9905751b9449ac.json
Add support for R2DBC This commit introduces support for R2DBC ("Reactive Relational Database Connectivity") with custom ConnectionFactory implementations, a functional DatabaseClient for SQL execution, transaction management, a bind marker abstraction database initialization utilities, and exception translation. Clo...
spring-r2dbc/src/test/resources/org/springframework/r2dbc/connection/init/test-data-with-comments-and-leading-tabs.sql
@@ -0,0 +1,9 @@ +-- The next comment line starts with a tab. + -- x, y, z... + +insert into customer (id, name) +values (1, 'Walter White'); + -- This is also a comment with a leading tab. +insert into orders(id, order_date, customer_id) values (1, '2013-06-08', 1); + -- This is also a comment with a leading tab, a s...
true
Other
spring-projects
spring-framework
aff601edf10ff2eee8c8ce862d9905751b9449ac.json
Add support for R2DBC This commit introduces support for R2DBC ("Reactive Relational Database Connectivity") with custom ConnectionFactory implementations, a functional DatabaseClient for SQL execution, transaction management, a bind marker abstraction database initialization utilities, and exception translation. Clo...
spring-r2dbc/src/test/resources/org/springframework/r2dbc/connection/init/test-data-with-comments.sql
@@ -0,0 +1,16 @@ +-- The next comment line has no text after the '--' prefix. +-- +-- The next comment line starts with a space. + -- x, y, z... + +insert into customer (id, name) +values (1, 'Rod; Johnson'), (2, 'Adrian Collier'); +-- This is also a comment. +insert into orders(id, order_date, customer_id) +values (1,...
true
Other
spring-projects
spring-framework
aff601edf10ff2eee8c8ce862d9905751b9449ac.json
Add support for R2DBC This commit introduces support for R2DBC ("Reactive Relational Database Connectivity") with custom ConnectionFactory implementations, a functional DatabaseClient for SQL execution, transaction management, a bind marker abstraction database initialization utilities, and exception translation. Clo...
spring-r2dbc/src/test/resources/org/springframework/r2dbc/connection/init/test-data-with-multi-line-comments.sql
@@ -0,0 +1,17 @@ +/* This is a multi line comment + * The next comment line has no text + + * The next comment line starts with a space. + * x, y, z... + */ + +INSERT INTO users(first_name, last_name) VALUES('Walter', 'White'); +-- This is also a comment. +/* + * Let's add another comment + * that covers multiple line...
true
Other
spring-projects
spring-framework
aff601edf10ff2eee8c8ce862d9905751b9449ac.json
Add support for R2DBC This commit introduces support for R2DBC ("Reactive Relational Database Connectivity") with custom ConnectionFactory implementations, a functional DatabaseClient for SQL execution, transaction management, a bind marker abstraction database initialization utilities, and exception translation. Clo...
spring-r2dbc/src/test/resources/org/springframework/r2dbc/connection/init/test-data-with-multi-line-nested-comments.sql
@@ -0,0 +1,23 @@ +/* This is a multi line comment + * The next comment line has no text + + * The next comment line starts with a space. + * x, y, z... + */ + +INSERT INTO users(first_name, last_name) VALUES('Walter', 'White'); +-- This is also a comment. +/*------------------------------------------- +-- A fancy mult...
true
Other
spring-projects
spring-framework
aff601edf10ff2eee8c8ce862d9905751b9449ac.json
Add support for R2DBC This commit introduces support for R2DBC ("Reactive Relational Database Connectivity") with custom ConnectionFactory implementations, a functional DatabaseClient for SQL execution, transaction management, a bind marker abstraction database initialization utilities, and exception translation. Clo...
spring-r2dbc/src/test/resources/org/springframework/r2dbc/connection/init/users-data.sql
@@ -0,0 +1,3 @@ +INSERT INTO +users(first_name, last_name) +values('Sam', 'Brannen');
true
Other
spring-projects
spring-framework
aff601edf10ff2eee8c8ce862d9905751b9449ac.json
Add support for R2DBC This commit introduces support for R2DBC ("Reactive Relational Database Connectivity") with custom ConnectionFactory implementations, a functional DatabaseClient for SQL execution, transaction management, a bind marker abstraction database initialization utilities, and exception translation. Clo...
spring-r2dbc/src/test/resources/org/springframework/r2dbc/connection/init/users-schema.sql
@@ -0,0 +1,7 @@ +DROP TABLE users IF EXISTS; + +CREATE TABLE users ( + id INTEGER NOT NULL IDENTITY, + first_name VARCHAR(50) NOT NULL, + last_name VARCHAR(50) NOT NULL +);
true
Other
spring-projects
spring-framework
aff601edf10ff2eee8c8ce862d9905751b9449ac.json
Add support for R2DBC This commit introduces support for R2DBC ("Reactive Relational Database Connectivity") with custom ConnectionFactory implementations, a functional DatabaseClient for SQL execution, transaction management, a bind marker abstraction database initialization utilities, and exception translation. Clo...
src/docs/asciidoc/data-access.adoc
@@ -6534,6 +6534,647 @@ Ensuring that the database initializer is initialized first can also be easy. So +[[r2dbc]] +== Data Access with R2DBC + +https://r2dbc.io[R2DBC] ("Reactive Relational Database Connectivity") is a community-driven +specification effort to standardize access to SQL databases using reactive ...
true
Other
spring-projects
spring-framework
aff601edf10ff2eee8c8ce862d9905751b9449ac.json
Add support for R2DBC This commit introduces support for R2DBC ("Reactive Relational Database Connectivity") with custom ConnectionFactory implementations, a functional DatabaseClient for SQL execution, transaction management, a bind marker abstraction database initialization utilities, and exception translation. Clo...
src/docs/asciidoc/index.adoc
@@ -16,7 +16,7 @@ Validation, Data Binding, Type Conversion, SpEL, AOP. <<testing.adoc#testing, Testing>> :: Mock Objects, TestContext Framework, Spring MVC Test, WebTestClient. <<data-access.adoc#spring-data-tier, Data Access>> :: Transactions, DAO Support, -JDBC, O/R Mapping, XML Marshalling. +JDBC, R2DBC, O/R Map...
true
Other
spring-projects
spring-framework
9acb5b1a4aba8b8f8cdd070cccfbf43e2e9c5666.json
Replace "black box" with alternative term See gh-25262
src/docs/asciidoc/testing.adoc
@@ -7268,7 +7268,7 @@ Another important distinction when using Spring MVC Test is that, conceptually, tests are the server-side, so you can check what handler was used, if an exception was handled with a HandlerExceptionResolver, what the content of the model is, what binding errors there were, and other details. Th...
false
Other
spring-projects
spring-framework
972c01cbbd8c99c9c175519dbbae67751c567d86.json
Replace "blacklist" with alternative words See gh-25262
spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/CrossOriginAnnotationIntegrationTests.java
@@ -76,7 +76,7 @@ protected ApplicationContext initApplicationContext() { @Override protected RestTemplate initRestTemplate() { - // JDK default HTTP client blacklist headers like Origin + // JDK default HTTP client disallowed headers like Origin return new RestTemplate(new HttpComponentsClientHttpRequestFac...
true
Other
spring-projects
spring-framework
972c01cbbd8c99c9c175519dbbae67751c567d86.json
Replace "blacklist" with alternative words See gh-25262
spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/GlobalCorsConfigIntegrationTests.java
@@ -64,7 +64,7 @@ protected ApplicationContext initApplicationContext() { @Override protected RestTemplate initRestTemplate() { - // JDK default HTTP client blacklists headers like Origin + // JDK default HTTP client disallowed headers like Origin return new RestTemplate(new HttpComponentsClientHttpRequestFa...
true
Other
spring-projects
spring-framework
50391ad3d7a2f16de7466e1cd60b8ac49929fd06.json
Add @author tags for JDBC KeyHolder support See gh-24655
spring-jdbc/src/main/java/org/springframework/jdbc/support/GeneratedKeyHolder.java
@@ -35,6 +35,7 @@ * * @author Thomas Risberg * @author Juergen Hoeller + * @author Slawomir Dymitrow * @since 1.1 */ public class GeneratedKeyHolder implements KeyHolder {
true
Other
spring-projects
spring-framework
50391ad3d7a2f16de7466e1cd60b8ac49929fd06.json
Add @author tags for JDBC KeyHolder support See gh-24655
spring-jdbc/src/main/java/org/springframework/jdbc/support/KeyHolder.java
@@ -38,6 +38,7 @@ * * @author Thomas Risberg * @author Juergen Hoeller + * @author Slawomir Dymitrow * @since 1.1 * @see org.springframework.jdbc.core.JdbcTemplate * @see org.springframework.jdbc.object.SqlUpdate
true
Other
spring-projects
spring-framework
12f8cdd71571449a9d583f1ecfaa16d334a566a0.json
Update copyright year of changed files See gh-26673
spring-core/src/main/java/org/springframework/core/convert/TypeDescriptor.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2019 the original author or authors. + * Copyright 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
true
Other
spring-projects
spring-framework
12f8cdd71571449a9d583f1ecfaa16d334a566a0.json
Update copyright year of changed files See gh-26673
spring-core/src/test/java/org/springframework/core/env/JOptCommandLinePropertySourceTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2020 the original author or authors. + * Copyright 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
true
Other
spring-projects
spring-framework
6d4c0091b545e6dd4596b6856e957e90797365e5.json
Add application/*+xml to Jaxb2XmlEncoder Closes gh-26655
spring-web/src/main/java/org/springframework/http/codec/xml/Jaxb2XmlEncoder.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2019 the original author or authors. + * Copyright 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -39,6 +39,7 @@ import org.springframework.c...
true
Other
spring-projects
spring-framework
6d4c0091b545e6dd4596b6856e957e90797365e5.json
Add application/*+xml to Jaxb2XmlEncoder Closes gh-26655
spring-web/src/test/java/org/springframework/http/codec/xml/Jaxb2XmlEncoderTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2019 the original author or authors. + * Copyright 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,6 +37,7 @@ import static java.nio.cha...
true
Other
spring-projects
spring-framework
55aa8e914ed2e6808a7599842414152248cbe00c.json
Expose id from ClientHttpResponse Closes gh-26656
spring-web/src/main/java/org/springframework/http/client/reactive/ClientHttpResponse.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2019 the original author or authors. + * Copyright 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ import org.springframework.h...
true
Other
spring-projects
spring-framework
55aa8e914ed2e6808a7599842414152248cbe00c.json
Expose id from ClientHttpResponse Closes gh-26656
spring-web/src/main/java/org/springframework/http/client/reactive/ClientHttpResponseDecorator.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -50,6 +50,11 @@ public ClientHttpResponse ge...
true
Other
spring-projects
spring-framework
55aa8e914ed2e6808a7599842414152248cbe00c.json
Expose id from ClientHttpResponse Closes gh-26656
spring-web/src/main/java/org/springframework/http/client/reactive/ReactorClientHttpResponse.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2020 the original author or authors. + * Copyright 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,9 +37,11 @@ import org.springframework....
true
Other
spring-projects
spring-framework
55aa8e914ed2e6808a7599842414152248cbe00c.json
Expose id from ClientHttpResponse Closes gh-26656
spring-webflux/src/main/java/org/springframework/web/reactive/function/client/ExchangeFunctions.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2019 the original author or authors. + * Copyright 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -98,14 +98,14 @@ public Mono<ClientResponse>...
true
Other
spring-projects
spring-framework
61cdd647b6d140065a254c7924aa5177f3de4cf5.json
Fix image name for JDK 15 build
ci/pipeline.yml
@@ -259,7 +259,7 @@ jobs: params: { state: "pending", commit: "git-repo" } - do: - task: check-project - image: ci-image-jdk11 + image: ci-image-jdk15 file: git-repo/ci/tasks/check-project.yml <<: *build-project-task-params on_failure:
false
Other
spring-projects
spring-framework
48688b7b0455efc74b2998288242e01ba78f3f73.json
Pass getListenerId call on to delegate See gh-26638
spring-context/src/main/java/org/springframework/context/event/GenericApplicationListenerAdapter.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -64,6 +64,11 @@ public void onApplicationEve...
true
Other
spring-projects
spring-framework
48688b7b0455efc74b2998288242e01ba78f3f73.json
Pass getListenerId call on to delegate See gh-26638
spring-context/src/main/java/org/springframework/context/event/SourceFilteringListener.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,6 +74,11 @@ public void onApplicationEve...
true
Other
spring-projects
spring-framework
1ef8cad7bc49ec90630c19076cfe764b8765d5aa.json
Make use of Reactor Netty's ChannelOperationsId Closes gh-26649
build.gradle
@@ -28,7 +28,7 @@ configure(allprojects) { project -> imports { mavenBom "com.fasterxml.jackson:jackson-bom:2.12.2" mavenBom "io.netty:netty-bom:4.1.59.Final" - mavenBom "io.projectreactor:reactor-bom:2020.0.4" + mavenBom "io.projectreactor:reactor-bom:2020.0.5-SNAPSHOT" mavenBom "io.r2dbc:r2dbc-bom:...
true
Other
spring-projects
spring-framework
1ef8cad7bc49ec90630c19076cfe764b8765d5aa.json
Make use of Reactor Netty's ChannelOperationsId Closes gh-26649
spring-web/src/main/java/org/springframework/http/server/reactive/ReactorServerHttpRequest.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2020 the original author or authors. + * Copyright 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,15 +27,18 @@ import io.netty.handler.co...
true
Other
spring-projects
spring-framework
1ef8cad7bc49ec90630c19076cfe764b8765d5aa.json
Make use of Reactor Netty's ChannelOperationsId Closes gh-26649
spring-web/src/main/java/org/springframework/http/server/reactive/ReactorServerHttpResponse.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2020 the original author or authors. + * Copyright 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,6 +26,7 @@ import org.reactivestreams.P...
true
Other
spring-projects
spring-framework
9877a9e6b7d299dc32a447340bbbd0ee6a1076b5.json
Reduce memory consumption
spring-aop/src/main/java/org/springframework/aop/framework/autoproxy/AbstractAutoProxyCreator.java
@@ -508,7 +508,10 @@ protected Advisor[] buildAdvisors(@Nullable String beanName, @Nullable Object[] List<Object> allInterceptors = new ArrayList<>(); if (specificInterceptors != null) { - allInterceptors.addAll(Arrays.asList(specificInterceptors)); + if (specificInterceptors.length > 0) { + // specificI...
false
Other
spring-projects
spring-framework
d23a108e769ac30dba2afd2baf6802050f2a9b4b.json
Consolidate AsyncListener registration Previously we registered 3 AsyncListener's from the request, from the response, and from the Servlet adapter. After this change, only the Servlet adapter registers a listener and the others are delegated to. This consolidates the handling of AsyncListener events so that it's eas...
spring-web/src/main/java/org/springframework/http/server/reactive/ServletHttpHandlerAdapter.java
@@ -167,8 +167,12 @@ public void service(ServletRequest request, ServletResponse response) throws Ser asyncContext.setTimeout(-1); ServletServerHttpRequest httpRequest; + AsyncListener requestListener; + String logPrefix; try { httpRequest = createRequest(((HttpServletRequest) request), asyncContext); ...
true
Other
spring-projects
spring-framework
d23a108e769ac30dba2afd2baf6802050f2a9b4b.json
Consolidate AsyncListener registration Previously we registered 3 AsyncListener's from the request, from the response, and from the Servlet adapter. After this change, only the Servlet adapter registers a listener and the others are delegated to. This consolidates the handling of AsyncListener events so that it's eas...
spring-web/src/main/java/org/springframework/http/server/reactive/ServletServerHttpRequest.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2020 the original author or authors. + * Copyright 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -73,6 +73,9 @@ class ServletServerHttpReques...
true
Other
spring-projects
spring-framework
d23a108e769ac30dba2afd2baf6802050f2a9b4b.json
Consolidate AsyncListener registration Previously we registered 3 AsyncListener's from the request, from the response, and from the Servlet adapter. After this change, only the Servlet adapter registers a listener and the others are delegated to. This consolidates the handling of AsyncListener events so that it's eas...
spring-web/src/main/java/org/springframework/http/server/reactive/ServletServerHttpResponse.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2020 the original author or authors. + * Copyright 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -65,6 +65,9 @@ class ServletServerHttpRespon...
true
Other
spring-projects
spring-framework
1ee9223348c81c903a1d53d3378032beb16c3cbe.json
Add section of CI builds
README.md
@@ -25,6 +25,10 @@ See the [Micro-Benchmarks](https://github.com/spring-projects/spring-framework/w See the [Build from Source](https://github.com/spring-projects/spring-framework/wiki/Build-from-Source) Wiki page and the [CONTRIBUTING.md](CONTRIBUTING.md) file. +## Continuous Integration Builds + +Information reg...
false
Other
spring-projects
spring-framework
b61643b71a04fee5bb74d6bf1b35aae4125afb9e.json
Support UTF-16/UTF-32 in Jackson message converter This commit makes sure that we let Jackson deal with all the encodings that it supports, including UTF-16 and UTF-32. Closes gh-26627
spring-web/src/main/java/org/springframework/http/converter/json/AbstractJackson2HttpMessageConverter.java
@@ -357,7 +357,9 @@ private Object readJavaType(JavaType javaType, HttpInputMessage inputMessage) th ObjectMapper objectMapper = selectObjectMapper(javaType.getRawClass(), contentType); Assert.state(objectMapper != null, "No ObjectMapper for " + javaType); - boolean isUnicode = ENCODINGS.containsKey(charset.na...
false
Other
spring-projects
spring-framework
010b7375fc99f2bc9adf1cc0d21c8a62d5139d07.json
Fix typo in Javadoc
spring-webmvc/src/main/java/org/springframework/web/servlet/handler/MatchableHandlerMapping.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2020 the original author or authors. + * Copyright 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -46,7 +46,7 @@ default PathPatternParser get...
false
Other
spring-projects
spring-framework
0087578469dd7c7b3a638a37e8fda245de3b0506.json
Fix @EventListener example in reference manual Closes gh-26622
src/docs/asciidoc/core/core-beans.adoc
@@ -10724,15 +10724,15 @@ The following example shows how our notifier can be rewritten to be invoked only .Java ---- @EventListener(condition = "#blEvent.content == 'my-event'") - public void processBlockedListEvent(BlockedListEvent blockedListEvent) { + public void processBlockedListEvent(BlockedListEvent blEvent...
false
Other
spring-projects
spring-framework
48bd81341ffdee0bd510f4d4673722093c31f7b4.json
Add javadoc for body parameter See gh-26613
spring-web/src/main/java/org/springframework/http/ResponseEntity.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2020 the original author or authors. + * Copyright 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -237,8 +237,9 @@ public static BodyBuilder o...
false
Other
spring-projects
spring-framework
e9dc5160b989a2b2df29cfc8bc2a48830c9d8a97.json
Use correct log level See gh-23534
spring-websocket/src/main/java/org/springframework/web/socket/messaging/SubProtocolWebSocketHandler.java
@@ -360,7 +360,7 @@ public void handleMessage(Message<?> message) throws MessagingException { logger.debug("Terminating '" + session + "'", ex); } else if (logger.isWarnEnabled()) { - logger.debug("Terminating '" + session + "': " + ex.getMessage()); + logger.warn("Terminating '" + session + "':...
false
Other
spring-projects
spring-framework
f79cebd53dd3a945e527e33606858e9248fbe19e.json
Add Kotlin samples to RSocket documentation See gh-23147
src/docs/asciidoc/rsocket.adoc
@@ -192,6 +192,19 @@ This is the most basic way to connect with default settings: .connectWebSocket(URI.create("https://example.org:8080/rsocket")); ---- +[source,kotlin,indent=0,subs="verbatim,quotes",role="secondary"] +.Kotlin +---- + import org.springframework.messaging.rsocket.connectTcpAndAwait + import org....
false
Other
spring-projects
spring-framework
02decfd86462b213279e331da570f5881fb30179.json
Improve exclusions of checkstyleNoHttp task This commit adds the following exclusions to the source of the checkstyleNoHttp tasks for each project in the build and for buildSrc: - bin/ directory (created by Eclipse Buildship) - .settings directory (created by Eclipse) - .classpath file (created by Eclipse) - .p...
build.gradle
@@ -406,11 +406,15 @@ configure(rootProject) { nohttp { source.exclude "**/test-output/**" whitelistFile = project.file("src/nohttp/whitelist.lines") - def projectDirURI = project.projectDir.toURI() - allprojects.forEach { p -> - def outURI = p.file("out").toURI() - def pattern = projectDirURI.relativize(...
false
Other
spring-projects
spring-framework
955000699aa7675a698933057d607b4abd603d41.json
Add getRawStatusCode() to ExchangeResult Closes gh-23630
spring-test/src/main/java/org/springframework/mock/http/client/reactive/MockClientHttpResponse.java
@@ -64,7 +64,7 @@ public MockClientHttpResponse(HttpStatus status) { } public MockClientHttpResponse(int status) { - Assert.isTrue(status >= 100 && status < 600, "Status must be between 1xx and 5xx"); + Assert.isTrue(status > 99 && status < 1000, "Status must be between 100 and 999"); this.status = status; ...
true
Other
spring-projects
spring-framework
955000699aa7675a698933057d607b4abd603d41.json
Add getRawStatusCode() to ExchangeResult Closes gh-23630
spring-test/src/main/java/org/springframework/test/web/reactive/server/ExchangeResult.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -161,6 +161,15 @@ public HttpStatus getStatu...
true
Other
spring-projects
spring-framework
955000699aa7675a698933057d607b4abd603d41.json
Add getRawStatusCode() to ExchangeResult Closes gh-23630
spring-test/src/main/java/org/springframework/test/web/reactive/server/StatusAssertions.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -55,7 +55,7 @@ public WebTestClient.Response...
true
Other
spring-projects
spring-framework
955000699aa7675a698933057d607b4abd603d41.json
Add getRawStatusCode() to ExchangeResult Closes gh-23630
spring-test/src/test/java/org/springframework/test/web/reactive/server/StatusAssertionTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -62,6 +62,11 @@ public void isEqualTo() { ...
true
Other
spring-projects
spring-framework
38052e77b710a0fa373483bc6e55d68c26e6ec38.json
Fix bug in WebClientDataBufferAllocatingTests Prior to this commit, the parameterized DataBufferFactory was never actually used when setting up the WebClient for each test. This was due to an oversight when migrating from JUnit 4 to JUnit Jupiter. See: https://github.com/reactor/reactor-netty/issues/860 This commit ...
spring-webflux/src/test/java/org/springframework/web/reactive/function/client/WebClientDataBufferAllocatingTests.java
@@ -25,8 +25,10 @@ import io.netty.channel.ChannelOption; import okhttp3.mockwebserver.MockResponse; import okhttp3.mockwebserver.MockWebServer; +import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.AfterEach; -import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.BeforeAll; +import ...
false
Other
spring-projects
spring-framework
97026f1ec3ec834e932e2b60a32655e3505bd1a5.json
Fix ServerRequestExtensionsTests on Java 13 Closes gh-23677
spring-webmvc/src/test/kotlin/org/springframework/web/servlet/function/ServerRequestExtensionsTests.kt
@@ -40,7 +40,7 @@ class ServerRequestExtensionsTests { @Test fun `remoteAddressOrNull with value`() { - val remoteAddress = mockk<InetSocketAddress>() + val remoteAddress = InetSocketAddress(1234) every { request.remoteAddress() } returns Optional.of(remoteAddress) assertThat(remoteAddress).isEqualTo(requ...
false
Other
spring-projects
spring-framework
652bbdad2aa9dde7fb1444ab358dd467a1035dd2.json
Add reference documentation for WebMvc.fn This commit introduces reference documentation for WebMvc.fn, the functional web framework. Closes gh-23657
src/docs/asciidoc/web/webflux-functional.adoc
@@ -1,5 +1,6 @@ [[webflux-fn]] = Functional Endpoints +[.small]#<<web.adoc#webmvc-fn, Same as in Spring MVC>># Spring WebFlux includes WebFlux.fn, a lightweight functional programming model in which functions are used to route and handle requests and contracts are designed for immutability. @@ -11,6 +12,7 @@ the ...
true
Other
spring-projects
spring-framework
652bbdad2aa9dde7fb1444ab358dd467a1035dd2.json
Add reference documentation for WebMvc.fn This commit introduces reference documentation for WebMvc.fn, the functional web framework. Closes gh-23657
src/docs/asciidoc/web/webmvc-functional.adoc
@@ -0,0 +1,776 @@ +[[webmvc-fn]] += Functional Endpoints +[.small]#<<web-reactive.adoc#webflux-fn, Same as in Spring WebFlux>># + +Spring Web MVC includes WebMvc.fn, a lightweight functional programming model in which functions +are used to route and handle requests and contracts are designed for immutability. +It is a...
true
Other
spring-projects
spring-framework
652bbdad2aa9dde7fb1444ab358dd467a1035dd2.json
Add reference documentation for WebMvc.fn This commit introduces reference documentation for WebMvc.fn, the functional web framework. Closes gh-23657
src/docs/asciidoc/web/webmvc.adoc
@@ -3904,6 +3904,7 @@ performance if used extensively. See the {api-spring-framework}/web/bind/annotation/ControllerAdvice.html[`@ControllerAdvice`] javadoc for more details. +include::webmvc-functional.adoc[leveloffset=+1]
true
Other
spring-projects
spring-framework
e2baf7277bdfa8b4a4da34fb0f0853413bec1a8f.json
Use metadata slice Take a slice of the metadata if not using composite metadata to allow reading it multiple times. For composite metadata this is not an isuse as it is ensured by the underlying RSocket Java API.
spring-messaging/src/main/java/org/springframework/messaging/rsocket/DefaultMetadataExtractor.java
@@ -116,7 +116,7 @@ public Map<String, Object> extract(Payload payload, MimeType metadataMimeType) { } } else { - extractEntry(payload.metadata(), metadataMimeType.toString(), result); + extractEntry(payload.metadata().slice(), metadataMimeType.toString(), result); } return result; }
true
Other
spring-projects
spring-framework
e2baf7277bdfa8b4a4da34fb0f0853413bec1a8f.json
Use metadata slice Take a slice of the metadata if not using composite metadata to allow reading it multiple times. For composite metadata this is not an isuse as it is ensured by the underlying RSocket Java API.
spring-messaging/src/test/java/org/springframework/messaging/rsocket/DefaultMetadataExtractorTests.java
@@ -15,6 +15,7 @@ */ package org.springframework.messaging.rsocket; +import java.nio.charset.StandardCharsets; import java.time.Duration; import java.util.Collections; import java.util.Map; @@ -26,10 +27,14 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; +import org.springfram...
true
Other
spring-projects
spring-framework
0ae7154518e6e9a13a9fa9f53880913989d428c4.json
Fix checkstyle violation
src/docs/asciidoc/rsocket.adoc
@@ -50,7 +50,7 @@ transparently through RSocket across the network. === The Protocol One of the benefits of RSocket is that it has a well defined behavior on the wire and an -easy to read http://rsocket.io/docs/Protocol[specification] along with some protocol +easy to read https://rsocket.io/docs/Protocol[specifica...
false
Other
spring-projects
spring-framework
e11da64e9cb6aba8f451dc6ba3330dfdb7eac4b8.json
Fix obsolete link in Kotlin docs Closes gh-25192
src/docs/asciidoc/languages/kotlin.adoc
@@ -990,7 +990,7 @@ Kotlin and the Spring Framework: * https://kotlinlang.org/docs/reference/[Kotlin language reference] * https://slack.kotlinlang.org/[Kotlin Slack] (with a dedicated #spring channel) * https://stackoverflow.com/questions/tagged/spring+kotlin[Stackoverflow, with `spring` and `kotlin` tags] -* https...
false
Other
spring-projects
spring-framework
a61ab5d296757e8845d714bdfb9026911b29de14.json
Fix @since tags See gh-25186
integration-tests/src/test/java/org/springframework/aop/config/AopNamespaceHandlerAdviceOrderIntegrationTests.java
@@ -34,7 +34,7 @@ * AOP namespace. * * @author Sam Brannen - * @since 5.0.18 + * @since 5.2.7 * @see org.springframework.aop.framework.autoproxy.AspectJAutoProxyAdviceOrderIntegrationTests */ class AopNamespaceHandlerAdviceOrderIntegrationTests {
true
Other
spring-projects
spring-framework
a61ab5d296757e8845d714bdfb9026911b29de14.json
Fix @since tags See gh-25186
integration-tests/src/test/java/org/springframework/aop/framework/autoproxy/AspectJAutoProxyAdviceOrderIntegrationTests.java
@@ -42,7 +42,7 @@ * AspectJ auto-proxy support. * * @author Sam Brannen - * @since 5.0.18 + * @since 5.2.7 * @see org.springframework.aop.config.AopNamespaceHandlerAdviceOrderIntegrationTests */ class AspectJAutoProxyAdviceOrderIntegrationTests {
true
Other
spring-projects
spring-framework
0f0b1ffe0d830cac89a2a0b104de6ed9fe10a858.json
Use computeIfAbsent in ScriptFactoryPostProcessor
spring-context/src/main/java/org/springframework/scripting/support/ScriptFactoryPostProcessor.java
@@ -16,8 +16,8 @@ package org.springframework.scripting.support; -import java.util.HashMap; import java.util.Map; +import java.util.concurrent.ConcurrentHashMap; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; @@ -134,6 +134,7 @@ * @author Rob Harrop * @author Rick Eva...
false
Other
spring-projects
spring-framework
c0c3c01afd3cb756e56039720fdf30a39f3751c4.json
Fix race condition in WriteResultPublisher between subscription and error from the Publish Closes gh-25096
spring-web/src/main/java/org/springframework/http/server/reactive/WriteResultPublisher.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -182,6 +182,9 @@ void publishComplete(WriteR...
false
Other
spring-projects
spring-framework
955f77bf5d30d74e28fa7c3f61fddc45aff771c4.json
Add error message to MockServerHttpRequest Closes gh-25109
spring-test/src/main/java/org/springframework/mock/http/server/reactive/MockServerHttpRequest.java
@@ -232,6 +232,8 @@ public static BodyBuilder method(HttpMethod method, URI url) { * @return the created builder */ public static BodyBuilder method(HttpMethod method, String urlTemplate, Object... vars) { + Assert.notNull(method, "HttpMethod is required. If testing a custom HTTP method, " + + "please use t...
true
Other
spring-projects
spring-framework
955f77bf5d30d74e28fa7c3f61fddc45aff771c4.json
Add error message to MockServerHttpRequest Closes gh-25109
spring-web/src/testFixtures/java/org/springframework/web/testfixture/http/server/reactive/MockServerHttpRequest.java
@@ -232,6 +232,8 @@ public static BodyBuilder method(HttpMethod method, URI url) { * @return the created builder */ public static BodyBuilder method(HttpMethod method, String urlTemplate, Object... vars) { + Assert.notNull(method, "HttpMethod is required. If testing a custom HTTP method, " + + "please use t...
true
Other
spring-projects
spring-framework
9bf7ff23c02f68e492f377a0781eb607e7515440.json
Introduce EntityManager initialization callbacks JpaVendorAdapter.postProcessEntityManager and EntityManagerFactoryInfo.createNativeEntityManager SPI, plus convenient setEntityManagerInitializer configuration options. Closes gh-25125
spring-orm/src/main/java/org/springframework/orm/hibernate5/HibernateTransactionManager.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2019 the original author or authors. + * Copyright 2002-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -18,6 +18,7 @@ import java.sql.Connection...
true
Other
spring-projects
spring-framework
9bf7ff23c02f68e492f377a0781eb607e7515440.json
Introduce EntityManager initialization callbacks JpaVendorAdapter.postProcessEntityManager and EntityManagerFactoryInfo.createNativeEntityManager SPI, plus convenient setEntityManagerInitializer configuration options. Closes gh-25125
spring-orm/src/main/java/org/springframework/orm/jpa/AbstractEntityManagerFactoryBean.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -32,6 +32,7 @@ import java.util.Set; impor...
true
Other
spring-projects
spring-framework
9bf7ff23c02f68e492f377a0781eb607e7515440.json
Introduce EntityManager initialization callbacks JpaVendorAdapter.postProcessEntityManager and EntityManagerFactoryInfo.createNativeEntityManager SPI, plus convenient setEntityManagerInitializer configuration options. Closes gh-25125
spring-orm/src/main/java/org/springframework/orm/jpa/EntityManagerFactoryInfo.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,6 +16,8 @@ package org.springframewor...
true
Other
spring-projects
spring-framework
9bf7ff23c02f68e492f377a0781eb607e7515440.json
Introduce EntityManager initialization callbacks JpaVendorAdapter.postProcessEntityManager and EntityManagerFactoryInfo.createNativeEntityManager SPI, plus convenient setEntityManagerInitializer configuration options. Closes gh-25125
spring-orm/src/main/java/org/springframework/orm/jpa/ExtendedEntityManagerCreator.java
@@ -172,9 +172,7 @@ public static EntityManager createContainerManagedEntityManager( Assert.notNull(emf, "EntityManagerFactory must not be null"); if (emf instanceof EntityManagerFactoryInfo) { EntityManagerFactoryInfo emfInfo = (EntityManagerFactoryInfo) emf; - EntityManagerFactory nativeEmf = emfInfo.getN...
true
Other
spring-projects
spring-framework
9bf7ff23c02f68e492f377a0781eb607e7515440.json
Introduce EntityManager initialization callbacks JpaVendorAdapter.postProcessEntityManager and EntityManagerFactoryInfo.createNativeEntityManager SPI, plus convenient setEntityManagerInitializer configuration options. Closes gh-25125
spring-orm/src/main/java/org/springframework/orm/jpa/JpaTransactionManager.java
@@ -19,6 +19,7 @@ import java.util.HashMap; import java.util.Map; import java.util.Properties; +import java.util.function.Consumer; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; @@ -128,6 +129,9 @@ public class JpaTransactionManager extends AbstractPlatformTransactionMana...
true
Other
spring-projects
spring-framework
9bf7ff23c02f68e492f377a0781eb607e7515440.json
Introduce EntityManager initialization callbacks JpaVendorAdapter.postProcessEntityManager and EntityManagerFactoryInfo.createNativeEntityManager SPI, plus convenient setEntityManagerInitializer configuration options. Closes gh-25125
spring-orm/src/main/java/org/springframework/orm/jpa/JpaVendorAdapter.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -137,4 +137,14 @@ default Class<? extends En...
true
Other
spring-projects
spring-framework
9bf7ff23c02f68e492f377a0781eb607e7515440.json
Introduce EntityManager initialization callbacks JpaVendorAdapter.postProcessEntityManager and EntityManagerFactoryInfo.createNativeEntityManager SPI, plus convenient setEntityManagerInitializer configuration options. Closes gh-25125
spring-orm/src/main/java/org/springframework/orm/jpa/vendor/AbstractJpaVendorAdapter.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -160,4 +160,8 @@ public Class<? extends Enti...
true
Other
spring-projects
spring-framework
9bf7ff23c02f68e492f377a0781eb607e7515440.json
Introduce EntityManager initialization callbacks JpaVendorAdapter.postProcessEntityManager and EntityManagerFactoryInfo.createNativeEntityManager SPI, plus convenient setEntityManagerInitializer configuration options. Closes gh-25125
spring-orm/src/test/java/org/springframework/orm/jpa/support/PersistenceInjectionTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2019 the original author or authors. + * Copyright 2002-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -105,7 +105,7 @@ public void testPrivateVend...
true
Other
spring-projects
spring-framework
5392ac2e07c05d9b3a69a676703a8f8563d745cb.json
Add dependency on BouncyCastle for JDK 15+ With a recent upgrade to an early access build for JDK 15, ServerHttpsRequestIntegrationTests began failing since Netty's SelfSignedCertificate could not be properly initialized. This commit adds a test fixture dependency on BouncyCastle which is now needed by Netty's SelfSi...
build.gradle
@@ -207,6 +207,7 @@ configure(allprojects) { project -> } dependency "org.skyscreamer:jsonassert:1.5.0" dependency "com.jayway.jsonpath:json-path:2.4.0" + dependency "org.bouncycastle:bcpkix-jdk15on:1.65" dependencySet(group: 'org.apache.tiles', version: '3.0.8') { entry 'tiles-api'
true
Other
spring-projects
spring-framework
5392ac2e07c05d9b3a69a676703a8f8563d745cb.json
Add dependency on BouncyCastle for JDK 15+ With a recent upgrade to an early access build for JDK 15, ServerHttpsRequestIntegrationTests began failing since Netty's SelfSignedCertificate could not be properly initialized. This commit adds a test fixture dependency on BouncyCastle which is now needed by Netty's SelfSi...
spring-web/spring-web.gradle
@@ -83,4 +83,7 @@ dependencies { testFixturesImplementation("io.projectreactor:reactor-test") testFixturesImplementation("org.apache.taglibs:taglibs-standard-jstlel") testFixturesImplementation("org.assertj:assertj-core") + testFixturesImplementation("org.bouncycastle:bcpkix-jdk15on") { + because("needed by Nett...
true
Other
spring-projects
spring-framework
7902ae4c1f87b4d8c26fd729c054bab4d072c4b5.json
Change Gradle publication name for artifactory This commit switches to the default publication name considered by the artifactory plugin when it comes to publishing artifacts to the artifactory repository. See gh-23282
build.gradle
@@ -203,7 +203,7 @@ configure(rootProject) { publishing { publications { - springFramework(MavenPublication) { + mavenJava(MavenPublication) { artifact docsZip artifact schemaZip artifact distZip
true
Other
spring-projects
spring-framework
7902ae4c1f87b4d8c26fd729c054bab4d072c4b5.json
Change Gradle publication name for artifactory This commit switches to the default publication name considered by the artifactory plugin when it comes to publishing artifacts to the artifactory repository. See gh-23282
framework-bom/framework-bom.gradle
@@ -15,7 +15,7 @@ dependencies { publishing { publications { - springFramework(MavenPublication) { + mavenJava(MavenPublication) { artifactId = 'spring-framework-bom' from components.javaPlatform }
true