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
+19
View File
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<entity-mappings xmlns="http://www.hibernate.org/xsd/orm/mapping"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
version="7.0">
<entity class="com.ankurm.hibernatedemo.mappingstyle.MappingXmlNaturalIdEntity" access="FIELD">
<table name="mapping_xml_naturalid_widgets"/>
<attributes>
<id name="id">
<generated-value strategy="IDENTITY"/>
</id>
<natural-id mutable="false">
<basic name="sku">
<column name="sku" unique="true" nullable="false"/>
</basic>
</natural-id>
<basic name="name"/>
</attributes>
</entity>
</entity-mappings>