
Fix SQLException No Suitable Driver Found for JDBC URL
Fix No suitable driver found by checking the driver jar is on the runtime classpath, the URL prefix is right and the registration survived packaging.
Entity mapping, lazy loading, the N+1 query and other ways JPA surprises you, with the SQL it actually runs.

Fix No suitable driver found by checking the driver jar is on the runtime classpath, the URL prefix is right and the registration survived packaging.

Disable spring.jpa.open-in-view safely: find lazy loads outside a transaction, fix them with fetch joins and DTO projections, and prove it with tests.

How Jakarta Transactions works: @Transactional, UserTransaction, two phase commit with XA resources, the cost of distributed transactions and alternatives.

Use JPA safely from JSF: where to put transactions, injecting EntityManager into CDI services, avoiding lazy loading errors and handling optimistic locking.

Read integrity violation errors for MySQL and PostgreSQL, tell unique, foreign key and not-null failures apart and handle them without losing the real bug.
We send one email when a new post is published. No spam.