try
{
SchemaContext schemaContext=new SchemaContext("D:\\project\\org.huihoo.workflow\\conf\\org.huihoo.workflow-schema.properties");
Store storeConfig=new Store("DriverManager","dbc:oracle:thin:@zosatapo:1521:org.huihoo.workflow","org.huihoo.workflow","org.huihoo.workflow","oracle.jdbc.driver.OracleDriver");
//SpiUserDatabaseImpl userDatabase=new SpiUserDatabaseImpl(schemaContext,storeConfig);
SpiUserDatabase userDatabase=DatabaseRegistry.getUserDatabase(storeConfig.getDriverClass());
userDatabase.setSchemaContext(schemaContext);
userDatabase.setStore(storeConfig);
userDatabase.start();
//System.err.println(userDatabase);
System.err.println(userDatabase.findParticipant("zosatapo"));
}
catch(WorkflowException ex)
{
ex.printStackTrace();
}