Sanne Grinovero
b8d5b0bd45
HHH-15028 Upgrade to JBoss Logging 3.4.3.Final
2022-01-14 18:10:27 +00:00
Gavin
fbec85b475
get rid of the language "positional parameter"
...
they're not really positional in JPA, they're just labelled by integers
also use "argument" instead of "value", since that's the proper term
2022-01-14 16:14:43 +01:00
Andrea Boriero
1e973a0b55
Throw IllegalArgumentException when cannot resolve attribute names
2022-01-13 19:15:58 +01:00
Andrea Boriero
bb05cdadc6
Throw IllegalArgumentException when cannot resolve attribute names
2022-01-13 18:35:30 +01:00
Yoann Rodière
b7ab3276af
Limit concurrent Github Actions builds
2022-01-13 15:38:07 +00:00
Sanne Grinovero
fbae1a4651
HHH-15026 Upgrade to Log4J 2.17.1
2022-01-13 15:30:30 +00:00
Sanne Grinovero
e6866034de
HHH-15024 Upgrade to Jandex 2.4.2.Final
2022-01-12 14:20:35 +00:00
Sanne Grinovero
6efff11d44
HHH-15000 Upgrade to Hibernate Commons Annotations 6.0.0.Beta1
2022-01-12 11:15:26 +00:00
Gavin King
14bf19ff7e
remove deprecated Statistics APIs
2022-01-12 10:20:13 +01:00
Gavin King
f7b4a94c45
minor refresh of the Statistics API
...
- added getStart() returning an Instance
- removed a left-over @MXBean annotation
- refreshed some Javadoc
- fixed some warnings
2022-01-12 10:20:13 +01:00
Steve Ebersole
fda6e96c5e
HHH-15023 - Move Query and NativeQuery back to org.hibernate
2022-01-11 21:01:56 -06:00
Steve Ebersole
e446b7c99b
Log4j Vulnerability - https://blog.gradle.org/log4j-vulnerability ;
...
Upgrade Gradle Enterprise plugin to 3.8
2022-01-11 15:47:48 -06:00
Steve Ebersole
ef6c14a0be
Upgrade to Gradle 7.3.3
2022-01-11 15:47:48 -06:00
Gavin
1528152735
remove deprecated methods of Cache interface
2022-01-11 20:56:24 +01:00
Gavin
be4b751582
remove use of deprecated caching methods from tests
2022-01-11 20:56:24 +01:00
Gavin
abf3360b49
improve Javadoc for Cache and fix some warnings
2022-01-11 20:56:24 +01:00
Andrea Boriero
0f9a141c9e
List annotatted with @OrderBy interpreted with BAG semantic
2022-01-11 18:23:29 +01:00
Andrea Boriero
2bbeeb5ab2
Fix postLoad callback method calls
2022-01-11 17:36:10 +01:00
Steve Ebersole
8f5fefd806
HHH-15017 - Clean-up Query#setParameter overloads
...
- https://hibernate.atlassian.net/browse/HHH-15017
2022-01-10 12:25:38 -06:00
Steve Ebersole
b62c23ab29
HHH-15017 - Clean-up Query#setParameter overloads
...
- https://hibernate.atlassian.net/browse/HHH-15017
2022-01-10 12:25:38 -06:00
Andrea Boriero
b8114bad31
Fix postLoad callback method not called
2022-01-10 12:22:52 -06:00
Sanne Grinovero
8d43be4b78
HHH-15018 OracleTypesHelper shouldn't log stacktraces when the Oracle JDBC driver isn't loadable
2022-01-10 16:19:27 +00:00
Steve Ebersole
d2584730f3
Document @IdGeneratorType;
...
Some work to clean up User Guide sections on id-generators
2022-01-10 09:54:06 -06:00
Gavin King
64d25f16d1
make 'element' and 'value' synonyms in doc
2022-01-10 15:48:34 +01:00
Gavin King
2e8bf3d1df
make 'element' and 'value' synonyms, along with 'index' and 'key'
2022-01-10 15:48:34 +01:00
Gavin King
e6128551b3
document new collection aggregate function syntax
...
and fix some other problems I found in the examples
2022-01-10 15:48:34 +01:00
Gavin King
3e8f1c67df
clean up lots of warnings by adding wildcards to raw types
...
also comment out some unused code
2022-01-10 15:48:34 +01:00
Gavin King
4b5e6e1969
introduce new syntax for aggregate functions applying to collections
...
max(element x.y), min(index x.y), sum(element x.y)
and rationalize the node types here
2022-01-10 15:48:34 +01:00
Gavin King
38fc97feb3
sort out some confusion regarding elements() vs value() + indices() vs index()
...
Strictly, elements() and indices() don't make sense as select items, but we
have tests for this, and users who reported bugs and sent in patches, etc, etc,
so I'm going to go ahead and keep accepting them in the select clause as a
blessed misuse.
I'm not however going to allow them to be dereferenced because no, that's why.
2022-01-10 07:09:12 +01:00
Gavin King
abd63d73ea
clean up warnings and broken Javadoc links on Cache interface
2022-01-10 00:18:27 +01:00
Gavin King
7f9f8e1ff3
clean up FlushMode
2022-01-10 00:18:27 +01:00
Gavin King
3fb6c1ce26
Refresh the javadoc of a bunch of annotations
2022-01-10 00:18:27 +01:00
Gavin King
596debed4d
make @Check work when applied at the field level
...
This was a bug!
Also add checkConstraint member to @Table to allow check constraints on secondary tables
Also clean up some Javadoc of some related annotations
2022-01-10 00:01:24 +01:00
Gavin King
bd8bf15e00
fix some warnings in IntelliJ (unnecessary StringBuilder)
2022-01-09 21:58:05 +01:00
Gavin King
4324509a59
allow @Comment to apply at the class level
...
yes, you can do it with the @Table annotation but this is nicer,
no good reason to not allow it
2022-01-09 21:32:30 +01:00
Gavin King
9eac2b193b
skip some tests on TiDB
2022-01-09 17:36:37 +01:00
Gavin King
c88a9ac8bc
improve javadoc for @Order/@Sort annotations
2022-01-09 11:50:31 +01:00
Gavin King
740779165d
add IdentifierLoadAccess.withReadOnly()
...
adding this to the other XxxxLoadAccess interfaces is much harder,
but this one is easy
2022-01-08 15:21:10 +01:00
Gavin King
e02e1e2ffb
remove the layer-breaking getLobCreator() methods from the Hibernate class
...
This is in principle a breaking change, but one I consider pretty innocuous,
since I can't imagine why anyone was calling Hibernate.getLobCreator(session)
instead of session.getLobHelper().
2022-01-08 12:35:43 +01:00
Gavin King
e331c2870e
more cosmetic improvements to HQL error reporting
...
makes the messages and exception types a bit more consistent
2022-01-08 12:14:21 +01:00
Gavin King
60ad64b2a6
update explanation of limit/fetch join problem for H6
2022-01-08 11:58:44 +01:00
Gavin King
e79d7efbce
use instanceof instead of isInstance() on the hot path
...
surely NBD, but such an easy thing to fix and remove all doubt
2022-01-08 10:45:53 +01:00
Gavin King
6c83e1d0ec
cosmetic improvements to HQL error reporting
...
makes the messages and exception types a bit more consistent
2022-01-08 09:59:02 +01:00
Gavin King
3103d84949
fix an incorrect statement about case sensitivity
2022-01-08 02:31:20 +01:00
Gavin King
fc079ba226
disable test on some dialects
2022-01-08 00:15:14 +01:00
Gavin King
77aa6ab244
use Map.entry() instead of ouw own MapEntryImpl for entry() function
...
add tests for HQL collection functions
2022-01-08 00:15:14 +01:00
Gavin King
90cd25bc5d
remove obsolete comments and enable a (fixed) test
2022-01-08 00:15:14 +01:00
Gavin King
032d224531
totally trivial test for autoquoting of initial _
...
that actually really does test that it does what it should :)
2022-01-07 18:54:59 +01:00
Gavin King
32f4122470
autoquote column names with initial _ on those dbs that require it
2022-01-07 18:54:59 +01:00
Gavin King
54b5a85af4
add a whole passage about serialization
2022-01-07 12:14:06 +01:00