Introduction
Recently, AWS added support for . To learn more, see the Aurora DSQL documentation on and uses Java 25 without any frameworks (like Spring Boot), Hikari database connection pool, no ORM framework like Hibernate (I use a plain JDBC), and AWS SAM. Everything else happens in the uses Java 25 without any frameworks (like Spring Boot), Hikari database connection pool, and the Hibernate ORM framework, and AWS SAM. Everything else happens in the like this:
public class ProductDao {
private static final SessionFactory sessionFactory= HibernateUtils.getSessionFactory();
public int createProduct(Product product) throws Exception {
var session= sessionFactory.openSession();
var transaction = session.beginTransaction();
session.persist(product);
transaction.commit();
return product.getId();
}
public Optional<Product> getProductById(int id) throws Exception {
var session= sessionFactory.openSession();
return Optional.ofNullable(session.find(Product.class, id));
}
}
Conclusion
AWS finally added much-appreciated support for and give my repositories a star!
Please also check out my website for more technical content and upcoming public speaking activities.
SOCIAL SHARE CARD GENERATOR