- Embedded SQL (EXEC SQL) support for PostgreSQL — a full port of Open COBOL ESQL 4J into
cobjandlibcobj.jar. COBOL programs can now runEXEC SQL ... END-EXECstatements directly, with no separate precompiler or runtime. (#847)- Supports
CONNECT/DISCONNECT,INSERT/UPDATE/DELETE/SELECT INTO, cursors (DECLARE/OPEN/FETCH/CLOSE, includingWHERE CURRENT OF), dynamic SQL (PREPARE/EXECUTE), andCOMMIT/ROLLBACK. - Host variables, the SQLCA, packed/binary/national/Japanese data types, configurable bulk fetch, and prepared-statement caching.
- The generated Java is dramatically simpler and more readable than before: each
EXEC SQLstatement compiles to a single high-level runtime call passing host variables as a typed array, instead of the verbose low-level helper calls of the original implementation. - See the ESQL Guide and examples.
- Supports
- Improved Javadoc comments for the
data,common, anduser_utilmodules of libcobj. (#846, #841, #836)