Commit Graph

7838 Commits

Author SHA1 Message Date
Christian Beikov 181217ef1f Re-introduce the regex pattern for the format pattern check 2022-01-18 16:19:28 +01:00
Christian Beikov d0f6c3302c HHH-15035 Fix native query type discovery with h2 2.0.202+ with float(..) DDL type 2022-01-18 15:18:01 +01:00
Christian Beikov fb749b6b32 Adapt tests and skips for H2 2.0.202+ 2022-01-18 15:18:01 +01:00
Christian Beikov 6feb33f4e1 HHH-15009 Allow augmenting supported physical table types through dialect for H2 2.0.202+ support 2022-01-18 15:18:01 +01:00
Christian Beikov fe44411e60 HHH-15014 Fix subquery tuple rendering for H2 2.0.202+ 2022-01-18 15:18:01 +01:00
Christian Beikov 0fb19fd4fb Get rid of column names that are problematic on H2 2.0.202+ 2022-01-18 15:18:01 +01:00
Christian Beikov c284315931 Add validation for format function and remove `aa` format as no database supports long/short AM/PM markers 2022-01-18 15:18:01 +01:00
Andrea Boriero b8fab567cc Fix CriteriaBuidler#locate() arguments order rendering 2022-01-18 13:10:24 +01:00
Andrea Boriero 370d9354fc Fix CriteriaBuidler#locate() arguments order rendering 2022-01-18 13:10:24 +01:00
Steve Ebersole 6f1ddc32dd fix NPE when selecting enum value 2022-01-17 20:40:00 -06:00
Gavin King 53d38262ba test showing selecting enum value causes NPE 2022-01-17 20:38:43 -06:00
Andrea Boriero 9e7a091d67 Fix CriteriaBuidler#locate() arguments order rendering 2022-01-17 18:39:01 +01:00
Andrea Boriero 23a011385d Fix MaskSensitiveInformationTest failure 2022-01-17 16:41:42 +01:00
Steve Ebersole a7d76b2370 more `@NotImplementedYet` clean-up 2022-01-16 22:54:19 -06:00
Steve Ebersole 37094e3e80 Javadoc work 2022-01-16 22:02:57 -06:00
Steve Ebersole 6ec996f1d5 WrongClassException tests 2022-01-16 22:02:57 -06:00
Sanne Grinovero e38f63a0cb HHH-15033 Restrict JNDI lookups to "java" scheme 2022-01-16 22:00:24 +00:00
Sanne Grinovero 8511343108 HHH-15033 Reduce visibility of JndiServiceImpl 2022-01-16 22:00:24 +00:00
Andrea Boriero ef980cbb5d Throw IllegalArgumentException when the an attribute name is not resolved as a subPath 2022-01-16 19:04:41 +01:00
Andrea Boriero 9fba739bc2 Throw IllegalArgumentException for null Criteria literal value 2022-01-16 19:04:05 +01:00
Steve Ebersole fb17eb52df more `@NotImplementedYet` clean-up - fix bad test assertions 2022-01-16 11:00:28 -06:00
Steve Ebersole c0137e7de2 additional clean up of - "massive" cleanout of the transformers stuff 2022-01-15 08:51:09 -06:00
Gavin c43b6ff606 massive cleanout of the transformers stuff
- add meaningful generic types to stuff
- remove things which weren't used/tested, and seem obsolete
  (and which could not be propertly generified)
2022-01-15 08:51:09 -06:00
Andrea Boriero 22457cc74d Throw IllegalArgumentException when the an attribute name is not resolved as a subPath 2022-01-15 08:13:05 -06:00
Steve Ebersole 326f2ae775 Clean up usages of `@NotImplementedYet` 2022-01-14 20:36:53 -06:00
Sanne Grinovero 73e936b280 HHH-15029 Small refactoring in JndiServiceImpl: no need to use a Properties for the context configuration 2022-01-14 23:48:08 +00:00
Sanne Grinovero 1b2508e4e0 HHH-15029 Remove deprecated JndiHelper 2022-01-14 23:48:08 +00:00
Steve Ebersole 7de0e79cad Clean up usages of ``@NotImplementedYet` 2022-01-14 15:56:59 -06:00
Steve Ebersole 834426e8f6 Fix bug with creating a NaturalIdCacheKey via SimpleCacheKeysFactory 2022-01-14 15:25:05 -06:00
Steve Ebersole 9fe3c861ca HHH-15023 - Move Query and NativeQuery back to org.hibernate.query 2022-01-14 14:49:17 -06: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
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
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 2e8bf3d1df make 'element' and 'value' synonyms, along with 'index' and 'key' 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