Skip to content

Conversation

@XingY
Copy link
Contributor

@XingY XingY commented Sep 10, 2024

Rationale

There are a couple setObject functions that each takes a different set of params. PR #5805 modified all of those to call our own override version, which all end up calling the 2-parametere version of the util, if targetSqlType == Types.TIMESTAMP. This is not working well for null values (not sure why, but the old way uses the N param function for null values), see the following test failure.
ETLTest.testStoredProcTransforms

Related Pull Requests

Changes

  • don't use the 2 parametered setObject when value is null

@XingY XingY requested review from a team and labkey-adam September 10, 2024 01:12
@labkey-adam
Copy link
Contributor

@XingY thanks for tracking this down and fixing!

@XingY XingY merged commit 8649a61 into release24.7-SNAPSHOT Sep 10, 2024
@XingY XingY deleted the 24.7_fb_mssqlTimestampNull branch September 10, 2024 16:29
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.

4 participants