Skip to content

Conversation

@DEllingsworth
Copy link
Contributor

MS Access OLE DB provider cannot handle DateTime parameters with sub-second precision. This fix truncates milliseconds from DateTime values before sending them to the database.

  • Added DateTime truncation in MSAccessDatabaseProvider.MapParameterValue()
  • Added regression test to verify the fix

Fixes #736

MS Access OLE DB provider cannot handle DateTime parameters with
sub-second precision. This fix truncates milliseconds from DateTime
values before sending them to the database.

- Added DateTime truncation in MSAccessDatabaseProvider.MapParameterValue()
- Added regression test to verify the fix

Fixes CollaboratingPlatypus#736
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MS Access OLE DB: DateTime parameters with milliseconds cause "Data type mismatch" error

1 participant