Commit Graph

12049 Commits

Author SHA1 Message Date
Christian Beikov ff9e9eebc9 HHH-13946 Create Jakarta artifacts for hibernate-core, hibernate-envers, hibernate-jpamodelgen and hibernate-testing 2021-04-30 11:41:05 +02:00
Christian Beikov eb8b8620d7 HHH-14274 Support for jakarta prefixed String properties for integrations 2021-04-30 11:41:05 +02:00
Christian Beikov 14b35bb3b6 HHH-14273 Support for jakarta.persistence prefixed String properties 2021-04-30 11:41:05 +02:00
Andrea Boriero cd97e59d21 HHH-14513 Move publishing release artifacts from BinTray 2021-04-29 20:59:18 +02:00
Andrea Boriero 9bcf10fb3f HHH-14513 Move publishing release artifacts from BinTray 2021-04-29 20:59:18 +02:00
Steve Ebersole 9348952507 support for selecting of joined plural attributes 2021-04-29 13:02:50 -05:00
Steve Ebersole 19fbf18908 minor renaming and `#toString` fixups 2021-04-29 13:02:50 -05:00
Christian Beikov c096b463ee Emulate null ordering for CockroachDB 2021-04-29 13:43:52 +02:00
Andrea Boriero 127ee26f82 HHH-14513 Move publishing release artifacts from BinTray 2021-04-29 13:29:42 +02:00
Christian Beikov 33b0087f2a Emulate null ordering for CockroachDB 2021-04-29 12:16:05 +02:00
Sanne Grinovero 0a4cd8e800 HHH-14575 Adapt BasicProxyFactoryImpl to be more native-image friendly 2021-04-28 10:31:27 +01:00
Andrea Boriero 9872fd9f0f HHH-14503 - Migration of tests from jpa/test to orm/test/jpa 2021-04-27 15:52:05 +02:00
Jan Schatteman 4b184fa0f1 HHH-14503 - Migration of tests from jpa/test to orm/test/jpa
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2021-04-23 00:04:41 +02:00
Yoann Rodière 1023ee02b9 HHH-14571 Always report identifiers as initialized when using enhanced proxies 2021-04-22 17:25:18 +02:00
Yoann Rodière 6bc8421972 HHH-14571 Test that the identifier is always reported as initialized by Hibernate.isPropertyInitialized when using enhanced proxies 2021-04-22 17:25:18 +02:00
Andrea Boriero b27b414511 Fix EmbeddedForeignKeyDescriptor creation when o.h.mapping.Value has no columns, Re-enabled additional tests 2021-04-22 13:52:16 +02:00
Christian Beikov 12f1c7917e HHH-14475 Don't render subquery for collection functions 2021-04-22 12:19:45 +02:00
Burkhard Graves 96980606fd HHH-14475 - select indices from ternary relation is broken since 5.4.13 (at least in mariadb) 2021-04-22 12:19:45 +02:00
Gavin King 179327cd40 [HHH-14031] on H2 1.4.200 and above use localtime/localtimestamp
As suggested by @famod we need to use localtime instead
or current_time because of changes in H2.

In particular the JDBC driver now refuses to convert
TIME/TIMESTAMP WITH TIME ZONE to plain TIME/TIMESTAMP.
2021-04-22 12:18:36 +02:00
Andrea Boriero 15e49692e9 Fix wrong creation of new instances for non aggregated id with no IdClass 2021-04-22 10:32:03 +02:00
Christian Beikov 9080872946 Infer parameter bind type for null parameter values instead of using a default 2021-04-22 10:16:52 +02:00
Andrea Boriero 8d981a82bb Merge branch 'wip/6.0_merge_1' into wip/6.0_merge_3 2021-04-20 09:46:56 +02:00
Andrea Boriero c48606a5aa Merge remote-tracking branch 'upstream/main' into wip/6.0_merge_1 2021-04-20 09:45:47 +02:00
Christian Beikov 4330d7345b
Checkstyle fix 2021-04-20 08:42:16 +02:00
Steve Ebersole 607234e7bf re-enable tests
re-organize some tests
o.h.test.hql.ParameterTest -> LegacyParameterTests
bug with binding ordinal parameter lists
created "standard domain model" for Hibernate's legacy Animal model
2021-04-19 16:44:25 -05:00
Steve Ebersole cebb9d7649 re-enable tests
re-organize some tests
o.h.test.hql.EntityJoinTest
fixed RIGHT JOIN handling
2021-04-19 14:34:48 -05:00
Yoann Rodière 8389b1a7a2 HHH-14567 Do not reuse query plans after session filters changed 2021-04-19 17:58:57 +02:00
Yoann Rodière 3bac846de2 HHH-14567 Test enabling filters after query creation but before query execution 2021-04-19 17:58:57 +02:00
Yoann Rodière b0abe9f37e HHH-14563 Remove the DOM4J dependency from hibernate-enhance-maven-plugin
As far as I can tell, this was only necessary as a transitive dependency
of Hibernate ORM.
2021-04-19 15:39:35 +02:00
Yoann Rodière d7e85a3c3c HHH-14563 Clarify that hibernate-spatial only needs dom4j for tests
For org.hibernate.spatial.testing.TestDataReader, to be precise.
2021-04-19 15:39:35 +02:00
Yoann Rodière 4264bc55ac HHH-14563 Remove the DOM4J dependency from hibernate-core 2021-04-19 15:39:35 +02:00
Yoann Rodière 87a3e0a5d8 HHH-14563 Remove a few obsolete references to DOM4J entity-mode
This mode was removed literally a decade ago.
2021-04-19 15:39:35 +02:00
Yoann Rodière b076216e84 HHH-14563 Remove XmlMappingOptions
We don't need that anymore: XML mapping is either enabled or disabled,
there are no other options. So a boolean will do.
2021-04-19 15:39:35 +02:00
Yoann Rodière 6f5f6b32c3 HHH-14563 Remove DOM4J-based XML mapping
Use JAXB-based XML mapping everywhere.
2021-04-19 15:39:35 +02:00
Yoann Rodière 194e53a0fb HHH-14563 Remove legacy tests for DOM4J-based XML mapping 2021-04-19 15:39:35 +02:00
Yoann Rodière 4f7bb75ec7 HHH-14529 Fix access type being ignored when defined at the entity level in orm.xml
That's a bug I introduced when I migrated code from dom4j to jaxb.
2021-04-19 15:39:35 +02:00
Yoann Rodière 5b830f3f5e HHH-14529 Fix invalid order of elements in orm.xml files used for tests
Surprisingly, the XSD does mandate a specific order for some elements,
including "entity", "embeddable" and the children of "attributes".

It turns out we were allowing a wrong order with the dom4j
implementation, but we no longer do with the jaxb implementation.
2021-04-19 15:39:35 +02:00
Yoann Rodière 6723ed4626 HHH-14529 Fix incorrect attribute name for @NamedEntityGraph in JPAXMLOverriddenAnnotationReader 2021-04-19 15:39:35 +02:00
Andrea Boriero 6f75d96a99 HHH-14549 Collection with default field initializer will always be empty 2021-04-19 14:14:48 +02:00
Andrea Boriero 7620e0e395 HHH-14549 Add test for issue 2021-04-19 14:14:48 +02:00
Jan Schatteman 107aab03eb Added test for non-select criteria queries
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2021-04-16 12:14:45 -05:00
Christian Beikov 9cea757979 Move unionsubclass tests and implement better union subclass support 2021-04-16 18:50:31 +02:00
Jan Schatteman 9e66c77749 Correction to the QuerySqmImpl constructor used for criteria queries
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2021-04-16 10:34:11 -05:00
Christian Beikov 4f6019d524 Cleanup case when handling and implement parameter handling for case result arms 2021-04-16 07:27:19 -05:00
Andrea Boriero badc99705a Merge remote-tracking branch 'upstream/main' into wip/6.0_merge 2021-04-16 13:19:16 +02:00
Christian Beikov df9d285f2c Implement support for avoiding joins when accessing FK keys 2021-04-16 10:35:05 +02:00
Karel Maesen 2aa2bee255
HHH-11490 Fix for UUID mapping conflict
* HHH-11490 Fix for UUID mapping conflict

* HHH-11490 Custom ValueBinder implementation
2021-04-15 20:02:48 +02:00
Steve Ebersole c74e5ef595 re-enable tests
re-organize some tests
continuing with o.h.test.hql
improve cast-target handling
2021-04-15 12:51:02 -05:00
Steve Ebersole b31f2c02d7 re-enable tests
re-organize some tests
CastNullSelectExpressionTest (not-implemented-yet)
2021-04-15 11:42:07 -05:00
Steve Ebersole 4917d7c6bd re-enable tests
re-organize some tests
continuing with o.h.test.hql
improve cast-target handling

https://github.com/hibernate/hibernate-orm/discussions/3889
2021-04-15 11:41:43 -05:00