2026-12-04

What's new in Ujorm 3.0.8? Summary of changes since 3.0.3

A new version 3.0.8 is available. Five versions have been released since the last announcement, so here is a summary of all changes since version 3.0.3.

Attribute converters (3.0.6)

Ujorm supports the standard JPA AttributeConverter. A converter can be assigned to a single attribute by the @Convert annotation. With @Converter(autoApply = true) it applies to every attribute of its type. Enums now use the same mechanism, whether they are stored by name or by ordinal. An invalid declaration is reported as soon as the domain model is built.

Own annotations, Jakarta is optional (3.0.7)

New annotations @UEntity, @UTable, @UId, @UColumn, @UManyToOne, @UJoinColumn, @UTransient, @UEnumerated and @UConvert from the package org.ujorm.annotation. The jakarta.persistence library is therefore no longer required at runtime. The Jakarta annotations keep working unchanged.

GraalVM and a JRE without a compiler (3.0.6)

The new HandlerPrecompiler class creates the mapping helper classes at build time. An application can then run in a GraalVM native image or in a JRE that has no compiler.

SelectQuery improvements

  • filtering a foreign key by its relation object, without a JOIN (3.0.4)
  • SQL DELETE driven by a type-safe Criterion (3.0.4)
  • comparing two columns, e.g. MetaEmployee.name.whereEq(otherKey) (3.0.6)
  • SqlQuery.bind() converts a value by its attribute key (3.0.6)

Metamodel

  • The @Domain annotation generates a metamodel for classes that are not stored in a database too (3.0.4).
  • The Meta* type is an interface now, instead of an abstract class (3.0.7).

Markdown to HTML (3.0.8)

MarkdownToHtmlConverter in the ujo-web module supports a table of contents by the [TOC] line, Pandoc-style heading attributes and nested lists.

Fixes

  • a wrong primary key in the ON clause of a JOIN (3.0.4)
  • a comparison with NULL is rendered as IS NULL (3.0.6)
  • metamodel generation for a property without a setter and for a record with an excluded component (3.0.5)
  • a foreign key kept as a raw value, e.g. Long cityId (3.0.7)

Upgrade notes

  • If your class extends a Meta* type, change extends to implements.
  • The deprecated annotations of the package org.ujorm.orm.annot and the EnumMapper class were removed.
  • An entity needs a setter for every mapped property. Otherwise mark the property by @Transient.
<dependency>
    <groupId>org.ujorm</groupId>
    <artifactId>ujo-orm</artifactId>
    <version>3.0.8</version>
</dependency>

The full list of changes is here.

2026-07-24

UMindMap: Write Mind Maps as a Nested List

UMindMap is a lightweight static web application for capturing and organizing ideas without unnecessary complexity. It requires no installation or registration—just open it in any modern web browser. Mind maps are created intuitively using nested lists, while each node can optionally include notes written in Markdown. With a single click, the entire structure is rendered as a clear graphical mind map with all its details. Thanks to its simple text-based format, your data remains easy to read, portable, and fully under your control. Mind maps can also be shared easily without any server-side support—simply upload the application together with the data file to any static web server and append the data file name to the URL as a parameter.




2026-05-30

What's new in Ujorm 3.0.3?

A new version 3.0.3 is now available. The SelectQuery class fixes SQL INSERT statement generation when using a third chained relation combined with LEFT JOIN. The negation method for Criterion conditions has been fixed as well. The new version significantly speeds up INSERT operations in cases where retrieving the generated ID key is not required, which has a positive impact especially on PostgreSQL performance tests. The library now automatically loads the logging configuration from the ujorm-config.properties file, so SQL queries are printed to the terminal in JUnit tests without any additional setup.

The changelog is available here.

2026-05-15

Ujorm 3.0 is released

Today, the final version of Ujorm 3.0.0 was released, featuring a completely new ORM module for working with JavaBean and Record objects. The goal was a transparent solution with no additional dependencies, supporting type-safe construction of SQL statements.


Ujorm3 requires Java 17 or higher.

<dependencies>
    <dependency>
        <groupId>org.ujorm</groupId>
        <artifactId>ujo-core</artifactId>
        <version>3.0.0</version>
    </dependency>
    <dependency>
        <groupId>org.ujorm</groupId>
        <artifactId>ujo-orm</artifactId>
        <version>3.0.0</version>
    </dependency>
</dependencies>

More information is available on the project's homepage on GitHub:
  • https://github.com/pponec/ujorm/#-ujorm3-library




2026-03-23

Ujorm3 RC1 Released

 The first release candidate of the Ujorm3 ORM library has been released. It beats its competitors with its simplicity, transparent behavior, and low overhead. The code changes focused on improving performance and cleaning up the API.

Links:



Simplified API schema:


2026-03-08

Ujorm3 (a new lightweight ORM framework for JavaBeans and Records)

I have prepared a completely new implementation of a lightweight ORM in pure Java that works with JavaBean and Record objects. More details will follow gradually. For now, I am just attaching a link to the project's homepage:

https://github.com/pponec/ujorm/tree/ujorm3?tab=readme-ov-file#-ujorm3-framework

And also a link to the performance tests, which can be used as a reference for your own implementations:

https://github.com/pponec/orm-bencharks?tab=readme-ov-file#orm-benchmark

Comments and feedback are welcome :-).





2024-11-06

Ujorm release 2.26

 A new version of the Ujorm library version 2.26 was released today. The changes concern the ujo-web module in particular. The goal of the release was to completely remove the dependency on the servlet-api,

The ujo-web module can therefore be connected both to a project that uses the new servlet API specification 5 (and higher) as well as to a project that uses the older version 4. The module can now also be used to build HTML pages without depending on any version of the servlet , for example for compiling the HTML code of email messages. The module contains a new RContext class (name inspired by Servlet Request Context) that creates a wrapper for the servlet API, the implementation gets resources using Java reflection. I am attaching an example of practical use:




Maven dependency:
<dependency>
<groupId>org.ujorm</groupId>
<artifactId>ujo-web</artifactId>
<version>2.26</version>
</dependency>

The API of the module has undergone some changes, so some parts of the API version 2.26 are not backwards compatible.