Skip to content

Commit

Permalink
must start new transaction when using ERXJDBCAdaptor before creating …
Browse files Browse the repository at this point in the history
…_dbupdater
  • Loading branch information
nur-sgaertner committed Jun 24, 2014
1 parent d8657b8 commit 0b49d00
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ public boolean _tryLock(EOAdaptorChannel channel, EOModel model, String lockOwne
}
catch (Exception e) {
channel.adaptorContext().rollbackTransaction();
channel.adaptorContext().beginTransaction();
String createTableStatement = dbUpdaterCreateStatement(model, adaptor);
if (createTableIfMissing) {
try {
Expand Down

0 comments on commit 0b49d00

Please sign in to comment.