JDBC Driver for SendGrid

Build 25.0.9434

Changelog

General Changes

DateBuild
Number
Change
Type
Description
10/06/20259410GeneralAdded
  • Support for parsing datetime formats using ".S" and ",S" for milliseconds and nanoseconds.
10/01/20259405JDBCAdded
  • Added the following methods to the cdata.jdbc.sendgrid.SendGridDriver class. If you pass these methods an exception with no error records, an InvalidArgumentException is thrown.
    • containsErrorSource: Returns true if the exception contains an error record for the provided source name, or false if otherwise.
    • getErrorCodeFromSource: Returns the numeric error code from the error record with the given source, or -1 if there is no error record from that source.
    • containsErrorCode: Returns true if the exception contains an error record with the provided error code, or false otherwise.
    • findErrorProperty: Returns the value of the property with the given name, or null if no property with that name is defined.
    • formatErrorRecords: Returns a string containing all the exception's error records. Includes the messages, codes, properties, and error location for each record.
09/12/20259386GeneralAdded
  • Added the IsInsertable, IsUpdateable, and IsDeleteable columns to the sys_tables table.
09/10/20259384GeneralChanged
  • All columns in statically defined Views are now reported as read-only.
09/03/20259377GeneralChanged
  • Corrected the behavior when IN criteria with NULL values are used in the projection part. It now returns NULL instead of 0. For example, "NULL IN (1,2)" returns "NULL".
09/01/20259375GeneralAdded
  • Added support for using the CAST function with infinity values. This function can cast "inf" and "-inf" to DOUBLE, FLOAT, or REAL.
08/21/20259364GeneralChanged
  • Report behavior change:
    • Fixed inconsistent string value comparisons in non-table queries.
    • For example, "SELECT 'A' = 'a'" previously returned false, but it now returns true.
08/13/20259356GeneralChanged
  • Changed the maximum number of pages held in memory from 15 to 5 for the page providers to decrease heap usage.
07/18/20259330SendGridChanged
  • In the NMCContacts view, changed the datatype of the ListId column from integer to UUID and the datatype of the SegmentID column from integer to string.
07/16/20259328SendGridAdded
  • Added the IsPartnerSSO, IsSSO, and IsUnified columns to the Teammates table in the NMC schema.
  • Added the Type column to the Users table in the NMC schema.
  • Added the GeneratePlainContent and Subject columns to the Designs table in the NMC schema.
  • Added the NMCSegmentsContacts view to the NMC schema.
  • Added the IsPartnerSSO, IsSSO, and IsUnified columns to the Teammates table in the Legacy schema.
  • Added the Type column to the Users table in the Legacy schema.
06/25/20259307GeneralRemoved
  • Removed the "ADLS Gen 1" value from the ConnectionType property.
06/20/20259302GeneralAdded
  • Created the following functions:
    • TEXT_ENCODE: encodes a string into a different charset (UTF8 → UTF7 and returns a binary array as the result).
    • TEXT_DECODE: takes a binary array and decodes it back into a string when provided the charset.
    • BASE64_ENCODE: takes a binary array and encodes it as a base64 string (varchar).
    • BASE64_DECODE: takes a base 64-encoded string and decodes it into a binary array.
06/18/20259300GeneralChanged
  • The internal code for exception handling has been refactored. Exception messages returned during certain error conditions may now have different wording or formatting.
05/27/20259278GeneralRemoved
  • Removed the "Proprietary" enum option from ProxyAuthscheme.
03/17/20259207SendGridAdded
  • Added Subusers view and GetScopes stored procedure.
02/15/20259177GeneralAdded
  • Added support for converting unsigned integer types to the nearest signed data type that has enough precision to hold the unsigned value.This is done for JDBC only because it does not have support for unsigned data types.
11/27/20249097GeneralAdded
  • Added ThreadId to LogModule output. Logfile lines now include the Thread ID associated with the action being performed.
05/31/20248917SendGridAdded
  • Added two views: MailSettings and PartnerSettings.
  • Added an Update operation for the Users table.

Removed
  • Removed the EmailCategoryStatsSums view.
05/24/20248910SendGridChanged
  • In the NMCSingleSends table, changed the name of the IpPool column to EmailConfigIpPool.

Added
  • In the NMCSingleSends table, added 12 new columns: Categories, EmailConfigCustomUnsubscribeUrlIpPool, EmailConfigEditor, EmailConfigGeneratePlainContent, EmailConfigHtmlContent, EmailConfigPlainContent, EmailConfigSenderId, EmailConfigSubject, EmailConfigSuppressionGroupId, SendToListIds, SendToSegmentIds, and SendToAll.
05/21/20248907SendGridDeprecated
  • The following deprecated columns have been removed from the SingleSends table in the New Marketing Campaigns data model: SenderId, CustomUnsubscribeUrl, SuppressionGroupId, and TemplateId.
05/09/20248895GeneralChanged
  • The ROUND function previously did not accept negative precision values. That feature has now been restored.
03/15/20248840GeneralAdded
  • Created a new SQL function called STRING_COMPARE that provides java's String.compare() ability to SQL queries. Returns a number representative of the compared value of two strings
12/19/20238753SendGridAdded
  • Added AttachmentFilename, AttachmentContent and Attachments columns in SendMail Stored Procedure in both Legacy and NMC Schemas.
  • Added SendMail2 Stored Procedure in both Legacy and NMC Schemas.
11/29/20238733GeneralChanged
  • The ROUND function doesn't accept the negative precision values anymore.

Changed
  • The returning types of the FDMonth, FDQuarter, FDWeek, LDMonth, LDQuarter, LDWeek functions are changed from Timestamp to Date.
  • The return type of the ABS function will be consistent with the parameter value type.
11/28/20238732GeneralAdded
  • Added the HMACSHA256 formatter to allow for secrets to be decoded if it is in base64 format
10/27/20238700JDBCChanged
  • Added support for Connection.abort() method.
06/20/20238571GeneralAdded
  • Added the new sys_lastresultinfo system table.
04/25/20238515GeneralRemoved
  • Removed support for the SELECT INTO CSV statement. The core code doesn't support it anymore.
12/14/20228383GeneralChanged
  • Added the Default column to the sys_procedureparameters table.
09/30/20228308GeneralChanged
  • Added the IsPath column to the sys_procedureparameters table.
09/21/20228299SendGridAdded
  • Added Content as an input parameter to support input streams in the ImportMarketingContacts stored procedure.
  • Added the FileStream parameter to support output streams in DownloadCampaignAutomationStats stored procedure.
  • Added the FileData output parameter and Encoding input parameter to print the response in the DownloadCampaignAutomationStats stored procedure.
06/15/20228201SendGridRemoved
  • Removed the AdvancedStats view.

Replacements
  • Replaced the AdvancedStats view with the StatsByLocation, StatsByClient, StatsByDevice, StatsByBrowser, and StatsByMailboxProvider views.
06/11/20228197JDBCChanged
  • The method GetJDBCMinorVersion() and GetJDBCMajorVersion() return 4.2 as the supported JDBC major / minor version.
06/10/20228196SendGridChanged
  • Changed the data model into two separate schemas, NMC and Legacy. NMC is the default schema.
06/08/20228194SendGridAdded
  • The Blocks table has been added.
04/28/20228153JDBCChanged
  • Removed support for JRE 1.6. JRE 1.8 and above is now required.
03/10/20228104SendGridChanged
  • Changed the IncludeCustomFields connection property default value from false to true.
02/25/20228091JDBCChanged
  • The method DatabaseMetaData.getTypeInfo() now returns all of the data types that the driver supports. Previously, it was returning only a portion of the data types. The types include: tinyint, smallint, int, bigint, float, double, numeric, decimal, bit, date, datetime, time, varchar, binary, uuid.
02/24/20228090JDBCChanged
  • Corrected the return value of method DatabaseMetaData.supportsOuterJoins(), which used to return an incorrect value.
10/27/20217970JDBCChanged
  • Added support for JDK 17
09/12/20217925JDBCRemoved
  • Removed the IS_READONLY, IS_KEY, NUMERIC_PRECISION, and DECIMAL_DIGITS columns from DatabaseMetadata.GetColumns(), as they are not part of the JDBC Specification. This information is still available via other metadata calls.
09/02/20217915GeneralAdded
  • Added support for the STRING_SPLIT table-valued function in the CROSS APPLY clause.
08/27/20217909SendGridAdded
  • The Events column has been added to the Messages table.
  • The MessageEvents view has been added.
08/07/20217889GeneralChanged
  • Added the KeySeq column to the sys_foreignkeys table.
08/06/20217888GeneralChanged
  • Added the new sys_primarykeys system table.
07/23/20217874GeneralChanged
  • Updated the Literal Function Names for relative date/datetime functions. Previously, relative date/datetime functions resolved to a different value when used in the projection as opposed to the predicate. For example: SELECT LAST_MONTH() AS lm, Col FROM Table WHERE Col > LAST_MONTH(). Formerly, the two LAST_MONTH() methods would resolve to different datetimes. Now, they will match.
  • As a replacement for the previous behavior, the relative date/datetime functions in the criteria may have an 'L' appended to them. For example: WHERE col > L_LAST_MONTH(). This will continue to resolve to the same values that were previously calculated in the criteria. Note that the "L_" prefix will only work in the predicate - it not available for the projection.
06/14/20217835SendGridChanged
  • Changed the default span of AdvancedStats, CategoryStats, GlobalStats, and SubuserStats views from 2016-01-01 till actual date to last 1 year.
04/25/20217785GeneralAdded
  • Added support for handling client side formulas during insert / update. For example: UPDATE Table SET Col1 = CONCAT(Col1, " - ", Col2) WHERE Col2 LIKE 'A%'
04/23/20217783GeneralChanged
  • Updated how display sizes are determined for varchar primary key and foreign key columns so they will match the reported length of the column.
04/16/20217776GeneralAdded
  • Non-conditional updates between two columns is now available to all drivers. For example: UPDATE Table SET Col1=Col2
04/16/20217776GeneralChanged
  • Reduced the length to 255 for varchar primary key and foreign key columns.

Changed
  • Updated index naming convention to avoid duplicates.
04/16/20217776GeneralChanged
  • Updated implicit and metadata caching to improve performance and support for multiple connections. Old metadata caches are not compatible - you need to generate new metadata caches if you are currently using CacheMetadata.
02/15/20217716SendGridAdded
  • A new column 'NextSampleUpdate' has been added to the NMCSegments Table.
  • ImportMarketingContacts and GetImportContactsStatus stored procedures.

Removed
  • Basic authentication as sendgrid only supports APIKey authentication now.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434