As the latest guide document at https://docs.aws.amazon.com/redshift/latest/mgmt/jdbc20-register-driver-class.html they are provide "Amazon Redshift" DataSource as "com.amazon.redshift.jdbc.DataSource" . I would like to update it into DatabaseDriver.java .

Comment From: snicoll

@lamtrinhdev thanks for the suggestion but com.amazon.redshift.jdbc.DataSource doesn't seem to be an XA DataSource and that's what the argument you changed is meant to convey. Have I missed something?

Comment From: lamtrinhdev

Dear @snicoll ,

You are right. Sorry for my mistake.

Thanks, Lam