Consus (Java)
discontinuedby Konstantin Knizhnik · since 2004 · also known as Consus ORDBMS, Consus (Knizhnik)
Konstantin Knizhnik's pure-Java embedded object-relational database with JDBC and an SQL-89 dialect.
discontinued. Unmaintained for many years; the last releases (1.11 for Java, 1.06 for .NET) remain downloadable from garret.ru.
Overview
This Consus is a small embedded object-relational database written in pure Java by Konstantin Knizhnik, the author of FastDB, GigaBASE and Perst and later a PostgreSQL contributor. It keeps the whole database in a single file, exposes a JDBC interface, and adds object-oriented extensions: tables can be defined implicitly from Java classes, rows map directly to objects, table inheritance enables polymorphic queries, and records can reference each other for navigation without joins. Queries use JSQL, a non-procedural language covering most of SQL-89, and can return objects rather than tuples; BLOBs and CLOBs are streamed. The last published versions are 1.11 for JDK 1.2 and later and 1.06 of a .NET port, and the project has been static for well over a decade. New Java projects should use H2, HSQLDB, Derby or Knizhnik's own Perst.
Strengths & trade-offs
Strengths
- +Single-file embedded database with a standard JDBC interface
- +Maps Java classes to tables, with inheritance and polymorphic queries
- +Direct object references allow navigation without joins
Trade-offs
- −Abandoned; targets JDK 1.2-era Java
- −Only partial SQL-89 support
- −Tiny user base and no maintained documentation
Great for
- +Maintaining old Java applications that embed it
- +Studying object-relational mapping built into a database engine
Think twice for
- −New Java projects
- −Concurrent multi-user servers
Capabilities
Native or official first-party support · 2 of 25 tracked
Scale & consistency
- Comfortable data size
- Small · ≤ 100 GB
- Horizontal scaling
- None
- Multi-region
- No
- Transactions
- Full ACID
- Consistency
- Strong
- Schema
- Strict
- Architecture
- Embedded
- Query languages
- JSQL, SQL
Deployment
Ecosystem
Alternatives to Consus (Java)
Fast pure-Java SQL engine for embedded, in-memory and test databases, with compatibility modes.
consus-java vs h2 →Long-running pure-Java SQL database with strong SQL:2023 coverage, used embedded and in LibreOffice.
consus-java vs hsqldb →Pure-Java embedded SQL database from the Cloudscape lineage, retired by Apache in 2025.
consus-java vs apache-derby →McObject's embedded object database for Java and .NET, dual-licensed GPL or commercial.
consus-java vs perst →Commercial object database for Java that implements JPA and JDO natively, with no ORM layer.
consus-java vs objectdb →French integrated database and app-development platform for desktop, client/server and web apps.
consus-java vs 4d →Consus (Java) FAQ
What is Consus (Java)?
Consus (Java) is a relational database by Konstantin Knizhnik, first released in 2004. This Consus is a small embedded object-relational database written in pure Java by Konstantin Knizhnik, the author of FastDB, GigaBASE and Perst and later a PostgreSQL contributor. It keeps the whole database in a single file, exposes a JDBC interface, and adds object-oriented extensions: tables can be defined implicitly from Java classes, rows map directly to objects, table inheritance enables polymorphic queries, and records can reference each other for navigation without joins. Queries use JSQL, a non-procedural language covering most of SQL-89, and can return objects rather than tuples; BLOBs and CLOBs are streamed. The last published versions are 1.11 for JDK 1.2 and later and 1.06 of a .NET port, and the project has been static for well over a decade. New Java projects should use H2, HSQLDB, Derby or Knizhnik's own Perst.
Is Consus (Java) open source?
Yes. Consus (Java) is open source. License: BSD-style license.
Does Consus (Java) support ACID transactions?
Yes. Consus (Java) supports full ACID transactions, with strong consistency.
Does Consus (Java) scale horizontally?
Consus (Java) does not scale horizontally; it runs on a single node, so you scale it up rather than out. It is comfortable at small scale (≤ 100 GB).
How can I run Consus (Java)?
You can self-host it and embed it in your application.
What is Consus (Java) best for?
Consus (Java) is a strong fit for maintaining old Java applications that embed it and studying object-relational mapping built into a database engine. Think twice for new Java projects.
What are the best alternatives to Consus (Java)?
Common alternatives to Consus (Java) include H2 Database, HyperSQL (HSQLDB), Apache Derby, Perst and ObjectDB. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.
Is Consus (Java) still maintained?
Consus (Java) is discontinued. Unmaintained for many years; the last releases (1.11 for Java, 1.06 for .NET) remain downloadable from garret.ru.
How popular is Consus (Java)?
Consus (Java) has little measurable public adoption today, so it ranks near the bottom of the WhichDB Score.

