String tableName = "getCustomerResultSet"
String className = "JavaBeanConnectivityTest";
String tableName = "getCustomerResultSet"
try {
PropertyBag pbConnAttributes = new PropertyBag();
PropertyBag pbLogonProperties = new PropertyBag();
TableLinks requiredLink = new TableLinks();
pbLogonProperties.putStringValue("Java Bean Classes", className);
pbConnAttributes.putStringValue("QE_DatabaseType", "Java Beans Connectivity");
pbConnAttributes.putStringValue("Database DLL", "crdb_javabeans.dll");
pbConnAttributes.put("QE_LogonProperties", pbLogonProperties);
pbConnAttributes.putStringValue("QE_ServerDescription", className);
pbConnAttributes.putBooleanValue("QE_SQLDB", true);
IProcedure newTable = new Procedure();
newTable.setName(tableName);
newTable.getConnectionInfo().setKind(ConnectionInfoKind.CRQE);
newTable.getConnectionInfo().setAttributes(pbConnAttributes);
m_ClientDoc.getDatabaseController().addTable(newTable, requiredLink);
}
catch (ReportSDKServerException error) {
out.println(error.getServerError());
}|
Business Objects, an SAP company http://www.businessobjects.com/ Support services http://www.businessobjects.com/services/support/ Product Documentation on the Web http://support.businessobjects.com/documentation/ |