JDBC Driver for Stripe

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.stripe.StripeDriver 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/14/20259326StripeAdded
  • Added new columns:
    • CheckoutSession view: DiscountsAggregate.
    • Invoices view: AutomaticTaxDisabledReason.
    • Payouts view: TraceIdStatus and TraceIdValue.
    • Refunds view: DestinationDetailsBlikNetworkDeclineCode and DestinationDetailsSwishNetworkDeclineCode.
    • SetupAttempts view: PaymentMethodDetailsKakaoPay and PaymentMethodDetailsKrCard.
    • SubscriptionSchedules view: DefaultSettingsAutomaticTaxDisabledReason.
    • Subscriptions view: AutomaticTaxDisabledReason.
    • TestClocks view: StatusDetailsAdvancingTargetFrozenTime.
    • Transactions view: MerchantDataTaxId.
  • Updated description and added enum values to the Type field in the TaxIds table:
    • Added enum values: am_tin, ao_tin, ba_tin, bb_tin, bs_tin, cd_nif, gn_nif, kh_tin, li_vat, me_pib, mk_vat, mr_nif, np_pan, sn_ninea, sr_fin, tj_tin, ug_tin, zm_tin, and zw_tin.
  • Added new entities:
    • Tables: BillingAlerts and CreditGrants.
    • Views: InvoiceRenderingTemplates.
07/11/20259323StripeAdded
  • Added support for the Scope connection property.

Removed
  • Removed the key=true attribute from the Id column in report specific views.
07/09/20259321StripeChanged
  • Changed the FeaturesAggregate column name to MarketingFeaturesAggregate in the Products table.

Removed
  • Removed the RenderingOptions column from the Invoices table.
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.
06/04/20259286StripeAdded
  • Added a Schema connection property with the allowed values of Stripe and StripeV2, where the default value is Stripe.
  • Added a new schema called StripeV2, which includes the following elements:
    • EventDestinations table
    • ThinEvents view
    • CreateBillingMeterEvent, CreateBillingMeterEventAdjustment, DisableEventDestination, EnableEventDestination, PingEventDestination, GetOAuthAccessToken, GetOAuthAuthorizationURL, and RefreshOAuthAccessToken stored procedures.
05/27/20259278GeneralRemoved
  • Removed the "Proprietary" enum option from ProxyAuthscheme.
05/16/20259267StripeAdded
  • Added the Meters and CryptoOnrampSessions tables.
  • Added the CryptoOnrampQuotes, InvoicePayments, and Mandates views.
  • Added the CreateBillingMeterEvent 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.
08/30/20249008StripeAdded
  • Added support for the ReportTypes view.
07/05/20248952StripeAdded
  • Added support for the CreditNoteLineItemsDiscounts view.
  • Added support for the TestClocks table.
07/02/20248949StripeAdded
  • Added the "SubscriptionsAggregate" column in the "Customers" table.
06/28/20248945StripeRemoved
  • Removed the Recipient column from the Cards table.
  • Removed the Destination column from the Charges table.
  • Removed the AttributesAggregate and Caption columns from the Products table.
  • Removed the Orders and Skus views since they were deprecated from the API.
06/22/20248939StripeRemoved
  • Removed the Auto AuthScheme option. The default value for the AuthScheme connection property is now APIKey.
06/20/20248937StripeAdded
  • Added the DataObject column to the Events view.
05/17/20248903StripeAdded
  • Added LiveMode column to AvailableBalance and PendingBalance tables.
  • Added 21 columns to the Charges table.
  • Added PaymentMethodOptions column to the CheckoutSession table.
  • Added 40 columns to the Events table.
  • Added 20 columns to the InvoiceLineItems table.
  • Added Lines column to the Invoices table.
  • Added 42 columns to the SubscriptionItems table.
  • Added 27 columns to the Subscriptions table.

Removed
  • Removed SourceAggregate column from the Charges table.
  • Removed Request and DataObject columns from the Events table.
05/14/20248900StripeAdded
  • Added the CreditNoteLineItems and CreditNotePreviewLineItems views.
05/09/20248895GeneralChanged
  • The ROUND function previously did not accept negative precision values. That feature has now been restored.
03/22/20248847StripeAdded
  • Added column DataObject for Events view.
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
02/09/20248805StripeAdded
  • Added views ApplicationFeeRefunds, ApplicationFees, Authorizations, Cardholders, IssuingCards, IssuingDisputes, Transactions, SetupAttempts, SetupIntents, FileLinks, SubscriptionSchedules, CheckoutSessionLineItems, CustomerBalanceTransactions, PaymentMethodDomains.
  • Added stored procedure DeleteCustomerDiscount and DeleteSubscriptionDiscount
  • Added CancelSubscription and ResumeSubscription stored procedure.
02/02/20248798StripeAdded
  • Added the FinalizeInvoice Stored Procedure.
02/01/20248797StripeAdded
  • Added the CancelPaymentIntent, CapturePaymentIntent and ConfirmPaymentIntent Stored Procedures.
01/31/20248796StripeAdded
  • Added the support for delete in Invoices table for deleting the draft invoices.
  • Added the VoidInvoice Stored Procedure.
01/19/20248784StripeChanged
  • Changed the data type of Amount, SourceTypeCard, SourceTypesBankAccount and SourceTypesBitcoinReceiver columns from int to long in AvailableBalance view.
  • Changed the data type of Available column from int to string in CashBalance view. As the value is returned as a hash instead of an integer.
12/22/20238756StripeChanged
  • PaymentIntent, Products and ShippingRates are now supported as tables.

Added
  • Added AutomaticPaymentMethodsAllowRedirects, PaymentMethodConfigurationDetailsId, PaymentMethodConfigurationDetailsParent columns in PaymentIntent table.
  • Added Confirm, OffSession, ErrorOnRequiresAction, Mandate, MandateDataCustomerAcceptanceType, MandateDataCustomerAcceptanceAcceptedAt, MandateDataCustomerAcceptanceOffline, MandateDataCustomerAcceptanceOnlineIPAddress, MandateDataCustomerAcceptanceOnlineUserAgent, RadarOptionsSession and ReturnURL pseudo-column in PaymentIntent table.
  • Added FeaturesAggregate column in Products table.
  • Added DeliveryEstimateMaximumUnit, DeliveryEstimateMaximumValue, DeliveryEstimateMinimumUnit, DeliveryEstimateMinimumValue and MetadataAggregate column in ShippingRates table.
12/21/20238755StripeAdded
  • Added SourcesAggregate, TaxAutomaticTax, TaxIPAddress, TaxCountry, TaxState and TaxSource column to Customers table.
  • Added TaxValidateLocation pseudo column to Customers table.

Changed
  • Changed the datatype of LiveMode column from integer to boolean in CustomerSubscriptions view.
  • Changed the key of CustomerSubscriptions view from CustomerId to Id.

Removed
  • Removed CustomerSources and CustomerTax views.
12/20/20238754StripeChanged
  • Changed the name of column SourceTypesFpx to SourceTypesBitcoinReceiver in AvailableBalance and PendingBalance views.
  • Changed the name of column SourceTypesCardAggregate to SourceTypesAggregate in PendingBalance view.
12/18/20238752StripeAdded
  • Added column CVC for Cards table

Removed
  • Removed column ResultLinksData from Reports
12/14/20238748StripeRemoved
  • Removed CustomerDiscounts and SubscriptionDiscounts views.

Added
  • Added DiscountId, DiscountCheckoutSession, DiscountCustomer, DiscountStart, DiscountEnd, DiscountInvoice, DiscountInvoiceItem, DiscountPromotionCode, DiscountSubscription, DiscountCouponCreatedAt, DiscountCouponCurrency, DiscountCouponName, DiscountCouponDuration, DiscountCouponDurationInMonths, DiscountCouponAmountOff, DiscountCouponPercentOff, DiscountCouponValid, DiscountCouponMaxRedemptions, DiscountCouponRedeemBy, DiscountCouponTimesRedeemed, DiscountCouponObject, DiscountCouponLiveMode, DiscountCouponMetadataAggregate columns in Subscriptions tables.
  • Added CouponId, DiscountCheckoutSession, DiscountCustomer, DiscountStart, DiscountEnd, DiscountInvoice, DiscountInvoiceItem, DiscountPromotionCode, DiscountSubscription, DiscountCouponCreatedAt, DiscountCouponCurrency, DiscountCouponName, DiscountCouponDuration, DiscountCouponDurationInMonths, DiscountCouponAmountOff, DiscountCouponPercentOff, DiscountCouponValid, DiscountCouponMaxRedemptions, DiscountCouponRedeemBy, DiscountCouponTimesRedeemed, DiscountCouponObject, DiscountCouponLiveMode, DiscountCouponMetadataAggregate columns in Customers tables
  • Added columns PriceDataProduct, PriceDataCurrency, PriceDataTaxBehaviour, PriceDataUnitAmount,PriceDataUnitAmountDecimal, TaxBehaviour, TaxCode for InvoiceItems table.
12/12/20238746StripeRemoved
  • Removed column Customer from Invoices table.
12/11/20238745StripeChanged
  • Updated column ResultLinksDataId column to ResultLinksDataAggregate of Reports view.
  • Changed the data type of InventoryValue column from Double to String in Skus view.

Removed
  • Removed columns ResultLinksDataObject, ResultLinksDataCreated, ResultLinksDataExpired, ResultLinksDataExpiresAt, ResultLinksDataFile, ResultLinksDataLivemode, ResultLinksDataMetaDataAggregate, ResultLinksDataUrl of Reports view
12/08/20238742StripeAdded
  • Added PauseCollectionResumesAt, PauseCollectionBehavior, PendingInvoiceItemIntervalCount, CancellationDetailsFeedback, CancellationDetailsComment, CancellationDetailsReason, Currency, TrialSettingsEndBehaviorPaymentMethod, OnBehalfOf columns in the Subscriptions table.

Removed
  • Removed AutomaticTaxStatus, PauseCollection, CancellationDetails columns from Subscriptions table.

Changed
  • Updated column name Start to StartDate in Subscriptions table.
12/07/20238741StripeAdded
  • Added PaymentMethodDetails column in the Disputes table.
  • Added Submit Psuedo column in the Disputes table.
12/06/20238740StripeChanged
  • Changed Description to Psuedo column as its gets updated in the Metadata field in the TransferReversals table.
12/05/20238739StripeRemoved
  • Removed RecurringAggregate and TransformQuantity columns from Prices Table.

Added
  • Added CustomUnitAmountMaximum, CustomUnitAmountMinimum, CustomUnitAmountPreset, TransformQuantityDivideBy, TransformQuantityRound, RecurringInterval, RecurringAggregateUsage, RecurringIntervalCount, RecurringUsageType columns in the Prices table.
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.
09/07/20238650StripeAdded
  • Added ApproveReview, AccpetQuote, CancelQuote, DownloadFile, DownloadQuote, FinalizeQuote, UploadFile, VoidCreditNotes stored procedures.
08/30/20238642StripeAdded
  • Added CashBalance, EarlyFraudWarning, Files, and Reviews views.
  • Added CheckoutSession, CreditNotes, Persons, PromotionCodes, Quotes, TaxRates, TopUps, UsageRecords, ValueListItems, and ValueLists tables.
08/01/20238613StripeAdded
  • Added EffectiveAt column in Invoices table.
  • Added CashAppBuyerId, CashAppCashTag, PaypalPayerId, PaypalPayerEmail columns and Enum type zip in the PaymentMethods table.
07/28/20238609StripeChanged
  • Added Created as server-side filterable column for Accounts table.
  • Added Date as server-side filterable column for InvoiceItems table.
06/20/20238571GeneralAdded
  • Added the new sys_lastresultinfo system table.
06/07/20238558StripeAdded
  • Added AmountShipping, ShippingDetails, ShippingCost columns in Invoices table.
  • Added CustomFields aggregate column in PaymentLinks table.
  • Added CancellationDetails column in Subscriptions table.
06/04/20238555StripeAdded
  • Added CustomerSources, CustomerSubscriptions, CustomerTax, InvoiceDiscounts, InvoiceItemDiscounts, InvoiceLineItemDiscounts child views.

Removed
  • Removed SourcesdataAggregate, TaxAggregate from Customers table and are now implemented as a child views.
05/24/20238544StripeAdded
  • Added update functionality in Disputes Table.
05/16/20238536StripeChanged
  • Updated the API version to 2022-11-15.

Removed
  • Removed SubscriptionsDataAggregate column from Customers table.
  • Removed Charges column from PaymentIntent table. As it was deprecated in the Stripe API, LatestCharge column will have the data of Charges column.
04/25/20238515GeneralRemoved
  • Removed support for the SELECT INTO CSV statement. The core code doesn't support it anymore.
02/01/20238432StripeAdded
  • Added PaymentMethods Table.
  • Added AttachPaymentMethodToCustomer and DetachPaymentMethodFromCustomer Stored Procedures.
01/12/20238412StripeAdded
  • Added PaymentIntent view.
01/03/20238403StripeAdded
  • Added ShippingRates and PaymentLinkLineItems view.
  • Added PaymentLinks table.
12/14/20228383GeneralChanged
  • Added the Default column to the sys_procedureparameters table.
12/06/20228375StripeChanged
  • The InvoiceLineItems table is renamed to InvoiceItems.

Added
  • Added InvoiceLineItems table that will lists the line items of an invoice.
09/30/20228308GeneralChanged
  • Added the IsPath column to the sys_procedureparameters table.
09/26/20228304StripeChanged
  • The Accounts table will now show only authenticated account details in case of OAuth.
08/16/20228263StripeAdded
  • Added the pseudo-column PendingInvoiceItemsBehavior to the Invoices table.
06/11/20228197JDBCChanged
  • The method GetJDBCMinorVersion() and GetJDBCMajorVersion() return 4.2 as the supported JDBC major / minor version.
05/10/20228165StripeAdded
  • Added columns from the 2020-08-27 schema.
04/29/20228154StripeChanged
  • Changed the data type of Type column on the Accounts table from boolean to string.
  • Changed the data type of Amount column on the Plans table from decimal to int.
04/28/20228153JDBCChanged
  • Removed support for JRE 1.6. JRE 1.8 and above is now required.
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
10/13/20217956StripeRemoved
  • Removed the BalanceHistory table, as it was deprecated in in the Stripe API.

Replacements
  • Use the BalanceTransactions table as a replacement. This is recommended by Stripe.
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/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.
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.

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