Hello Manuel,
I highly recommend that you switch over to using either SharedModelMap or PersistentModelMap. The APIs for these are very straight forward and much easier than writing JDBC java code coupled with SQL statements.
The difference between SharedModelMap and PersistentModelMap is that the former only stores data into memory and doesn't persist such as when JVM shuts down/restarts. The latter persists data to the actual Registry database and is not effected if JVM shuts down. Another important difference is that you can only store String values in the PersistentModelMap and not Java objects, which you can for SharedModelMap. Therefore, you may need to serialize the Java object prior to storing data for PersistentModelMap.
At a high level, these are the methods you will use
com.itko.lisa.vse.SharedModelMap.putObject(String namespace, String key, Object value)
ex: com.itko.lisa.vse.SharedModelMap.putObject("wsquery.company.com.namespace", "myKey", "myValue");
to get the value that you saved use this method:
com.itko.lisa.vse.SharedModelMap.getObject(String namespace, String key)
ex: Object value = com.itko.lisa.vse.SharedModelMap.getObject("wsquery.company.com.namespace", "myKey")
For PersistentModelMap, which is an interface implemented by the following class: com.itko.lisa.coordinator.TestRegistry
ex:
com.itko.lisa.coordinator.TestRegistry testRegistry = com.itko.lisa.test.Environment.getTestRegistry();
testRegistry.putMapValue("wsquery.company.com.namespace", "myKey", "myValue");
to get value, ex.:
String value = testRegistry.getMapValue("wsquery.company.com.namespace", "myKey");