MSSQL driverName doesn't match in JdbcDriverDatabaseProviderFactory

Description

Under AO 1.1.4 MSSQL driver cannot be found.

The MSSQL driver name that the factory is expecting is sqlserver but driverNameExtractor.getDriverName(dataSource returns Microsoft JDBC Driver 4.2 for SQL Server

Environment

None

Testing Notes

Add notes...

Activity

Show:
Alex Courtis
November 24, 2015, 12:58 AM

(sigh) both 4.0 and 4.2 versions return the same string, with version replaced.

Microsoft maybe? Looking at what Hibernate does...

Alex Courtis
November 24, 2015, 1:54 AM

Hibernate doesn't seem to differentiate between JDBC drivers.

(fuckthisshit) I'm just going with Microsoft.

Releasing a hash for you now

Alex Courtis
November 24, 2015, 3:25 AM

Please test again with 1.1.5-af85210

It seems that the plugin is string matching the driver name, rather than driver class, as it was testing.

Updated the tests to use names.

Fixed

Assignee

Alex Courtis

Reporter

Scott Goodhew

Add-on Type

None

Team

None

CC

None

Risk factor

None

QA Kickoff Status

None

QA Demo Status

None

Story Points

0.5

Sprint

None

Fix versions

Affects versions

Priority

Blocker