Andrea Boriero
ecde949c7f
HHH-15967 Add test for issue
2023-01-04 11:11:39 +01:00
Marco Belladelli
475e4944df
HHH-15866 Handle nested embeddables inside EmbeddedId
2023-01-04 10:52:42 +01:00
Marco Belladelli
60fc0c018a
HHH-15866 Handle DependantValue when building embedded attr mapping
2023-01-04 10:52:42 +01:00
Marco Belladelli
461383c8d1
HHH-15866 Add test for issue
2023-01-04 10:52:42 +01:00
Marco Belladelli
e39473139e
HHH-15865 Fix CI test failures due to GenerationType.IDENTITY
2023-01-04 10:02:00 +01:00
Akshit Agarwal
446908f643
HHH-14772: Fix filter direct fetching documentation
2023-01-04 10:00:27 +01:00
Gavin
2d3b787fc0
disable fragile test
2023-01-03 21:06:49 +01:00
Gavin
b7b5fb7559
avoid the use of TypeConfiguration.getServiceRegistry()
2023-01-03 21:06:49 +01:00
Gavin
e8f899ffbc
avoid the use of TypeConfiguration.getSessionFactory() which is not very typesafe
...
continue sorting out issues with lifecycle of SessionFactoryImpl and friends
2023-01-03 21:06:49 +01:00
Gavin
91c69d72a7
work on jdoc of Dialect (mostly just formatting)
2023-01-03 21:06:49 +01:00
Gavin
d285464302
refresh jdoc for TC and TCA
2023-01-03 21:06:49 +01:00
marko-bekhta
b47049f892
HHH-15962 Provide simple default impl for new members of `SchemaManagementTool` interface
...
- make both `getSchemaTruncator/buildGenerationTargets` as default methods throwing `UnsupportedOperationException`
2023-01-03 10:36:44 +01:00
Christian Beikov
0962144583
Don't show SharedDriverManagerConnectionProviderImpl usage in event documentation
2023-01-03 10:31:05 +01:00
LLEFEVRE
ccf4fac124
HHH-15961 Speed-up Oracle CI build
2023-01-03 10:26:46 +01:00
Gavin
4670087c1a
mention XML mappings in overview
2023-01-02 22:26:31 +01:00
Gavin
c7a26efed5
more jdoc improvements to annotations
2023-01-02 21:48:47 +01:00
Gavin
b7f34795df
fix for databases which don't like multiple 'check' keywords
...
- also check for dupe constraints (for some reason they get added)
2023-01-02 21:45:02 +01:00
Gavin
f385fa063a
consistently allow multiple @Check constraints
...
+ improvements to jdoc of @Formula and @Check
2023-01-02 21:45:02 +01:00
Gavin
aeabc0e48e
eliminate SQL parsing when there are no secondary tables
2023-01-02 21:45:02 +01:00
Gavin
822153948c
further reduce direct use of SessionFactory during metamodel building
2023-01-02 21:45:02 +01:00
Gavin
102ef2f469
refactor some functionality out of constructor SessionFactoryImpl into observers
2023-01-02 21:45:02 +01:00
Gavin
7aa92a7c05
allow @Formulas to refer to columns of @SecondaryTables
...
(this is something that was previously only possible using hbm.xml)
also attempt a partial fixup of the initialization process where SessionFactoryImpl
constructor leaked out an uninitialized reference to itself (it still leaks, but
not as badly)
2023-01-02 21:45:02 +01:00
Gavin
1eba25a466
add some doc to AttributeContainer
2023-01-02 21:45:02 +01:00
Gavin
117851e4a4
add example to @Comment
2023-01-02 21:45:02 +01:00
Gavin
1657c22aca
automatically detect when a @Check refers to a @SecondaryTable
...
- also support named check constraints (multiple of them)
- also support check constraints on collection tables
2023-01-02 21:45:02 +01:00
Gavin
abb89a32b1
minor change to code
2023-01-02 21:45:02 +01:00
Gavin
c718a46285
improve some error messages
2023-01-02 21:45:02 +01:00
Marco Belladelli
90c767681e
HHH-15865 Store attribute metadata for inverse EmbeddedAttributeMapping
2023-01-02 12:07:13 +01:00
Marco Belladelli
8f7b8b8fa2
HHH-15865 Add test for issue
2023-01-02 12:07:13 +01:00
Marco Belladelli
8b7ad24756
HHH-15868 Fix log function test on CockroachDB
2023-01-02 11:21:03 +01:00
Gavin
a1853a8c05
HHH-15960 reimplement @Column using the o.h.binder infrastructure and add @Comment(on ="...")
...
this lets me deprecate @Table(comment = "...") and gets rid of all the passing-Comment-objects-around
2023-01-01 21:36:42 +01:00
Gavin
df5980226c
HHH-15959 add TypeBinders + fix multiple AttributeBinders on a single field
2023-01-01 21:36:42 +01:00
Gavin
e48a8120a9
improve some error messages
2023-01-01 17:25:07 +01:00
Gavin
76b2f92f39
HHH-15958 support the @RowId annotation on DB2 LUW
...
... and perhaps also on DB2 for z and i (no way to test it)
2023-01-01 17:25:07 +01:00
Gavin
366208924f
clean up the JdbcSessionContext SPI + related code
...
- encapsulate stuff better within JdbcSessionContext
- fix lots of warnings
- deprecate stuff
2023-01-01 16:04:29 +01:00
Gavin
689cca1963
HHH-15958 much better support for @RowId annotation
...
- the rowid pseudo-column and type are now determined automatically from Dialect
- works (after all these years) in Postgres (and also on h2)
- introduce RowIdJdbcType (not strictly necessary, but a nicety)
2023-01-01 14:20:44 +01:00
Gavin
6da38d0b05
examples of a couple of nice ways to use the Session
2022-12-31 20:15:12 +01:00
Gavin
2576f74ade
jdoc for org.hibernate.engine.jdbc.connections.spi
2022-12-31 19:05:06 +01:00
Gavin
6eccc49856
new blurb about OptimisticLocking in package-level doc for annotations
2022-12-31 18:37:11 +01:00
Gavin
5bc6558b07
allow @Nationalized to be used as a meta-annotation
2022-12-31 17:47:20 +01:00
Gavin
6523599106
allow @CollectionIdType to be used as meta-annotation
...
this was always intended, I believe
2022-12-31 17:47:20 +01:00
Gavin
e89015fd8c
document the use of typing annotations as meta-annotations
2022-12-31 17:47:19 +01:00
Gavin
60e5b75282
fix the misleading documentation of the @Bag annotation
...
and improve error reporting when used in a nonsensical way
2022-12-31 17:47:19 +01:00
Gavin
a1d52b0bb1
minor cleanups to HCANNHelper
2022-12-31 17:47:19 +01:00
Gavin
327342b39e
correct implementation of JPA SharedCacheMode for .hbm.xml
...
- even though I hate most of its members, I think NONE is pretty useful
- anyway we may as well make it work, since it's trivial
2022-12-31 13:33:26 +01:00
Gavin
1db1c08d3b
document a couple of limitations
2022-12-31 13:27:03 +01:00
Gavin
1fe2509b3b
minor edits to the jdoc of o.h.boot.spi package
2022-12-31 13:11:22 +01:00
Gavin
699e333ff1
javadoc for MetadataBuildingOptions
2022-12-31 12:31:45 +01:00
Gavin
d1c9c4abac
very minor doc fixes
2022-12-31 12:07:47 +01:00
Gavin
98d693501a
mark Caching and TypeBeanInstanceProducer for potential package moves
2022-12-31 12:06:25 +01:00