public class XMLResultSetFactorySQLDeveloperSupport extends XMLResultSetFactory
Example format:
Obtain data files via Oracle SQLDeveloper:
ResultSetFactory.Default| Modifier and Type | Field and Description |
|---|---|
protected String |
copyFileName
A copy from superclass.
|
static int |
ORACLE_SQLDEVELOPER_DIALECT
ID of the "dialect" the XML export feature of Oracle SQLDeveloper creates.
|
SQUIRREL_DIALECT, SYBASE_DIALECT| Constructor and Description |
|---|
XMLResultSetFactorySQLDeveloperSupport(File file) |
XMLResultSetFactorySQLDeveloperSupport(String fileName) |
| Modifier and Type | Method and Description |
|---|---|
MockResultSet |
create(String id)
Compared to
XMLResultSetFactory.create(String) this adds support for
ORACLE_SQLDEVELOPER_DIALECT and dispatches to super when
that XMLResultSetFactory.getDialect() is not matched. |
MockResultSet |
createSQLDeveloperResultSet(String id)
Return a MockResultSet with proper column names and rows based on the XML
Document. |
createSquirrelResultSet, createSybaseResultSet, getDialect, getTrim, getXMLFile, setDialect, setTrimpublic static final int ORACLE_SQLDEVELOPER_DIALECT
protected String copyFileName
public XMLResultSetFactorySQLDeveloperSupport(File file)
public XMLResultSetFactorySQLDeveloperSupport(String fileName)
public MockResultSet create(String id)
XMLResultSetFactory.create(String) this adds support for
ORACLE_SQLDEVELOPER_DIALECT and dispatches to super when
that XMLResultSetFactory.getDialect() is not matched.create in interface ResultSetFactorycreate in class XMLResultSetFactoryXMLResultSetFactory.setDialect(int)public MockResultSet createSQLDeveloperResultSet(String id)
Document.
Basically this is the same "dialect" as XMLResultSetFactory.SYBASE_DIALECT with the following changes:
Example format:
Document in the format Oracle SQL Developer creates.Copyright © 2003–2023. All rights reserved.