Skip to content

Commit

Permalink
JBPM-5116 Added com.edb driver handling to PersistenceUtil.useTransac…
Browse files Browse the repository at this point in the history
…tions() method. (kiegroup#467)
  • Loading branch information
baldimir authored and mswiderski committed May 24, 2016
1 parent e4c2f9e commit cb19e8c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ public static boolean useTransactions() {

// Postgresql has a "Large Object" api which REQUIRES the use of transactions
// since @Lob/byte array is actually stored in multiple tables.
if (databaseDriverClassName.startsWith("org.postgresql")) {
if (databaseDriverClassName.startsWith("org.postgresql") || databaseDriverClassName.startsWith("com.edb")) {
useTransactions = true;
}
return useTransactions;
Expand Down

0 comments on commit cb19e8c

Please sign in to comment.