Commit Graph

12594 Commits

Author SHA1 Message Date
Andrea Boriero 67c2c51d47 Re-enabled additional tests 2021-10-25 15:57:39 +02:00
Christian Beikov 6745f71f88 Add support for from-space wide explicit join ordering and thus support entity/cross joins on all JpaFrom elements 2021-10-25 09:15:25 +02:00
Christian Beikov 1456a2dd7f Render implicit joins as nested table group joins instead of sub queries 2021-10-25 09:15:25 +02:00
Christian Beikov 756afb8788 Fix collection table cleanup issues for all strategies 2021-10-25 09:15:25 +02:00
Christian Beikov fa3101c29e Fix join predicate rendering and fix support for implicit joins in the ON clause 2021-10-25 09:15:25 +02:00
Jan Schatteman 8fc0e05930 Re-enable WithClauseTest
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2021-10-25 09:15:25 +02:00
Steve Ebersole f043014ec7 more user-guide basic-type chapter work 2021-10-22 06:42:08 -05:00
Steve Ebersole a3c36af5c6 HHH-14877 - FetchMode.SUBSELECT ignored
- cleanup
2021-10-21 16:47:21 -05:00
Steve Ebersole aef0775946 HHH-14877 - FetchMode.SUBSELECT ignored
- fixed additional tests
2021-10-21 16:47:21 -05:00
Steve Ebersole 96c0b04658 HHH-14877 - FetchMode.SUBSELECT ignored
- fixed Oracle errors related to follow-on locking
2021-10-21 16:47:20 -05:00
Steve Ebersole 653de50aa5 HHH-14877 - FetchMode.SUBSELECT ignored
Worked on FetchMode.SUBSELECT support but also worked on a few general collection fetch issues and a few improvements
2021-10-21 16:47:20 -05:00
Steve Ebersole aca86036d3 HHH-14877 - FetchMode.SUBSELECT ignored
Worked on FetchMode.SUBSELECT support but also worked on a few general collection fetch issues and a few improvements
2021-10-21 16:47:20 -05:00
Steve Ebersole db70fd38dd HHH-14877 - FetchMode.SUBSELECT ignored
Worked on FetchMode.SUBSELECT support but also worked on a few general collection fetch issues and a few improvements
2021-10-21 16:47:20 -05:00
Steve Ebersole e8e62c4d6c HHH-14877 - FetchMode.SUBSELECT ignored 2021-10-21 16:47:20 -05:00
Steve Ebersole b5558307a9 Clean up various legacy "read path" contracts
- clean-up unused Type methods
    * Type#nullSafeGet
    * Type#hydrate
    * Type#resolve
    * Type#getSemiResolvedType
    * Type#semiResolve
    * related
- start removing usage of Tuplizer
- start removing usage of legacy Tuplizer-based Instantiator
- drop `EntityMode` completely
- preliminary clean-up of EntityTuplizer
- preliminary clean-up of ComponentTuplizer
2021-10-21 16:26:50 -05:00
Steve Ebersole c34ea34f6b Clean up various legacy "read path" contracts
- clean-up unused Type methods
    * Type#nullSafeGet
    * Type#hydrate
    * Type#resolve
    * Type#getSemiResolvedType
    * Type#semiResolve
    * related
- start removing usage of Tuplizer
- start removing usage of legacy Tuplizer-based Instantiator
- Drop `EntityMode` completely
2021-10-21 16:26:49 -05:00
Steve Ebersole d2530df5ac Clean up various legacy "read path" contracts
- clean-up unused Type methods
    * Type#nullSafeGet
    * Type#hydrate
    * Type#resolve
    * Type#getSemiResolvedType
    * Type#semiResolve
    * related
- start removing usage of Tuplizer
- start removing usage of legacy Tuplizer-based Instantiator
2021-10-21 16:26:49 -05:00
Steve Ebersole 3efaec2cff Clean up various legacy "read path" contracts
- clean-up unused Type methods
    * Type#nullSafeGet
    * Type#hydrate
    * Type#resolve
    * Type#getSemiResolvedType
    * Type#semiResolve
    * related
- start removing usage of Tuplizer
- start removing usage of legacy Tuplizer-based Instantiator
2021-10-21 16:26:49 -05:00
Steve Ebersole 62f761732d Clean up various legacy "read path" contracts
- clean-up unused Type methods
    * Type#nullSafeGet
    * Type#hydrate
    * Type#resolve
    * Type#getSemiResolvedType
    * Type#semiResolve
    * related
- start removing usage of Tuplizer
- start removing usage of legacy Tuplizer-based Instantiator
2021-10-21 16:26:49 -05:00
Steve Ebersole cf36d17fac Clean up various legacy "read path" contracts
* Type#nullSafeGet
* Type#hydrate
* Type#resolve
* Type#getSemiResolvedType
* Type#semiResolve
* related
2021-10-21 16:26:49 -05:00
Christian Beikov 3d27f61221 Fix non-deterministic time based test 2021-10-20 16:19:22 +02:00
Christian Beikov c63308e501 Setup notifications for PingCAP on TiDB environment 2021-10-20 16:19:22 +02:00
bb7133 ae8bedfa6d update wrong SkipForDialect 2021-10-20 16:19:22 +02:00
bb7133 5bd27eb853 HHH-14576 : Introduce the dialect for TiDB 2021-10-20 16:19:22 +02:00
Fabio Massimo Ercoli 00aa4addec HHH-14890 Add javadoc for interpretToOneKeyDescriptor(s) 2021-10-20 15:54:25 +02:00
Fabio Massimo Ercoli 70a19bae68 HHH-14890 Interpret nested ToOne key descriptor 2021-10-20 15:54:25 +02:00
Fabio Massimo Ercoli 1f3f3e2639 HHH-14890 Test mapped by on embeddable 2021-10-20 15:54:25 +02:00
Christian Beikov 98de63d0a1 Handle keywords initialization for dialects through DialectResolutionInfo and un-deprecate Dialect#getKeywords 2021-10-20 15:02:48 +02:00
Christian Beikov ae9d99a32c Handle the fact that PostgreSQL uses a backslash as default escape character in the like predicate 2021-10-20 15:02:48 +02:00
Andrea Boriero 9c2c7e13dd HHH-14875 Slow query log seems to be missing in Hibernate 6.0.0.Beta1 2021-10-19 17:30:54 +02:00
Andrea Boriero dd36e349b1 Merge branch 'wip/6.0_merge' into wip/6.0 2021-10-19 16:36:48 +02:00
Christian Beikov a4e406a54e * Add SqlTypes as analogy to java.sql.Types containing constants for Hibernate specified types
* Add FormatMapper for a pluggable JSON serialization and deserialization strategy
* Add native UUID type support for H2, Cockroach, PostgreSQL
* Add native INET type support for Cockroach, PostgreSQL
* Add native JSON type support for MySQL, Cockroach, PostgreSQL
* Add native INTERVAL SECOND type support for H2, Cockroach, PostgreSQL
* Add fallback JdbcTypes for new SqlTypes
* Register column types for new SqlTypes
* Add support for BasicTypeReference in TypedParameterValue
* Fix a lot of method signatures with respect to type parameter issues
* Fix CustomType, UserType and EnhancedUserType with respect to type parameters
* Get rid of StringRepresentableType and some other unused deprecated methods
2021-10-19 16:33:36 +02:00
Christian Beikov 541302a511 Get rid of most basic type subclasses 2021-10-19 16:33:36 +02:00
Christian Beikov 4f861e13ba Properly handle SQLFunction registrations 2021-10-19 16:33:36 +02:00
Andrea Boriero d2906c022e Upgrade org.asciidoctor.jvm.convert to 3.3.2 2021-10-19 16:23:42 +02:00
Andrea Boriero 7f46f11f3b Merge remote-tracking branch 'upstream/main' into wip/6.0_merge 2021-10-19 16:23:07 +02:00
Andrea Boriero 6ddf3530fa EntityValuedFetchable add isOptional and isUnwrapproxy methods 2021-10-19 13:13:47 +02:00
Andrea Boriero 6ffcee44a6 search second level cache if proxy entity metamodel has subclasses 2021-10-19 13:13:47 +02:00
Andrea Boriero 1ffa1347a3 Rename ToOneAttributeMapping isInternalLoadNullable to isOptional 2021-10-19 13:13:47 +02:00
Andrea Boriero f02ffde061 Re-enabled additional tets 2021-10-19 13:13:47 +02:00
Andrea Boriero ad5326a8ce Re-enabled additional tests 2021-10-19 13:13:47 +02:00
Andrea Boriero 73452ae61f Fix ToOne with Ignore not found lazy loading 2021-10-19 13:13:47 +02:00
Andrea Boriero d95dad597c Re-enabled additional tests 2021-10-19 13:13:47 +02:00
Andrea Boriero 449d4adc27 Fix cascade loader not join associations after first collection 2021-10-19 13:13:47 +02:00
Andrea Boriero 57e2d25dd3 Re-enabled additional tests 2021-10-19 13:13:47 +02:00
Andrea Boriero dcab4bf7bf Fix unfetched collection assembling 2021-10-19 13:13:47 +02:00
Andrea Boriero d616f2aa55 Fix ToOneAttributeMapping tableGroup creation 2021-10-19 13:13:47 +02:00
Andrea Boriero fa694c5d41 Re-enabled additional tests 2021-10-19 13:13:47 +02:00
Andrea Boriero 563ee45530 Fix delayed entity fetch loading trying to instantiate abstract class 2021-10-19 13:13:47 +02:00
Andrea Boriero 7eccda9f36 Fix java.lang.ClassCastException: org.hibernate.internal.StatelessSessionImpl cannot be cast to org.hibernate.event.spi.EventSource 2021-10-19 13:13:47 +02:00