allow folks to disable the JDBC database lock

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@427144 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
James Strachan 2006-07-31 15:37:07 +00:00
parent b3001f22b1
commit dd5c9e6e13
1 changed files with 8 additions and 0 deletions

View File

@ -159,6 +159,14 @@ public class DefaultPersistenceAdapterFactory extends DataSourceSupport implemen
jdbcPersistenceAdapter.setStatements(statements);
}
public boolean isUseDatabaseLock() {
return jdbcPersistenceAdapter.isUseDatabaseLock();
}
public void setUseDatabaseLock(boolean useDatabaseLock) {
jdbcPersistenceAdapter.setUseDatabaseLock(useDatabaseLock);
}
/**
* @throws IOException
*/