Marco Belladelli
4fbc8f96ef
Create `git blame` ignore file and mention it in CONTRIBUTING.md
2024-09-18 12:06:40 +02:00
Marco Belladelli
384bdbc19c
Exclude generated sources from spotless
2024-09-18 12:06:40 +02:00
Christian Beikov
6a3fee83fa
Remove JDK 22 testing
2024-09-18 09:30:51 +02:00
Gavin King
fc2b1b9854
HHH-18626 fix error for @Id annotation in @Embeddable class
2024-09-17 19:59:30 +02:00
Gavin King
e9bf523ce1
clean up some obsolete code in AbstractEntityPersister
2024-09-17 18:41:41 +02:00
Gavin King
d81b2842b7
really disable checkstyle
...
commit @27db266 had almost opposite the intended effect ... oops!
2024-09-17 10:09:50 +02:00
Gavin King
79c8b41298
remove two useless @FailureExpected tests
...
having failing tests for features we have never supported
isn't actually useful at all, and just slows us down
2024-09-17 08:43:23 +02:00
Gavin King
49a3ecd2c0
moar header updates
2024-09-17 08:43:23 +02:00
Gavin King
8205506104
deal with some warnings
2024-09-17 08:43:23 +02:00
Gavin King
9f59f93b6e
mark an override @Deprecated
2024-09-17 08:43:23 +02:00
Gavin King
cb8b03d392
report a limitation sooner
2024-09-17 08:43:23 +02:00
Čedomir Igaly
2c607e4bd6
HHH-18322 Fixed compilation error in test case
2024-09-16 16:17:02 -05:00
Čedomir Igaly
289ab0e6ca
HHH-18322 Immediately throw InstantiationException when resolving constructor for single null argument
2024-09-16 16:17:02 -05:00
Čedomir Igaly
8bec334ab2
HHH-18322 Fix : when exact constructor is not found, try finding matching one
2024-09-16 16:17:02 -05:00
Cedomir Igaly
ab09c672a3
HHH-18322 Test cases showing the problem
2024-09-16 16:17:02 -05:00
Marco Belladelli
95ef45bef8
HHH-18174 Fix junction entity name uses algorithm for subqueries
2024-09-16 14:54:57 -05:00
Marco Belladelli
a33ae2d580
HHH-18174 Add test for issue
2024-09-16 14:54:57 -05:00
Gavin King
bcde12c8e5
update checkstyle rule
2024-09-16 21:26:00 +02:00
Gavin King
f0f96916ad
abbreviated source header
2024-09-16 21:26:00 +02:00
Gavin King
23084dd16c
indentWithTabs
2024-09-16 21:26:00 +02:00
Gavin King
bbc325c26f
spaces to tabs!
2024-09-16 21:26:00 +02:00
Gavin King
27db2668b4
disable checkstyle because we have spotless now
2024-09-16 21:26:00 +02:00
Gavin King
a43bcd80a8
enable spotless
2024-09-16 21:26:00 +02:00
Gavin King
de921ad473
cleanups by spotless
2024-09-16 21:26:00 +02:00
Andrea Boriero
2f2dbbe2e6
HHH-18489 Lazy, unowned one-to-one associations get loaded eagerly in queries - even with bytecode enhancement
2024-09-16 12:01:30 -05:00
Andrea Boriero
b407aa7679
HHH-18489 Test initialization of unowned, lazy one-to-one associations
2024-09-16 12:01:30 -05:00
Yoann Rodière
434b32e494
HHH-18489 Test initialization of unowned, lazy one-to-one associations (and more) in queries
2024-09-16 12:01:30 -05:00
Andrea Boriero
1b0cc59913
HHH-18462 Provide alternatives to deprecated org.hibernate.engine.spi.Mapping
2024-09-16 11:45:54 -05:00
Marco Belladelli
e411775c70
Remove problematic template test using type
...
Note: `string` is an actual type (and keyword) in CockroachDB
2024-09-16 17:15:34 +02:00
Marco Belladelli
9b5f17340f
Override CockroachDialect#determineDatabaseVersion implementation
2024-09-16 17:15:34 +02:00
Marco Belladelli
e66cbc1d8f
Require pgsql 14+ for `compression pglz` column option
2024-09-16 17:15:34 +02:00
Marco Belladelli
829b990585
Fix HANA error where table only contains PK
2024-09-16 17:15:34 +02:00
Marco Belladelli
9071c16e7d
HHH-18612 Avoid writing `import.sql` file to classpath
2024-09-16 11:26:00 +02:00
Marco Belladelli
93e74362d5
HHH-18436 Apply plural attribute ordering when creating the join
2024-09-16 11:25:48 +02:00
Marco Belladelli
b61628326c
HHH-18436 Add test for issue
2024-09-16 11:25:48 +02:00
Marco Belladelli
a784ca2027
HHH-18439 Account for null values in query cache hit
...
Also, solve an assertion error in query result type check when selecting `null` literals
2024-09-16 11:25:30 +02:00
Marco Belladelli
4bf11f8503
HHH-18439 Add test for issue
2024-09-16 11:25:30 +02:00
Marco Belladelli
234bff41b8
HHH-18445 Always preserve correct property order for java records
2024-09-16 11:25:14 +02:00
Marco Belladelli
f9a4efaa8f
HHH-18445 Add test for issue
2024-09-16 11:25:14 +02:00
Marco Belladelli
3001b7f01d
HHH-18484 Account for null generated values for no-op updates
2024-09-16 11:24:54 +02:00
Marco Belladelli
928c786683
HHH-18484 Add test for issue
2024-09-16 11:24:54 +02:00
Gavin King
417eb89369
HHH-17557 update migration guide
2024-09-15 08:53:37 +02:00
Gavin King
2e6902ddb2
HHH-17557 native queries return LocalDate and LocalDateTime instead of java.sql types
...
... by default, with a setting to recover old behavior.
2024-09-15 08:38:21 +02:00
Gavin King
2fc51bd7b2
attempt to untangle some convoluted logic in Query hierarchy
2024-09-15 08:24:43 +02:00
Gavin
52e185b194
HHH-15942 introduce QueryFlushMode for specifying whether a query flushes or not
...
- replaces FlushModeType in the annotation package
- much less confusing when applied to a Query
* what do MANUAL and COMMIT mean for a Query?
* how is AUTO useful for a Query?
- also make Query.getHibernateFlushMode() obey its
documented semantics by returning the session
flush mode instead of null when unset
2024-09-15 08:24:43 +02:00
Gavin King
5f8bf125fc
HHH-18619 add support for @ForeignKey(options), @UniqueConstraint(options), @Index(options)
2024-09-14 18:49:18 +02:00
Gavin King
9f2beca226
add a comment
2024-09-14 12:29:10 +02:00
Gavin King
19d5895dd6
finally sort out handling of @Id and @Version in query validator
...
also remove 'this' hacks made obsolete by Steve's work on core
2024-09-14 12:29:10 +02:00
Andrea Boriero
d6ab2fd110
HHH-18511 ArrayIndexOutOfBoundsException in ImmutableFetchList
2024-09-14 09:09:25 +02:00
Andrea Boriero
21a69c682e
HHH-18511 Add test for issue
2024-09-14 09:09:25 +02:00