Gavin King
8327f8567d
more Javadoc for JtaPlatform and friends
2022-01-21 16:17:05 +01:00
Jan Schatteman
27b2271130
Some deprecation removals ( #4681 )
...
* Remove deprecations in org.hibernate.action.internal
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
* Remove deprecated org.hibernate.lob.ReaderInputStream
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
* Remove deprecated org.hibernate.tool.schema.extract.spi.SequenceInformation.getIncrementSize()
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
* Update hibernate-core/src/main/java/org/hibernate/tool/schema/internal/AbstractSchemaValidator.java
Co-authored-by: Christian Beikov <christian.beikov@gmail.com>
Co-authored-by: Christian Beikov <christian.beikov@gmail.com>
2022-01-21 15:15:41 +01:00
Gavin King
a79891a426
the the in Javadoc and comments
2022-01-21 14:27:20 +01:00
Gavin King
7ab5a04d42
improve the SQL formatter
...
we were rendering a many SQL functions badly
2022-01-21 14:16:07 +01:00
Gavin King
6f3ffe8abc
put back in test for HQL casting between double and string
2022-01-21 12:35:35 +01:00
Gavin King
376d0c220f
fix checkstyle violations
2022-01-21 10:19:30 +01:00
Steve Ebersole
5ded7b8833
api, spi, internal, deprecation
...
SynchronizeableQuery
2022-01-20 22:49:20 -06:00
Steve Ebersole
5761e7801b
api, spi, internal, deprecation
...
org.hibernate.jpa
2022-01-20 22:19:13 -06:00
Gavin King
e1e16a5041
improve an error message and some javadoc
2022-01-20 23:20:16 +01:00
Gavin King
d385cc8825
remove hibernate.query.validate_parameters
...
in H6 we're going to always validate them
2022-01-20 23:20:16 +01:00
Gavin King
a59bf70ccf
remove hibernate.query.conventional_java_constants
...
this was apparently a sorta nasty bandaid to a performance problem in query compilation
and it caused problems for some users, breaking interpretation of enum values
2022-01-20 23:20:16 +01:00
Gavin King
a84793bd6d
remove hibernate.cache.provider_configuration_file_resource_path
...
this was unused
2022-01-20 20:24:08 +01:00
Steve Ebersole
6cbfb30ea4
api, spi, internal, deprecation
2022-01-20 11:29:57 -06:00
Gavin King
ff79e0f12a
use @linkplain instead of @link where there is plain text
2022-01-20 18:21:14 +01:00
Gavin King
e7acffef15
remove some legacy config properties
...
the following are gone:
hibernate.ejb.resource_scanner
hibernate.query.substitutions
hibernate.jdbc.sql_exception_converter
hibernate.native_exception_handling_51_compliance
hibernate.legacy_limit_handler
hibernate.jdbc.wrap_result_sets
2022-01-20 18:03:51 +01:00
Gavin King
dded606259
use @value instead of @link for setting names in Javadoc
2022-01-20 17:42:26 +01:00
Gavin King
71f122d2e5
remove check for deprecated setting
...
I don't think we need to look for org.hibernate.ejb.HibernatePersistence anymore
2022-01-20 16:54:42 +01:00
Christian Beikov
7fa2fd0588
Small documentation and internal updates
2022-01-20 16:02:21 +01:00
Christian Beikov
ffd72a7d60
Get rid of Type#dictatedSizes and Type#defaultSizes and move methods from Sized as default methods to UserType
2022-01-20 16:01:02 +01:00
Christian Beikov
5fcacce3b1
Replace some uses of Type#getSqlTypeCodes with BasicType#getJdbcType
2022-01-20 16:01:02 +01:00
Christian Beikov
445cedfec7
Cleanup the naming of JavaDescriptor and JavaTypeDescriptor to align with the new naming JavaType
2022-01-20 16:01:02 +01:00
Christian Beikov
895ac83537
Mark some classes as internal which should go away when transitioning to SqlAst based rendering
2022-01-20 16:01:02 +01:00
Andrea Boriero
4361790205
Fix ArrayIndexOutOfBoundsException for CollectionJoin#on(Predicate ...)
2022-01-20 14:57:15 +01:00
Gavin King
e6a9220606
clean up very old Dialect javadoc
...
and squash a couple of warnings
2022-01-20 14:07:32 +01:00
Gavin King
019f87106a
tests for @DialectOverride.Xxxx
2022-01-20 11:33:22 +01:00
Gavin King
8aa0665731
introduce the @DialectOverride annotation
...
for overriding certain mapping annotations that specify native SQL
2022-01-20 11:33:22 +01:00
Andrea Boriero
a9ddebf643
HHH-15044 Revert HHH-14826 fix because the provided test was wrong
2022-01-20 11:25:27 +01:00
Andrea Boriero
a74d0b72be
Fix converter issues
2022-01-19 19:56:04 +01:00
Christian Beikov
36d6760abf
Fix missing commit which was causing dangling connection/tx
2022-01-19 17:03:42 +01:00
Christian Beikov
8783781f7c
Add another TCK test for BigDecimal handling and fix parameter rendering for some Dbs
2022-01-19 17:03:42 +01:00
Andrea Boriero
1e07c4f85f
Fix expression type for arithmetic operations
2022-01-19 17:03:42 +01:00
og151037
4775be3bb8
HHH-15042: add offset-clause usage for DB2zDialect
2022-01-19 15:25:57 +01:00
Yoann Rodière
227930b090
HHH-15022 Test deleting all entities of a given type in a table-per-class hierarchy with a default schema
2022-01-19 14:31:09 +01:00
Gavin King
6072564b93
improve javadoc for @Formula
2022-01-19 13:46:03 +01:00
Gavin King
101de70289
improve javadoc for @JoinFormula-related stuff
2022-01-19 13:33:25 +01:00
Gavin King
47c695bace
remove unused imports
2022-01-19 13:14:55 +01:00
Christian Beikov
659bbc0167
Re-add accidently removed SkipDialects for ManyToOneWithFormulaTest
2022-01-19 12:24:17 +01:00
Steve Ebersole
9e3dc8d3e1
clean up remaining test suite failures
2022-01-18 17:49:55 -06:00
Steve Ebersole
ba024c5475
clean up remaining test suite failures
2022-01-18 17:20:32 -06:00
Steve Ebersole
1dcdec9c15
clean up remaining test suite failures
2022-01-18 17:19:25 -06:00
Steve Ebersole
7437a96b12
clean up remaining test suite failures
2022-01-18 17:16:23 -06:00
Steve Ebersole
e8d8b43bfd
clean up remaining test suite failures
2022-01-18 16:06:47 -06:00
Steve Ebersole
aefb3c3edc
clean up remaining test suite failures
2022-01-18 15:56:24 -06:00
Steve Ebersole
1ad9133871
clean up remaining test suite failures
2022-01-18 14:10:34 -06:00
Christian Beikov
4e5a28deaa
Add support for non-synthetic virtual model parts
2022-01-18 20:04:50 +01:00
Christian Beikov
fb882f56f3
Finalize moving annotations tests and ensure columns are sorted also for collection keys properly
2022-01-18 20:04:50 +01:00
William Burns
1ede36212b
HHH-15037 Criteria Update/Delete with vararg parameters throws NullPointerException
2022-01-18 19:41:41 +01:00
Steve Ebersole
cfb98abf7a
WrongClassException
2022-01-18 12:19:28 -06:00
Andrea Boriero
0ea5528250
Fix criteria mod failing on derby
2022-01-18 16:24:09 +01:00
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
Gavin King
abd63d73ea
clean up warnings and broken Javadoc links on Cache interface
2022-01-10 00:18:27 +01:00