public class SPSSDBAgent
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static SPSSDBAgent |
createInstance(java.lang.String strConnectionString,
java.lang.String strDriverName)
Creates instance of SPSSDBAgent.
|
boolean |
storeInstanceInfo(IDataSet objIDataSet)
Stores specified Dataset to Database.
|
public static SPSSDBAgent createInstance(java.lang.String strConnectionString, java.lang.String strDriverName) throws java.sql.SQLException, java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException
strConnectionString - Database Connection StringstrDriverName - Database driver fully qualified namejava.sql.SQLException - - thrown in case of database access error or other errors.java.lang.ClassNotFoundException - - thrown in case failure when an application tries to load in a class.java.lang.InstantiationException - - thrown in case failure when an application tries to create an instance of a class using the newInstance method in class Class, but the specified class object cannot be instantiated.java.lang.IllegalAccessException - - thrown in case failure when an application tries to reflectively create an instance (other than an array), set or get a field, or invoke a method, but the currently executing method does not have access to the definition of the specified class, field, method or constructor.public boolean storeInstanceInfo(IDataSet objIDataSet) throws java.sql.SQLException
objIDataSet - - instance of IDataSetjava.sql.SQLException - if there is database access error or other errors.