Mark Rotteveel
7461100c39
HHH-15775 Make UnknownServiceException and NullServiceException extend ServiceException
2022-11-29 18:39:36 +01:00
Gavin
325b416e7d
fix checkstyle failure
2022-11-29 18:01:07 +01:00
Steve Ebersole
9ccb71847b
HHH-15393 - Improve write-paths to use mapping model
2022-11-29 09:37:13 -06:00
Sanne Grinovero
c7bd022b07
HHH-15779 Avoid stateful lambdas in hot processing of JdbcValuesResultSetImpl
2022-11-29 14:45:54 +00:00
Gavin
a91e46a682
fix a flaky Sybase test
2022-11-29 15:11:25 +01:00
Christian Beikov
2b8b33e694
Fix Oracle rowid and sybase value generation issues
2022-11-29 12:13:27 +01:00
Christian Beikov
ad019fccec
Remove spacing in insert and update statements
2022-11-29 09:38:22 +01:00
Christian Beikov
8d3adc3123
Remove spacing in insert and update statements
2022-11-29 09:20:08 +01:00
Christian Beikov
26aaf1bf88
Fix more test failures with write path model
2022-11-29 08:39:59 +01:00
Christian Beikov
a81f9d3e2d
Fix HQLTest issue and javadoc aggregation
2022-11-29 01:43:32 +01:00
Steve Ebersole
1f9a6f43f1
HHH-15393 - Improve write-paths to use mapping model
2022-11-28 16:55:06 -06:00
Gavin
cc9ecfb94d
annotate ValueGeneration impls in annotation package @Internal
2022-11-28 22:52:52 +01:00
Gavin
366a89ae71
reimplement @Source in an elegant way using the ValueGeneration machinery
...
... and finally delete two of my least-favorite classes!
2022-11-28 22:49:57 +01:00
Gavin
e908d4c8f6
@CreationTimestamp should not be declared @Inherited
2022-11-28 22:49:57 +01:00
Gavin
457872dbdd
skip a test on TiDB
...
as requested by @beikov
2022-11-28 22:49:57 +01:00
Gavin
84be9faf70
remove weird getCurrentTimestampSelectString() on PostgresPlusDialect
...
... which was causing tests to fail... but why *now* I have no clue!
2022-11-28 22:49:57 +01:00
Gavin
993aae6095
HHH-15774 @CurrentTimestamp takes over from @Source
...
... and make value generation work better with version properties.
2022-11-28 22:49:57 +01:00
Steve Ebersole
a9ac98b364
HHH-15393 - Improve write-paths to use mapping model
...
HHH-15723 - Fix foreign-key modeling
2022-11-28 14:25:40 -06:00
Jan Schatteman
4cce83a779
Disable the SpatialTest for now (fails on edb)
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-11-28 20:55:17 +01:00
Sanne Grinovero
e4c294f4b6
HHH-15776 Avoid type checking for ManagedEntity in EntityEntryContext#deserialize as well
2022-11-28 17:40:46 +00:00
Sanne Grinovero
c882699557
HHH-15776 Avoid type checking for ManagedEntity in StatefulPersistenceContext#addReferenceEntry
2022-11-28 17:40:46 +00:00
Jan Schatteman
07274cd2ce
HHH-15715 - Fix broken links in docs
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-11-28 18:03:26 +01:00
Gavin
0d295e9f11
HHH-15772 deprecate @Proxy and @Polymorphism
2022-11-28 13:45:57 +01:00
Gavin
77fe23d7f9
javadoc for @Polymorphism
2022-11-28 13:45:57 +01:00
Gavin
922e71d626
deprecate @Target which dupes functionality of JPA annotations
...
...and refresh some misc annotation javadoc
2022-11-28 13:45:57 +01:00
Davide D'Alto
dd36425b31
HHH-15746 Register the StandardIdentifierGeneratorFactory as a default Service
2022-11-28 10:07:22 +00:00
Sanne Grinovero
7081d31647
HHH-15746 Beans Helper doesn't need to be a singleton, convert to static helpers
2022-11-28 10:07:22 +00:00
Gavin
ed52dba650
make the gradle build quieter
...
also delete some obsolete stuff from before move to Java 11
2022-11-28 09:10:34 +01:00
Christian Beikov
d9bceb3a80
Fix build error
2022-11-28 09:09:03 +01:00
Christian Beikov
6bba6d073b
HHH-15765 Get rid of the credentials plugin
2022-11-28 08:29:56 +01:00
Mark Rotteveel
c71d1b3bef
HHH-15765 Fix build failure by upgrade nu.studer.credentials to 3.0
2022-11-28 08:05:39 +01:00
Gavin
86b28f4c8d
expand javadoc for OptimisticLocking
2022-11-27 20:01:33 +01:00
Gavin
f2c81b0eaf
rename some methods to reduce confusion
2022-11-27 14:16:43 +01:00
Gavin
759b68b022
HHH-15770 let you use @ColumnDefault on associations
...
this is very useful in combination with @OnDelete(action=SET_NULL)
2022-11-27 14:16:43 +01:00
Gavin
76f92bd901
HHH-15770 add in all the commonly-supported OnDeleteActions
2022-11-27 14:16:43 +01:00
Gavin
c9caf292e6
HHH-15770 javadoc and cleanup for @OnDelete, OnDeleteAction
2022-11-27 14:16:43 +01:00
Gavin
12aa8bd431
add some comments for the next poor soul who wrestles with unique constraints
2022-11-27 12:38:45 +01:00
Gavin
5172d8798f
HHH-15762 work around weird semantics of null in unique index on DB2/T-SQL
2022-11-27 02:14:38 +01:00
Gavin
0253e1fe7a
HHH-15767 put unique constraints where they belong on optional @OneToOne associations
...
this was a bug that allowed people to use @OneToOne as a regular @ManyToOne
and ... people did ... as evidenced by all these bogus tests I just fixed
this is in principle a breaking change because it breaks code that was broken
2022-11-27 02:14:38 +01:00
Christian Beikov
82e42ef946
Fix OrderSequenceGenerationTest
2022-11-26 13:44:29 +01:00
Gavin
dd50e1e28e
add message/@deprecated a member that Hibernate ignores
2022-11-26 13:40:40 +01:00
Gavin
13f4c8c285
light refactoring
2022-11-26 13:40:40 +01:00
Gavin
3ba90c004c
HHH-15762 nicer DDL for unique constraints
...
- prefer 'unique' in 'create table' except in migrations
- also ignore unique=true for PK column
- introduce AlterTableUniqueDelegate and CreateTableUniqueDelegate
- fix the tests / delete test that makes no sense now
- improve javadoc of UniqueDelegate
2022-11-26 13:40:40 +01:00
Gavin
41fb50f18e
and add/improve some Javadoc in AvailableSettings
2022-11-26 12:21:50 +01:00
Marco Belladelli
9c0b30f99d
HHH-15760 various small html fixes javadoc
2022-11-26 09:49:56 +01:00
Marco Belladelli
f38dd28043
HHH-15760 mass replace self-closing tags in javadoc
2022-11-26 09:49:56 +01:00
Christian Beikov
f4b1e00ddf
Use NOCACHE for all envers tests since they can't cope with values to be skipped
2022-11-26 09:41:54 +01:00
Steve Ebersole
cff02f6726
HHH-15763 - Allow Dialect to specify fallback SchemaManagementTool
2022-11-25 23:37:53 -06:00
Gavin
07de23d283
add javadoc about hibernate.dialect
2022-11-26 00:08:16 +01:00
Gavin
27d4a55e75
javadoc for @NaturalId, @NaturalIdCache, @ListIndexBase
2022-11-25 23:11:08 +01:00