JDBC Driver for XML

Build 22.0.8462

Changelog

General Changes

DateBuild
Number
Change
Type
Description
12/14/20228383GeneralChanged
  • Added the Default column to the sys_procedureparameters table.
[8378] 12/09/20228378XMLAdded
  • Added the WriteToFile parameter for CreateSchema. This defaults to true and must be disabled to write the schema to FileStream or FileData.

Removed
  • Removed the FileLocation parameter from CreateSchema. The Location property must be used to set the output directory for created schemas.
[8339] 10/31/20228339XMLAdded
  • Added support the RefreshOAuth operation which can be used to refresh authentication on long-running queries. It is intended for use where a single script triggers multiple network requests to APIs that use OAuth. It may be invoked with
    <gt;amp;lt;api:call op="utiladoRefreshOAuth" /<gt;amp;gt;
    .
09/30/20228308GeneralChanged
  • Added the IsPath column to the sys_procedureparameters table.
09/14/20228292XMLAdded
  • Added support for the following file extensions: .tar,.tar.gz,.zip and .gz .Examples:URI=C:\\file_example.tar.gz\\file_example4.zip\\simple XML\\subfolder\\file_example5.zip.gz\\simple XML\\single_object.xml;URI=dropbox://DRIVERS-16547/file_example.tar.gz/file_example2.tar/single_object.xml.gz;
08/30/20228277XMLAdded
  • Added support for uploading server-side encrypted objects for Amazon S3 storage source via ServerSideEncryption connection property.
08/17/20228264GeneralChanged
  • We now support handling the keyword "COLLATE" as standard function name as well.
06/11/20228197jdbcChanged
  • The method GetJDBCMinorVersion() and GetJDBCMajorVersion() return 4.2 as the supported JDBC major / minor version.
05/27/20228182XMLAdded
  • Added ConnectionType connection property to determine the storage type of specified URI.
04/28/20228153jdbcChanged
  • Removed support for JRE 1.6. JRE 1.8 and above is now required.
03/15/20228109XMLAdded
  • Added support for using JWT with generic http:// sources. Previously it was only available for specific types of sources like gdrive://. Custom JWT is currently only supported for authorization grants, not client credentials.
03/10/20228104XMLAdded
  • Added support for Apache HDFS (webhdfs://) as a storage source.
03/09/ [8103] 20228103XMLChanged
  • Changed the default method for submitting client_credentials grants with OAuth. Before, client_credentials would submit OAuthClientId and OAuthClientSecret using the HTTP Authorization header. Now the OAuthPasswordGrantType controls this setting and it defaults to OAuthPasswordGrantType=Post. The previous behavior is still available by setting OAuthPasswordGrantType=Basic.
02/25/20228091jdbcChanged
  • The method DatabaseMetaData.getTypeInfo() now returns all the data types the driver supports. Previously it was returning only a portion of the data types. The returns types include: tinyint, smallint, int, bigint, float, double, numeric, decimal, bit, date, datetime, time, varchar, binary, uuid.
02/24/20228090jdbcChanged
  • Correct the return value of method DatabaseMetaData.supportsOuterJoins(), it used to return the wrong value.
02/16/20228082XMLAdded
  • Added support for the XMLFormat property which can be set to XML or XMLTable. XMLTable is a new format which allows column names and values to be stored on separate elements, instead of the usual behavior where the element name determines the column name. Useful for generic table layouts where element names are generic and the actual column name is on an attribute or other element.
01/13/20228048XMLAdded
  • Added support for IBM Cloud Object Storage (ibmobjectstorage://) as a storage source.
01/07/ [8042] 20228042XMLAdded
  • Added support the sleep operation which can be used to add delays to table operations. This is intended for use with async APIs built around polling. It may be invoked with
    <gt;amp;lt;api:call op="utiladoSleep?timeout=x" /<gt;amp;gt;
    where x is the delay in seconds.
10/27/20217970jdbcChanged
  • Support for JDK 17
10/07/20217950XMLAdded
  • Added support for excluding files based on the ExcludeFiles connection property.
  • Added support for datetime filters in IncludeFiles and ExcludeFiles connection properties. We currently support CreatedDate and ModifiedDate. Ex:
    ExcludeFiles="TXT,CreatedDate<='2020-11-26T07:39:34-05:00'" 
    ExcludeFiles="TXT,ModifiedDate<=DATETIMEFROMPARTS(2020, 11, 26, 7, 40, 50, 000)"
    ExcludeFiles="ModifiedDate>=DATETIMEFROMPARTS(2020, 11, 26, 7, 40, 49, 000),ModifiedDate<=CURRENT_TIMESTAMP()" 
  • Only the following storage sources will have support for filtering by CreatedDate:
    • Box (box://)
    • GCloudStorage (gs://)
    • GoogleDriveStorageSource (gdrive://)
    • OneDrive (onedrive://)
    • SharePoint (sp://)
    • SharePointREST (sprest://)
09/12/20217925jdbcRemoved
  • Removed IS_READONLY, IS_KEY, NUMERIC_PRECISION, DECIMAL_DIGITS 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/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 vs te predicate. Ie: 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. Ie: WHERE col > L_LAST_MONTH(). This will continue to resolve to the same values that previously were calculated in the criteria. Note that the "L_" prefix will only work in the predicate - it not available for the projection.
07/08/20217859GeneralAdded
  • Added the TCP Logging Module for the logging information happening on the TCP wire protocol. The transport bytes that are incoming and ongoing will be logged at verbosity=5.
06/24/20217845XMLAdded
  • Added support for the GOOGLEJSONBLOB JWT certificate type. This works like the existing GOOGLEJSON certificate type except that the certificate is provided as JSON text instead of as a file path.
06/08/20217829XMLAdded
  • Added support for the AzureServicePrinciple authentication scheme, which will support both using an OAuthClientSecret, or alternatively using a JWT cert.
06/05/20217826XMLAdded
  • Added support to authenticate submitting JWT certs instead of the OAuthClientSecret for the AzureAD authentication scheme.
04/23/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/23/20217783XMLDeprecated
  • SSODomain will not be used anymore for OKTA, OneLogin and ADFS. Instead, Domain should be specified.
  • The AzureAccount connection property is deprecated. Instead, AzureStorageAccount should be used.
04/16/20217776GeneralAdded
  • Non-conditional updates between two columns is now available to all drivers. For example: UPDATE Table SET Col1=Col2

Changed
  • Reduced the length to 255 for varchar primary key and foreign key columns.
  • Updated implicit and metadata caching to improve performance and support for multiple connections. Old metadata caches are not compatible - you would need to generate new metadata caches if you are currently using CacheMetadata.
  • Updated index naming convention to avoid duplicates
  • Updated and standardized Getting Started connection help.
  • Added the Advanced Features section to the help of all drivers.
  • Categorized connection property listings in the help for all editions.
04/15 /20217775GeneralChanged
  • Kerberos authentication is updated to use TCP by default, but will fall back to UDP if a TCP connection cannot be established
03/26/20217755XMLChanged
  • Updated the way default table names are computed so that the file name is taken The provider will now consistently use the following values when naming the table that uses the root XPath. In order: - The value of the roottablename input attribute, if given. - The value of the TableName connection property, if given. This is a new property for XML and its functonality is the same as the JSON property of the same name. - The filename of either the MetadataDiscoveryURI, or the first URI if that is not provided. The filename does not include the extension. If there is no URI, or the filename is empty (e.g. "/home/user/.xml"), or the URI is for HTTP/HTTPS then the URI is ignored. - The value "XMLData".
  • This change does not apply when the connection is in backwards compatibility mode.
12/21/20207660XMLAdded
  • Added support for reporting special types for aggregates. If the user opts in via SupportNativeDataType and are using JDBC, then the driver will report XML as the type name for aggregate columns (nlike JSON there is no XMLArray / XMLObject distinction)

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8462