Fix driver class for PostgreSQL

This commit is contained in:
Stian Thorgersen 2017-01-10 07:16:29 +01:00
parent ffa2b17cf5
commit df2e8b2cca

View file

@ -80,7 +80,7 @@ example defined earlier in this chapter.
...
<drivers>
<driver name="postgresql" module="org.postgresql">
<xa-datasource-class>org.postgresql.Driver</xa-datasource-class>
<xa-datasource-class>org.postgresql.xa.PGXADataSource</xa-datasource-class>
</driver>
<driver name="h2" module="com.h2database.h2">
<xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>