Skip to content

SQLJ Language Support

SQLJ Language Support for IntelliJ IDEA

Work with Java and embedded SQL together in IntelliJ IDEA. Complete host expressions, find Java errors directly in .sqlj files and navigate between Java callers and SQLJ declarations without waiting for translation. DB2-oriented SQL assistance fits alongside your existing build and runtime.

Get it on the JetBrains Marketplace Getting started

What you get

  • SQLJ files as first-class Java

    .sqlj files open as full Java: imports, members and call sites resolve without a translator run, errors highlight while you type, quick-fixes included.

  • Completion with schema awareness

    Completion for host expressions, iterator names and columns, including DB2 schema assistance when the IDE database tooling is connected.

  • Debugging across Java and SQLJ

    Set breakpoints in .sqlj sources, step through mixed call stacks, use watches, conditions and logpoints via source-map-aware Maven preparation.

  • Ready-to-run DB2 demo project

    The project wizard generates a Spring Boot ToDo application with a local DB2 container and a pre-registered IntelliJ data source to start from.

SQLJ in large projects

Without IDE support, the SQLJ parts of a large Java codebase are effectively invisible to the editor: unresolved references in Java callers, no quick-fixes for SQLJ imports, iterator and host variable names checked only late by the translator, and expensive manual refactoring across both languages. Type mismatches between iterator fields and database columns surface minutes later in the build, not while editing.

The plugin changes this in daily work. See SQLJ in large projects for a concrete before/after assessment, including what honestly remains with your translator, build and database pipeline.

Honest boundaries

The plugin supplies IDE assistance. The IBM SQLJ translator, JDBC/SQLJ runtime, database privileges and any required customization and binding remain part of your build and deployment. Schema assistance uses the IDE database tooling; the plugin does not independently validate every statement against a live database.

This is an independent plugin by Danny Reinhold, not an official IBM or JetBrains product, licensed under a commercial EULA. See pricing, licensing, legal notice and privacy. All documentation.