Gavin
c86539b6b1
clean up the constructor of SessionFactoryImpl
...
this was a really awful mess!
2022-12-27 23:15:23 +01:00
Gavin
b0479c5f29
HHH-15888 clean up exception reporting in Column
...
- and generally tidy up that class a bit
- make state management in Column safer using assertions
- fix minor potential bug spotted by CodeQL
2022-12-27 23:15:23 +01:00
Gavin
109dac9a85
@link -> @linkplain
2022-12-27 16:17:57 +01:00
Gavin
addb48fe82
change SessionFactory.getCriteriaBuilder() to return HibernateCriteriaBuilder
2022-12-27 16:17:57 +01:00
Gavin
d6b8ed710f
improvements to javadoc of Query and NativeQuery
2022-12-27 16:17:57 +01:00
Gavin
0a5699f56c
filter some noisy packages from the javadoc
2022-12-27 12:00:02 +01:00
Gavin
518328d364
add a section & example about DialectOverride
2022-12-27 12:00:02 +01:00
Gavin
11760d3ce3
various jdoc format fixes + improve a package-info
...
- add some periods
- fix up all the code snippets I messed up
- add some <p>s after lists and code blocks
- improve section of package-info which was hard to understand
- fix jdoc for LobHelper
- fix code example in @ValueGenerationType
2022-12-27 12:00:02 +01:00
Gavin
33c228e715
add a Hibernate look to the javadoc
...
- add a new stylesheet
- include it in the release
- tidy up the overview page
- include overview and stylesheet when building jdoc from hibernate-core
2022-12-27 12:00:02 +01:00
Gavin
939adfd457
fix code example in TimeZoneStorage
2022-12-26 20:02:09 +01:00
Gavin
b293a6b2ac
add a couple of @see xrefs
2022-12-26 19:58:18 +01:00
Gavin
bee0480d12
examples to @NaturalId javadoc
2022-12-26 19:54:33 +01:00
Gavin
7f2e2c5d79
spaces to tabs
2022-12-26 18:22:06 +01:00
Gavin
31ff2851c7
HHH-15936 add applyInToManyFetch member to @Where
2022-12-26 18:22:06 +01:00
Gavin
c9cd12c625
big refactoring of Binders
2022-12-26 18:22:06 +01:00
Gavin
dda88668e8
improve some error reporting and add some code comments
2022-12-26 18:22:06 +01:00
Gavin
d886c56228
examples of @Cache and documentation around cache enablement
2022-12-26 18:22:06 +01:00
Gavin
110a1f6a56
examples in javadoc for @Any and @ManyToAny
2022-12-26 18:22:06 +01:00
Gavin
ca4474159e
fix test for case-sensitive databases
2022-12-26 18:22:06 +01:00
Gavin
01d608ca84
HHH-14526 validate table repetition in JOINED hierarchies
...
and automatically force the discriminator when necessary
2022-12-26 18:22:06 +01:00
Gavin
0f29c15461
HHH-9646 add a test showing the issue is resolved
2022-12-26 18:22:06 +01:00
Gavin
169b9a849c
drop arbitrary restrictions on what annotations can go where
...
also add an error for competing @FilterDefs
2022-12-26 18:22:06 +01:00
Gavin
491b1bc06f
HHH-15935 add discriminatorType to @DiscriminatorFormula
2022-12-26 18:22:06 +01:00
Gavin
a4191c9e11
test for JPA-46 with a twist
...
I use a @DiscriminatorFormula and @Basic(optional=false) to do it in a nice way
2022-12-26 18:22:06 +01:00
Gavin
a8620b62bb
squash a handled NPE and fix some warnings
2022-12-26 18:22:06 +01:00
Gavin
218ace291f
HHH-15934 correctly handle @Basic(optional=false)
...
previously it had no effect
2022-12-26 18:22:06 +01:00
Gavin
9e9a363154
HHH-15933 fix FK generated for ref to secondary table
2022-12-26 18:22:06 +01:00
Gavin
1e57f88674
add failing test for @ManyToOne referencing secondary table
2022-12-26 18:22:06 +01:00
Gavin
bedcc0386a
add a second test for repeated table names in JOINED with discriminator inheritance
2022-12-26 18:22:06 +01:00
Gavin
8162bd5152
lots more cleanups to persisters
2022-12-26 18:22:06 +01:00
Gavin
5f0b27fb6a
detect use of @DiscriminatorOptions(force=true) on JOINED with no @DiscriminatorColumn
2022-12-26 18:22:06 +01:00
Gavin
014847f41b
HHH-15932 allow @XxxxToOne associations to target a secondary table
2022-12-26 18:22:06 +01:00
Gavin
c7bad70073
fix exceptions for a certain kind of wrong join column mapping
2022-12-26 18:22:06 +01:00
Gavin
408e0ec436
extract a method
2022-12-26 18:22:06 +01:00
Gavin
e918f92f48
improvements to how discriminators are handled by AbstractEntityPersister
2022-12-26 18:22:06 +01:00
Gavin
b1e2eca53e
some cleanups to AbstractEntityInitializer
...
it had some really long methods
2022-12-26 18:22:06 +01:00
Gavin
608e4ef6d6
fix error messages in InstantiationExceptions
2022-12-26 18:22:06 +01:00
Gavin
2355f98586
HHH-14526 tolerate dupe tables in JOINED inheritance with discriminator
...
and also support @DiscriminatorOptions for JOINED inheritance
2022-12-26 18:22:06 +01:00
Gavin
4946e8ca45
HHH-14338 use SESSION prefix instead of MODULE for temp tables on HSQLDB
...
+ more cleanups of HSQLDialect
2022-12-23 23:09:59 +01:00
Gavin
9dbfc29749
introduce SharedSessionDelegatorBaseImpl
2022-12-23 21:39:54 +01:00
Gavin
fc62f33a55
many misc cleanups and doc for the Session hierarchy
2022-12-23 21:39:54 +01:00
Jan Schatteman
974fe9e22d
HHH-15914 - Add jira tag to some tests
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-12-23 17:40:38 +01:00
Jan Schatteman
c45330023f
HHH-15914 - remove deprecated method calls and provide an example of Tuple.class usage
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-12-23 16:05:18 +01:00
Gavin
a666f98357
minor fixes to javadoc
2022-12-23 13:53:02 +01:00
Marco Belladelli
724ae7986d
HHH-15864 Fix collection's owner referring to Embeddable class
2022-12-23 13:23:03 +01:00
Marco Belladelli
84b0da4970
HHH-15864 Add test for issue
2022-12-23 13:23:03 +01:00
Gavin
7c53a2591a
add some more tests for cast() function + allow casting to Short
2022-12-23 13:19:33 +01:00
Steve Ebersole
cba4325bb0
small post 6.2 cr1 tasks
2022-12-22 18:47:12 -06:00
Hibernate-CI
723227a3c6
Post-steps for release : `6.2.0.CR1`
2022-12-22 23:40:07 +00:00
Hibernate-CI
14e8c25ad9
Pre-steps for release : `6.2.0.CR1`
2022-12-22 23:35:20 +00:00