Commit Graph

12584 Commits

Author SHA1 Message Date
Christian Beikov 65016aaf42 Implement envers order fragment support by introducing an internal sqm function and re-enable all envers tests 2021-09-02 16:54:46 +02:00
Christian Beikov 04ac8b13c3 Fix some envers tests 2021-09-02 16:54:46 +02:00
Christian Beikov 062c3cd724 Make use of distinct predicate in envers 2021-09-02 16:54:46 +02:00
Christian Beikov 86000e9f22 Capture whether a foreign key is constrained and allow skipping the foreign key access optimization explicitly 2021-09-02 16:54:46 +02:00
Christian Beikov f23ecfc58e Implement type name preserving for envers and properly escape string values when transforming to literals 2021-09-02 16:54:46 +02:00
Christian Beikov acc5d0d977 Re-implement nested property access in getPropertyValue 2021-09-02 16:54:46 +02:00
Christian Beikov c16731d14a Cleanup docs, implement appendHqlString for DiscriminatorSqmPath and fix MapMember type 2021-09-02 16:54:46 +02:00
Christian Beikov 76bfbccbe6 Fix issues with parameterized user type by restoring what Hibernate 5 did 2021-09-02 16:54:46 +02:00
Christian Beikov f2598d70b9 Fix secondary table join component ordering issue 2021-09-02 16:54:46 +02:00
Andrea Boriero 20d09fafe4 Throw Mapping exception when multiple component for the same java class has different property mapping 2021-09-01 10:34:55 +02:00
Jan Schatteman bf57f31a8f Move some tests from test.annotations to orm.test.annotations
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2021-08-31 17:25:49 +02:00
Andrea Boriero a9725f4fca Re-enabled additional envers tests 2021-08-31 16:17:24 +02:00
Andrea Boriero c223ea16cb Fix Sybase issue storing negative values for Byte attributes 2021-08-31 14:54:40 +02:00
Andrea Boriero f3ff509095 Fix resolveMappingExpressable for SqmFieldLiteral 2021-08-31 14:54:40 +02:00
Christian Beikov 118b160b02 Introduce special str function implementation for T-SQL 2021-08-31 14:52:59 +02:00
Christian Beikov b4a82f0854 Introduce TupleType for modelling structural types 2021-08-31 14:52:59 +02:00
Christian Beikov 1a3629a571 Fix some tests and config. Enable all documentation tests. Add profile for PG13 2021-08-31 14:52:59 +02:00
Andrea Boriero bf79ff6cfd Fix Sybase failure 2021-08-31 09:17:15 +02:00
Andrea Boriero bb7b524e40 Re-enabled additional tests 2021-08-31 09:17:15 +02:00
Steve Ebersole 6f60cd8918 improve discriminator handling
- use fetch/result as the distinction for whether to select Class / entity-name or the "underlying type" value for discriminator.  The only time we'd have a DomainResult for the discriminator is for Query where the type is selected; all other times want the underlying type
2021-08-30 13:32:52 -05:00
Andrea Boriero aaba4767fe Fix Sybase Connection#getSchema() throws an exception 2021-08-30 18:34:42 +02:00
Christian Beikov c01734adca Rely on fetch of version attribute mapping instead of creating domain result for version mapping for entity initializers to allow overriding the selection expression 2021-08-30 17:18:02 +02:00
Christian Beikov 58440ed42d Fix failing EmbeddableOverrideTest on old Oracle versions due to too long identifier 2021-08-30 17:18:02 +02:00
Christian Beikov 75d2ada4d8 Fix component and foreign- as well as primary-key properties/columns ordering 2021-08-30 17:18:02 +02:00
Andrea Boriero cdeb95a4d5 Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-08-30 14:07:19 +02:00
Sanne Grinovero ae80deb63c Upgrade the Migration Guide for 5.6 2021-08-27 15:25:35 +01:00
Hibernate-CI 5e4b3bd321 5.6.0-SNAPSHOT 2021-08-27 09:39:27 +00:00
Hibernate-CI 8f3cd7476d 5.6.0.Beta1 2021-08-27 09:34:52 +00:00
Steve Ebersole 3da7de2bce temporarily re-disable hibernate-spatial 2021-08-26 12:18:15 -05:00
Steve Ebersole 84a4938a52 Jenkinsfile - hibernate-spatial 2021-08-26 11:42:39 -05:00
Steve Ebersole d1ab98df85 fix Test tasks in terms of Gradle task caching 2021-08-26 11:36:51 -05:00
Steve Ebersole 476ea9230e re-enable `hibernate-spatial` 2021-08-26 09:44:16 -05:00
Sanne Grinovero 9267c5e6a6 HHH-14792 Remove support for bytecode enhancement via Javassist 2021-08-26 15:22:30 +01:00
Gail Badner a70b994526 HHH-14744 : Refactor contextual information for SchemaManagementTool to be more easily extended by Hibernate Reactive
1. Add CockroachDB192Dialect#getNameQualifierSupport and #buildIdentifierHelper.
2. Change semantics for AbstractInformationExtractorImpl#processIndexInfoResultSet
   to be more friendly to subclasses.
2021-08-25 15:31:45 +01:00
Gail Badner f4f4d49da0 HHH-14744 : Refactor contextual information for SchemaManagementTool to be more easily extended by Hibernate Reactive
Add MySQLDialect#getNameQualifierSupport
2021-08-25 15:31:45 +01:00
Gail Badner b17a46cbd5 HHH-14744 : Refactor contextual information for SchemaManagementTool to be more easily extended by Hibernate Reactive
Remove SequenceInformationExtractorPostgresSQLDatabaseImpl and PostgreSQL10Dialect#getSequenceInformationExtractor
2021-08-25 15:31:45 +01:00
Gail Badner 352eb2fae1 HHH-14744 : HHH-14744 : Refactor contextual information for SchemaManagementTool to be more easily extended by Hibernate Reactive
Move methods from PostgreSQL10Dialect into PostgreSQL81Dialect; remove @GeneratedValue from SchemaUpdateTest
2021-08-25 15:31:45 +01:00
Gail Badner 3720e5fac4 HHH-14744 : HHH-14744 : Refactor contextual information for SchemaManagementTool to be more easily extended by Hibernate Reactive
Remove PostgreSQL10Dialect#buildIdentifierHelper since it is no longer needed.
2021-08-25 15:31:45 +01:00
Gail Badner 42b8be7852 HHH-14744 : Refactor contextual information for SchemaManagementTool to be more easily extended by Hibernate Reactive
Correct specifications for row order of some ResultSets.
2021-08-25 15:31:45 +01:00
Gail Badner 95ef2ae41d HHH-14744 : Refactor contextual information for SchemaManagementTool to be more easily extended by Hibernate Reactive
Add Javadoc and other minor changes to make it easier to review
2021-08-25 15:31:45 +01:00
Gail Badner 8aae155c50 HHH-14744 : Refactor contextual information for SchemaManagementTool to be more easily extended by Hibernate Reactive
Move new methods out of SchemaManagementTool and into ExtractionTool
2021-08-25 15:31:45 +01:00
Gail Badner 800436ee88 HHH-14744 : Checkstyle fixes 2021-08-25 15:31:45 +01:00
Gail Badner 4bb3de09a1 HHH-14744 : Refactor contextual information for SchemaManagementTool to be more easily extended by Hibernate Reactive
HHH-14744 : Restore databases/pgsql/resources/hibernate.properties and gradle/databases.gradle
2021-08-25 15:31:45 +01:00
Hibernate-CI a083481c5b 5.6.0-SNAPSHOT 2021-08-25 14:07:42 +00:00
Hibernate-CI 180af749c6 5.5.7.Final 2021-08-25 14:02:51 +00:00
Andrea Boriero 39ee0236be Fix problem with DB2, PostgerSQL with CTE table names for quoted tables 2021-08-24 16:16:25 +02:00
Andrea Boriero 3f87ed17ee Re-enabled additional tests 2021-08-24 16:16:25 +02:00
Andrea Boriero 2622ce70d2 Re-enabled envers tests 2021-08-24 11:43:00 +02:00
Andrea Boriero a8201bacdb Fix Sybase failing test 2021-08-24 10:18:01 +02:00
Andrea Boriero 718d1e4380 Fix compilation errors 2021-08-24 10:18:01 +02:00