Commit Graph

17168 Commits

Author SHA1 Message Date
Marco Belladelli 317334f14d HHH-16798 Fix check for supertype-treats in single table inheritance
Also, fix a small bug in special not-null discriminator predicate rendering
2023-08-11 15:12:39 +02:00
Marco Belladelli dbaf309050 HHH-16798 Add test for issue 2023-08-11 15:12:39 +02:00
Gavin King bbee6cd4aa improve generic typing of Hibernate.isPropertyInitialized() 2023-08-11 00:18:22 +02:00
Gavin King 09dd5daa73 HHH-16973 document optional 'from' clause and use it in @HQL examples 2023-08-10 20:20:02 +02:00
Christian Beikov 5b2d347b6f Setup TiDB for local testing 2023-08-10 11:42:03 +02:00
Sanne Grinovero e275d5820b HHH-17061 Cleanup of deprecated annotations and javadoc in PersistentClass 2023-08-10 11:32:04 +02:00
Sanne Grinovero 0252c16b4f HHH-17061 Remove deprecated method PersistentClass#getDiscriminatorColumnIterator 2023-08-10 11:32:04 +02:00
Sanne Grinovero aea84e3fdc HHH-17061 Remove deprecated method PersistentClass#getJoinIterator 2023-08-10 11:32:04 +02:00
Sanne Grinovero 6970ddbbbf HHH-17061 Remove unused custom collection: JoinedIterator 2023-08-10 11:32:04 +02:00
Sanne Grinovero 5754cd608c HHH-17061 Remove PersistentClass#getPropertyIterator 2023-08-10 11:32:04 +02:00
Sanne Grinovero 0a5d9f293d HHH-17061 Amend javadoc of PersistentClass#getProperties 2023-08-10 11:32:04 +02:00
Sanne Grinovero a1b899799a HHH-17061 Remove internal custom collection SingletonIterator 2023-08-10 11:32:04 +02:00
Sanne Grinovero ee85011c5d HHH-17061 Remove PersistentClass#getUnjoinedPropertyIterator() 2023-08-10 11:32:04 +02:00
Sanne Grinovero 58c3460f1f HHH-17061 Remove PersistentClass#getJoinClosureIterator 2023-08-10 11:32:04 +02:00
Sanne Grinovero c4b0a71722 HHH-17061 Remove PersistentClass#getKeyClosureIterator 2023-08-10 11:32:04 +02:00
Sanne Grinovero d9e70896cd HHH-17061 Remove PersistentClass#getTableClosureIterator 2023-08-10 11:32:04 +02:00
Sanne Grinovero e5b0e71dfa HHH-17061 Remove PersistentClass#getDeclaredPropertyIterator 2023-08-10 11:32:04 +02:00
Sanne Grinovero e922b90c32 HHH-17061 Remove getSubclassTableClosureIterator 2023-08-10 11:32:04 +02:00
Sanne Grinovero 1a4be30a70 HHH-17061 Remove getSubclassJoinClosureIterator 2023-08-10 11:32:04 +02:00
Sanne Grinovero be19f1547d HHH-17061 Remove getSubclassClosureIterator 2023-08-10 11:32:04 +02:00
Sanne Grinovero 4152233395 HHH-17061 Remove PersistentClass#getSubclassIterator 2023-08-10 11:32:04 +02:00
Sanne Grinovero f42766e505 HHH-17061 Remove getPropertyClosureIterator 2023-08-10 11:32:04 +02:00
Sanne Grinovero e2ca0b74ee HHH-17061 Remove PersistentClass#getSubclassPropertyClosureIterator 2023-08-10 11:32:04 +02:00
Sanne Grinovero ab77c82b8a HHH-17059 Remove deprecated method Table#getIndexIterator 2023-08-10 11:32:04 +02:00
Sanne Grinovero 86155f8705 HHH-17058 Remove PersistentClass#getReferenceablePropertyIterator 2023-08-10 11:32:04 +02:00
Sanne Grinovero 63473e99cd HHH-17057 Remove PersistentClass#getNonDuplicatedPropertyIterator 2023-08-10 11:32:04 +02:00
Sanne Grinovero 524e36ed87 HHH-17056 Deprecate SimpleValue#getConstraintColumnIterator() 2023-08-10 11:32:04 +02:00
Sanne Grinovero b602c9bddf HHH-17055 Remove deprecated method Value#getColumnIterator() 2023-08-10 11:32:04 +02:00
Sanne Grinovero 3b5d0d6bfb HHH-17066 Upgrade H2 to version 2.2.220 2023-08-10 10:53:51 +02:00
Gavin King c70b6946b1 mention Persistence.generateSchema() in doc 2023-08-09 19:58:03 +02:00
Marco Belladelli d3b6eaea53 HHH-16918 Unify column duplication checking logic under Value 2023-08-09 14:28:02 +02:00
Marco Belladelli bafc2ae88e HHH-16918 Retain any key and discriminator (insert/updat)ability 2023-08-09 14:28:02 +02:00
Marco Belladelli f5d806623e HHH-16918 Add test for issue 2023-08-09 14:28:02 +02:00
Marco Belladelli 6f96ce41d1 HHH-16755 Consider inherited properties when handling generics 2023-08-09 14:27:09 +02:00
Marco Belladelli 8ab82f1401 HHH-16755 Add test for issue 2023-08-09 14:27:09 +02:00
Gavin King 7a75a0734b get rid of warnings in JdbcTypeJavaClassMappings 2023-08-09 13:10:09 +02:00
marko-bekhta ae8b3f9a33 HHH-16990 Add support for more hibernate-specific features to XML mappings
- org.hibernate.annotations.Type
- org.hibernate.annotations.JdbcTypeCode
- org.hibernate.annotations.UuidGenerator
2023-08-09 11:01:43 +02:00
marko-bekhta 7edb7984a8 HHH-16990 Make marshalling adapters null-safe 2023-08-09 11:01:43 +02:00
Cedomir Igaly 93f1ed6e76 HHH-16591 - Replace thrre methods adaptToPreferredSqlTypeCodeForXXX with single adaptToPreferredSqlTypeCode 2023-08-09 09:33:27 +02:00
Cedomir Igaly 3f7e880f73 HHH-16591 - Fixing preferred SQL type code change handling for UUID as previously for Duration 2023-08-09 09:33:27 +02:00
Cedomir Igaly 448f902ced HHH-16591 Add a test case to check if PREFERRED_UUID_JDBC_TYPE can be overridden by annotations 2023-08-09 09:33:27 +02:00
Cedomir Igaly 3241c2d117 HHH-16591 - Handle preferred SQL type code change for Duration similar to Instant 2023-08-09 09:33:27 +02:00
Cedomir Igaly 280ff719bb HHH-16591 - See documentation 2.2.21 - "By default, Hibernate maps Duration to the NUMERIC SQL type." 2023-08-09 09:33:27 +02:00
Cedomir Igaly 049f24d67a HHH-16591 - Default JdbcType should be looked up by Duration class type, not by INTERVAL_SECOND 2023-08-09 09:33:27 +02:00
marko-bekhta c1ecd20850 HHH-16591 Update the docs to use `JdbcTypeCode` instead of `JdbcType` to override an SQL type for Duration 2023-08-09 09:33:27 +02:00
marko-bekhta 83d706d092 HHH-16591 Add a test case to check if PREFERRED_DURATION_JDBC_TYPE can be overridden by annotations 2023-08-09 09:33:27 +02:00
Christian Beikov 63eedee7a2 HHH-16759 When ComponentType is immutable, use instantiator instead of setting property values 2023-08-09 09:16:12 +02:00
Cedomir Igaly 24467aa86e HHH-16759 Added tests for transient and persistent entities 2023-08-09 09:16:12 +02:00
Gavin King 75f3ad9651 fix type in jdoc 2023-08-08 21:07:33 +02:00
Gavin King 14ba8f5c20 HHH-17046 make SchemaManager.truncateMappedObjects() repopulate table generators 2023-08-08 19:16:31 +02:00