Commit Graph

16405 Commits

Author SHA1 Message Date
Andrea Boriero 5a49d04255 HHH-16479 Generic enum in @MappedSuperclass fails with java.lang.IllegalArgumentException: Named type [...] did not implement BasicType nor UserType 2023-04-24 14:24:51 +02:00
Andrea Boriero 962d483684 HHH-16479 Add test for issue 2023-04-24 14:24:51 +02:00
Gavin 642959dc75 clean up two SQL queries in OracleDialect 2023-04-24 12:49:11 +02:00
Gavin 106dc33a18 proof of concept for auto-detection of Oracle MAX_STRING_SIZE 2023-04-24 12:49:11 +02:00
Gavin 3aa47ad423 fix test 2023-04-22 22:53:03 +02:00
Gavin b2883fd9a2 log highlighted SQL from tests 2023-04-22 20:48:27 +02:00
Gavin 19e2f1ce22 HHH-16501 allow referencedColumnName to column mapped by superclass of target entity 2023-04-22 20:40:52 +02:00
Marco Belladelli 6a03676c9f HHH-16362 Don't set fetched on nested non-terminal attribute joins 2023-04-21 16:27:34 +02:00
Marco Belladelli ff4bcafd52 HHH-16362 Add test for issue 2023-04-21 16:27:34 +02:00
Marco Belladelli 0addc00d10 HHH-16347 Disable alias and positional order-by items in OVER and WITHIN GROUP clauses 2023-04-21 16:24:08 +02:00
Marco Belladelli 1b3209f38a HHH-16347 Add test for issue 2023-04-21 16:24:08 +02:00
Andrea Boriero add6d84310 HHH-16471 Entities serialized in QueryKey causes java.lang.ClassCastException 2023-04-21 13:55:08 +02:00
Andrea Boriero b1a4890c3e HHH-16471 Add test for issue 2023-04-21 13:55:08 +02:00
Gavin 2c16e25a71 add some examples of interpretation of column Length 2023-04-21 11:57:15 +02:00
Andrea Boriero 6c69c45af8 HHH-16477 LAZY @ManyToOne may again break EAGER @ManyToOne with Bytecode Enhancement 2023-04-20 11:38:27 +02:00
Tomas Cerskus 98e12e541f HHH-16477 LAZY @ManyToOne may again break EAGER @ManyToOne with Bytecode Enhancement 2023-04-20 11:38:27 +02:00
Andrea Boriero 9b85afc88c HHH-16457 Values returned in ValueAccess.getValues() and getValue(…) not alphabetical for Java records 2023-04-20 11:33:53 +02:00
Andrea Boriero 6e4b5cc0a0 HHH-16457 Add test for issue 2023-04-20 11:33:53 +02:00
Andrea Boriero 6188eeb681 HHH-16493 OneToManyCollectionPart doesn't disassemble properly embeddable IdClass 2023-04-20 11:28:51 +02:00
Andrea Boriero 60b209e6ee HHH-16493 Add test for issue 2023-04-20 11:28:51 +02:00
Steve Ebersole 959858f8bc HHH-16481 - Add a new WrapperArrayHandling for enabled JPA compliance 2023-04-19 23:43:11 -04:00
Steve Ebersole d7c5db47f6 HHH-16482 - Convert Functions in StandardConverters to static methods that can be used as method references 2023-04-19 23:29:19 -04:00
Jan Schatteman 85a636c856 HHH-16438 - Apply some suggestions from Christian's code review
Co-authored-by: Christian Beikov <christian.beikov@gmail.com>
2023-04-19 18:52:42 +02:00
Jan Schatteman 6b21d436ce HHH-16438 - fix for issue
- move the discriminator condition from the where clause to the join clause
- add another test to JoinWithSingleTableInheritanceTest

Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-04-19 18:52:42 +02:00
Jan Schatteman 11012ea2c8 HHH-16438 - Add test for issue where left outer joins do not work with single table polymorphic entities because of the discriminator in the where clause
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-04-19 18:52:42 +02:00
Gavin 0674300d87 fix outdated section of user guide relating to Dialects 2023-04-18 18:01:13 +02:00
Christian Beikov 19da8f3e7c HHH-16468 Simplify embeddable key handling 2023-04-17 15:31:53 +02:00
Andrea Boriero d95b800d15 HHH-16468 Don't create fetch for _identifierMapper anymore 2023-04-17 15:31:53 +02:00
Christian Beikov 9a12cae280 HHH-16468 Don't create fetch for _identifierMapper anymore 2023-04-17 15:31:53 +02:00
Gavin cb413fe134 squash 3 warnings by adding wildcard 2023-04-16 13:40:21 +02:00
Gavin 61696189f5 minor changes 2023-04-15 16:19:36 +02:00
Marco Belladelli 98f8e7ecfa Fix fragile tests 2023-04-14 13:55:33 +02:00
Marco Belladelli 83478f5cf6
Fix GenerateDescriptorTask 2023-04-14 11:45:50 +02:00
Marco Belladelli a034550bc2
Make ReleaseFamilyIdentifier serializable 2023-04-14 11:23:52 +02:00
Marco Belladelli 787eaf5f60 HHH-16349 Correct entity valued path selectable expansion 2023-04-14 08:57:27 +02:00
Marco Belladelli 54619fd536 HHH-16349 Add test for issue 2023-04-14 08:57:27 +02:00
Marco Belladelli a69dec8ecf HHH-16459 Fix inline dirty checking with generics and inheritance 2023-04-14 08:45:13 +02:00
Yoann Rodière 634d590e72 HHH-16459 Test bytecode-enhanced inline dirty tracking for generic associations from mapped superclasses 2023-04-14 08:45:13 +02:00
Yoann Rodière 33ed78df5b HHH-16459 Expand existing test of generic associations to ToOne associations 2023-04-14 08:45:13 +02:00
Jan Schatteman 81d1d95e4c Add @EmbeddableInstantiator, @EmbeddableInstantiatorRegistration and @EmbeddableInstantiatorRegistrations to the annotations chapter of the user guide
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-04-13 23:58:13 +02:00
Gavin 2fd6f548e4 minor cleanups following from HR review 2023-04-13 20:28:22 +02:00
Sanne Grinovero a4d7b0df67 HHH-16460 Upgrade to Jandex 3.1.1 2023-04-13 15:58:46 +01:00
Gavin 8f5d5fd14c make some methods protected for the benefit of HR
misc minor changes
2023-04-13 15:26:41 +02:00
Gavin 577b6b1403 clean up GraphSemantic 2023-04-13 15:26:41 +02:00
Andrea Boriero 0b54c1d083 HHH-16394 Statement Batch + Version + Dirty Collection leads to OptimisticLockException: Batch update returned unexpected row count from update 2023-04-13 10:09:29 +02:00
Andrea Boriero b2f2547d3c HHH-16394 Add test for issue 2023-04-13 10:09:29 +02:00
Andrea Boriero c498bf376d HHH-16387 Entity in key not returned when querying 2023-04-13 10:00:22 +02:00
Andrea Boriero cceac9bda3 HHH-16387 Add test for issue 2023-04-13 10:00:22 +02:00
Gavin 8415ffefda minor code changes to SessionImpl and supertype 2023-04-13 09:50:14 +02:00
Gavin e5c9b2a865 test for trunc() with timezone offset 2023-04-11 21:55:26 +02:00