Last active
June 3, 2019 06:53
-
-
Save mp911de/3421fa37f71f2032239b3fa60507ebeb to your computer and use it in GitHub Desktop.
Related to: https://github.com/netty/netty/issues/9216
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>repro</groupId> | |
<artifactId>repro</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<dependencies> | |
<dependency> | |
<groupId>io.r2dbc</groupId> | |
<artifactId>r2dbc-mssql</artifactId> | |
<version>0.8.0.M8</version> | |
</dependency> | |
</dependencies> | |
<repositories> | |
<repository> | |
<id>spring-libs-milestone</id> | |
<url>https://repo.spring.io/libs-milestone</url> | |
</repository> | |
</repositories> | |
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import io.r2dbc.mssql.MssqlConnectionConfiguration; | |
import io.r2dbc.mssql.MssqlConnectionFactory; | |
public class Reproducer { | |
public static void main(String[] args) { | |
MssqlConnectionConfiguration config = MssqlConnectionConfiguration.builder() | |
.host("abcbookstore.database.windows.net") | |
.database("foo") | |
.username("foo") | |
.password("foo") | |
.build(); | |
MssqlConnectionFactory cf = new MssqlConnectionFactory(config); | |
cf.create().block(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment