Is Hibernate annoying?
Is Spring Data not working?

ds.q("""
select
'tree select ',
'dto generation ',
'comptime validation ',
'max performance ',
'null safety ',
'injection safety ',
'simplicity ',
'OUTSTANDING DEV EXP.'
from TrueSql where version = ?
""", 3).g.fetchOne(Victory.class);

TrueSql better solves your tasks!

TrueSql is the ultimate sql connector for Java. Its creation is motivated by the pain of thousands of engineers. It has no worthy rivals. It's more convenient, easier to learn, faster and more secure than any other solution. This makes TrueSql the only right choice.

Where to get TrueSql?
welcome img

Unique features

git icon Tree select

Implementing REST APIs and reports becomes trivial!

git icon SQL-injection safety

You can be 100% sure that there are no SQL injections!

Reflection API not used

Out of the box AOT support for Java, ease of debugging, ultimate performance

git icon DTO and mapper generation

Significant savings in development time, code base and unnecessary mental workload. Unified types on the backend and database side

git icon Support for all
JDBC capabilities

GeneratedKeys / returning, transactions, unfold parameters, update count, batching, stored procedures, extra type bindings, streaming. TrueSql is suitable for any Java project!

git icon Compile-time validation of queries, parameters, output columns

Makes working with the database safe and explicit. Speeds up the development process by eliminating permanent debugging

Ergonomics and API design

The entire API can be explored with the ‘.’ operator, everything is consistent and clear.

git icon Null-safety

Support for nullability of query parameters and output columns at API level. Conformance checking on the database side

Code generation

Eliminates unnecessary abstractions. Makes debugging easier. Saves a lot of code

git icon Support of several DBMS schemas within one Java module

Flexibility in application architecture

Comparison with non-competitors

Ease of use

Simplicity of implementation

Lines of code to write

(spring-pet-clinic-rest)

Performance relative to JDBC

API size

Architecture violation

TrueSql

Absolute

All documentation can be read in 12 minutes

10_000 LOC

400

0 losses

17 methods

No

Hibernate

600+

pages of documentation

1_330_000 LOC (x 133)

1700

Slowdown for 8 times or more

Who knows

Yes

Spring Data

Hibernate + Spring Data

sizeof (hibernate) + ???

1700

Slowdown from 2 to 8 times or more

Who cares

Yes

Where to get TrueSql?