litesoft
Diff Revisions
954
vs
955
for /trunk/Java/GWT/Server/src/org/litesoft/security/SecurityUserViewPoServerVoDataProvider.java
|
@@ -168,11 +168,11 @@ |
168 |
168 |
|
} |
169 |
169 |
|
|
170 |
170 |
|
private void initializeRealDB() { |
171 |
|
- |
ServerContext.get().getServerStore().set( DataStore.class, ServerStores.getMaster().get( DataStore.class ) ); // Master DS |
|
171 |
+ |
RequestContext.get().getServerStore().set( DataStore.class, ServerStores.getMaster().get( DataStore.class ) ); // Master DS |
172 |
172 |
|
} |
173 |
173 |
|
|
174 |
174 |
|
private void initializeDemoDB() { |
175 |
|
- |
ServerContext zContext = ServerContext.get(); |
|
175 |
+ |
RequestContext zContext = RequestContext.get(); |
176 |
176 |
|
DemoDataStoreManager.Struct zDemoDS = DemoDataStoreManager.getDemoDS( zContext.getContextID() ); // Demo DS |
177 |
177 |
|
zContext.getServerStore().set( DataStore.class, zDemoDS.getDataStore() ); |
178 |
178 |
|
if ( zDemoDS.isEmptyDemo() ) { |