Skip to content

Commit

Permalink
Merge pull request #31280 from gsmet/31261_bump_mssql_jdbc_to_12.2.0
Browse files Browse the repository at this point in the history
Bump SQL Server JDBC driver to 12.2.0
  • Loading branch information
gsmet authored Feb 19, 2023
2 parents 658a8c8 + 0bea14c commit f250859
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bom/application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
<postgresql-jdbc.version>42.5.3</postgresql-jdbc.version>
<mariadb-jdbc.version>3.1.2</mariadb-jdbc.version>
<mysql-jdbc.version>8.0.30</mysql-jdbc.version>
<mssql-jdbc.version>11.2.3.jre11</mssql-jdbc.version>
<mssql-jdbc.version>12.2.0.jre11</mssql-jdbc.version>
<adal4j.version>1.6.7</adal4j.version>
<oracle-jdbc.version>21.5.0.0</oracle-jdbc.version>
<derby-jdbc.version>10.14.2.0</derby-jdbc.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,12 @@

import com.microsoft.sqlserver.jdbc.SQLServerException;
import com.microsoft.sqlserver.jdbc.SQLServerStatement;
import com.microsoft.sqlserver.jdbc.SqlAuthenticationToken;
import com.oracle.svm.core.AlwaysInline;
import com.oracle.svm.core.annotate.Delete;
import com.oracle.svm.core.annotate.Substitute;
import com.oracle.svm.core.annotate.TargetClass;

@TargetClass(className = "com.microsoft.sqlserver.jdbc.SqlFedAuthToken")
final class QuarkusSqlFedAuthToken {

}

@TargetClass(className = "com.microsoft.sqlserver.jdbc.SQLServerConnection", innerClass = "SqlFedAuthInfo")
final class QuarkusSqlFedAuthInfo {

Expand All @@ -32,7 +28,7 @@ final class QuarkusSqlParameter {
final class QuarkusSQLServerConnection {

@Substitute
private QuarkusSqlFedAuthToken getFedAuthToken(QuarkusSqlFedAuthInfo fedAuthInfo) {
private SqlAuthenticationToken getFedAuthToken(QuarkusSqlFedAuthInfo fedAuthInfo) {
throw new IllegalStateException("Quarkus does not support Active Directory based authentication");
}

Expand Down

0 comments on commit f250859

Please sign in to comment.