I\'m using a Java batch application to call the service method of a legacy application via jni. This application consists of various c++ DLLs using embedded static sql.