整理初始化sql
This commit is contained in:
@@ -58,6 +58,7 @@ public abstract class JnaSdfAdaptor implements SdfApiAdapter {
|
||||
|
||||
PointerByReference phSessionHandle = new PointerByReference();
|
||||
sdfLibrary.SDF_OpenSession(device, phSessionHandle);
|
||||
Assert.notNull(phSessionHandle.getValue(), "SDF_OpenSession failed");
|
||||
|
||||
String key = UUID.randomUUID().toString();
|
||||
SESSION_HANDLE_CONTEXT.put(key, phSessionHandle.getValue());
|
||||
|
||||
Reference in New Issue
Block a user