Install and load
Run these commands in a Haybarn SQL session. The extension is available from the community repository.
INSTALL fusion_scanner FROM community;
LOAD fusion_scanner FROM community;
Using upstream DuckDB? Follow the maintainer’s installation instructions.
Usage example
The connection lives in a secret, so credentials stay out of SQL text
-- The connection lives in a secret, so credentials stay out of SQL text
-- and query history.
CREATE SECRET fusion (
TYPE oracle_fusion,
ENDPOINT 'https://<your-fusion-host>',
REPORT_PATH '/Custom/Financials/RP_ARB.xdo',
USERNAME '<user>',
PASSWORD '<password>'
);
SELECT * FROM oracle_fusion_query(
'SELECT currency_code, name FROM FND_CURRENCIES_TL WHERE rownum < 10'
);
-- Or attach it and query tables by name.
ATTACH 'fusion' AS f (TYPE oracle_fusion);
SELECT * FROM f.main.GL_JE_HEADERS LIMIT 10;
Provided by krokozyab. Not yet verified on Haybarn 2.0.0.
Sample data & setupAbout this extension
Oracle Fusion exposes no SQL endpoint. This extension reaches its database the way Oracle leaves open: a SELECT is wrapped in a SOAP runReport call to BI Publisher, a report runs it through dbms_xmlgen, and the rows come back as XML.
That detour requires a report deployed on the Fusion side — DM_ARB.xdm and RP_ARB.xdo, taking a p_sql parameter. The extension cannot work against a stock instance. The repository's README links the catalog archives, which live in the ofjdbc repository.
Project overview from the community descriptor.
Documentation and resources
Project and build details
- Repository
- krokozyab/ofquack
- License
- MIT
- Maintainers
- krokozyab
- Written in
- C++
- Build source
8a84de39955e- Build definition
- Community descriptor