DBMSMetadata { public java.io.Reader getSourceCode(SourceObject sourceObject) throws SQLException { return getSourceCode(sourceObject.getType(), sourceObject.getName(), sourceObject.getSchema()); } DBMSMetadata(Connection c);  DBMSMetadata(String user, String password, DBURI dbURI);  DBMSMetadata(Properties properties, DBURI dbURI);  DBMSMetadata(DBURI dbURI); Connection getConnection(); java.io.Reader getSourceCode(SourceObject sourceObject); java.io.Reader getSourceCode(String objectType, String name, String schema); List<SourceObject> getSourceObjectList(); List<SourceObject> getSourceObjectList(List<String> languages, List<String> schemas,
            List<String> sourceCodeTypes, List<String> sourceCodeNames);  }
@Test public void testGetSourceCode() throws Exception { System.out.println("getSourceCode"); String objectType = "TABLE"; String name = "EMP"; String schema = "SCOTT"; System.out.println("dbURI.driverClass==" + dbURI.getDriverClass()); System.out.println("dbURI.URL==" + dbURI.getURL()); System.out.println("dbURI.getDBType.getProperties()==" + dbURI.getDbType().getProperties()); System.out.println("dbURI.getDBType.getSourceCodeReturnType()==" + dbURI.getDbType().getSourceCodeReturnType()); System.out.println("dbURI.getDBType.getProperties()==" + dbURI.getDbType().getProperties().getProperty("getSourceCodeStatement")); DBMSMetadata instance = new DBMSMetadata(dbURI); Reader expResult = null; Reader result = instance.getSourceCode(objectType, name, schema); String resultString = getStringFromReader(result); System.out.println("getSourceCode()==\"" + resultString); }