Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ITable newTable = (ITable) databaseController.getDatabase().getTables().get(i);
- ConnectionInfo newConnectionInfo = new ConnectionInfo();
- PropertyBag boPropertyBag1 = new PropertyBag();
- boPropertyBag1.put("Server Type", "JDBC (JNDI)");
- boPropertyBag1.put("Database DLL", "crdb_jdbc.dll");
- boPropertyBag1.put("Database Class Name", "com.sybase.jdbc4.jdbc.SybDriver");
- boPropertyBag1.put("Use JDBC", "true");
- boPropertyBag1.put("Connection URL", "jdbc:sybase:Tds:" + serverAddress + ":2638");
- newConnectionInfo.setAttributes(boPropertyBag1);
- newConnectionInfo.setUserName("CV");
- newConnectionInfo.setPassword("1929");
- newConnectionInfo.setKind(ConnectionInfoKind.SQL);
- newTable.setConnectionInfo(newConnectionInfo);
- databaseController.setTableLocation(databaseController.getDatabase().getTables().get(i), newTable);
- boPropertyBag1.put("Server Type", "ODBC (ADO)");
- boPropertyBag1.put("Database DLL", "crdb_jdbc.dll");
- boPropertyBag1.put("Database Class Name", "ianywhere.ml.jdbcodbc.IDriver");
- boPropertyBag1.put("Use JDBC", "true");
- boPropertyBag1.put("Connection URL", "jdbc:odbc:DSN=DBRENT");
- Unexpected ValueType: ValueType=[255]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement