Skip to content

Commit

Permalink
PGXADataSource breaks ingest, use PGPoolingDataSource IQSS#7418
Browse files Browse the repository at this point in the history
  • Loading branch information
pdurbin committed Dec 1, 2020
1 parent 9155c07 commit 06dbef1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
@Singleton
@DataSourceDefinition(
name = "java:app/jdbc/dataverse",
// Using PGXADataSource instead of deprecated PGPoolingDataSource
className = "org.postgresql.xa.PGXADataSource",
// Note that PGPoolingDataSource is deprecated. PGXADataSource breaks ingest.
className = "org.postgresql.ds.PGPoolingDataSource",
user = "${MPCONFIG=dataverse.db.user}",
password = "${MPCONFIG=dataverse.db.password}",
serverName = "${MPCONFIG=dataverse.db.host}",
Expand Down

0 comments on commit 06dbef1

Please sign in to comment.