Set LockTimeout from configuration

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@592909 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Pinaki Poddar 2007-11-07 21:36:50 +00:00
parent 10de9ba4eb
commit c96881a214
1 changed files with 1 additions and 0 deletions

View File

@ -118,6 +118,7 @@ public class FetchConfigurationImpl
OpenJPAConfiguration conf = ctx.getConfiguration();
setFetchBatchSize(conf.getFetchBatchSize());
setFlushBeforeQueries(conf.getFlushBeforeQueriesConstant());
setLockTimeout(conf.getLockTimeout());
clearFetchGroups();
addFetchGroups(Arrays.asList(conf.getFetchGroupsList()));
setMaxFetchDepth(conf.getMaxFetchDepth());