Add Hibernate 7 batches 2-5: mapping styles, JPA annotations, natural IDs, @Immutable, stored procedures, in-memory test databases, JNDI mocking, proxies, associations, temporal mapping and named queries (Hibernate 7.4.5.Final + Spring Boot 4.1.1 + JDK 25)

This commit is contained in:
2026-09-06 10:30:19 +05:30
commit 5b97a85fe7
229 changed files with 17349 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
@NamedStoredProcedureQuery ProcEmployee.getTax(emp_id=1) execute()=false tax_amount=7500.00
EntityManager.createStoredProcedureQuery("GET_TAX") for emp 2, tax_amount=9000.00
Session.createStoredProcedureQuery("GET_TAX") for emp 1, tax_amount=7500.00
INOUT parameter 'sal' after ADJUST_SALARY(1000.00, 10.00) = 1100.00
ProcEmployee.listAll execute() returned false (HSQLDB misreports this as false)
getResultList() on the (mis-reported) result-set procedure threw: java.lang.IllegalStateException: Current CallableStatement was not a ResultSet, but getResultList was called
DTO-mapped getResultList() threw: java.lang.IllegalStateException: Current CallableStatement was not a ResultSet, but getResultList was called