[BUG] Driver returns SQL State longer than 5 characters #956
Labels
Bug
A bug in the driver. A high priority item that one can expect to be addressed quickly.
Projects
Driver version
7.2.1
SQL Server version
N/A
Client Operating System
N/A
JAVA/JVM version
1.8, 11
Table schema
N/A
Problem description
The
EXECUTE AS USER = 'DOMAIN/USER'
can for example result in SQL stateS00011
(6 chars!) and the messageCould not obtain information about Windows NT group/user '[USER_NAME]', error code 0x4bc.
This was reported to us by a customer: See flyway/flyway#2275
We believe the driver's behavior is incorrect in this case as it violates the SQLSTATE standard.
The text was updated successfully, but these errors were encountered: