Commit Graph

11837 Commits

Author SHA1 Message Date
Andrea Boriero 86c024a245 Fix Cannot resolve path with EmbeddedId hql queries not using aliases 2021-03-18 11:24:35 +01:00
Karel Maesen 5324db9f25 Docker_db improvements
- enable experimental settings for cockroachdb
- reduce shmni setting for Hana
2021-03-18 09:49:21 +01:00
Steve Ebersole 31b1627baa HHH-14506 - IdentifierGenerator changes
- HHH-14491 - Apply default allocation/increment size for @GeneratedValue(AUTO)
- HHH-14492 - Prefer sequence-per-entity (hierarchy) by default
- HHH-14497 - Drop `hibernate.id.new_generator_mappings` & `hibernate.model.generator_name_as_sequence_name`
- enabled existing tests and convert to JUnit5
2021-03-17 18:00:22 -05:00
Karel Maesen 8eb3354ed9 HHH-14037 Add PostgisPG10Dialect 2021-03-17 22:33:01 +01:00
Joseph B. Ottinger d963acf443 HHH-14508 : Fixing invalid conversion specifier 2021-03-17 15:06:06 -05:00
Karel Maesen aba49ced1f HHH-14454 Add SpatialDialect for CockroachDB 2021-03-16 23:25:22 +01:00
Jan Schatteman 7695f03bf9 HHH-14503 - Migration of tests from jpa/test to orm/test/jpa
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2021-03-16 17:58:45 +01:00
Christian Beikov 3f2afe6b40 Move tests from cfg, dialect, id/enhanced, jdbc to orm/test and fix SQL Server 2005 limit handler issue, as well as sqm function return type resolver issue 2021-03-16 17:58:34 +01:00
Andrea Boriero 222e3fb697 Fix wrong order in SQL TableGroupJoin rendering 2021-03-16 13:49:03 +01:00
Andrea Boriero 6c3d0d86dc Merge remote-tracking branch 'upstream/master' into wip/6.0 2021-03-16 10:43:42 +01:00
Sanne Grinovero 2c39bc0ac6 HHH-14502 Iterations and memory retention improvements for processing of PropertyContainer metadata 2021-03-15 17:13:27 +00:00
Andrea Boriero 9f22dafe17 HHH-14499 Explicitly listing mapped classes which are @MappedSuperClass might break narrowing down of generics 2021-03-15 16:44:21 +00:00
Andrea Boriero 394d6ab2d4 HHH-14499 Add test for issue 2021-03-15 16:44:21 +00:00
Yoann Rodière 1e3207dbe9
Move Hibernate Github Bot configuration to the right directory
Signed-off-by: Yoann Rodière <yoann@hibernate.org>
2021-03-15 15:41:13 +01:00
Yoann Rodière c9c5a4172e
Add Hibernate Github Bot configuration
Signed-off-by: Yoann Rodière <yoann@hibernate.org>
2021-03-15 15:35:37 +01:00
Andrea Boriero d28b719c2c Merge remote-tracking branch 'upstream/master' into wip/6.0 2021-03-15 10:46:40 +01:00
Christian Beikov b6ba93c786 Increase maximum open cursors 2021-03-12 14:53:13 +01:00
randymay 44d78d9b85 HHH-12076 Fix index out of bounds exception and allow table group joins for collection joins as well 2021-03-12 14:53:13 +01:00
Sanne Grinovero 7f814107a8 HHH-14494 Upgrade the PostgreSQL JDBC driver used for testing to v. 42.2.19 2021-03-12 12:54:30 +01:00
Sanne Grinovero fe1e098ba1 HHH-14485 Upgrade integration tests to use Oracle JDBC driver version 21.1 2021-03-12 12:04:45 +01:00
Chris Cranford 5dfbaf58ef Lookup RevisionTypeType rather than re-create CustomType instances 2021-03-12 08:32:07 +01:00
Chris Cranford fd73a1af85 Use dialect default precision for additional types 2021-03-12 08:32:07 +01:00
Chris Cranford 79a0c325e9 Move null check into lambda for DelayedCollectionInitializer 2021-03-12 08:32:07 +01:00
Chris Cranford c2569bde4c Pass sorted collection comparator as ctor argument 2021-03-12 08:32:07 +01:00
Chris Cranford 5cf052775b Remove UnsupportedOperationException in ctor 2021-03-12 08:32:07 +01:00
Chris Cranford 44719e9bb2 Avoid NPE when resolving collection key for delayed collections 2021-03-12 08:32:07 +01:00
Chris Cranford 71f633a8f7 Set comparator on Persistent SortedSet and SortedMap collection instances 2021-03-12 08:32:07 +01:00
Chris Cranford 4292d118ad Enforce dialect's default timestamp precision 2021-03-12 08:32:07 +01:00
Chris Cranford 2cf8131f6e Fix JdbcParameterBinding with RevisionType enum 2021-03-12 08:32:07 +01:00
Chris Cranford 87a40f6c2f Set strategySelector before reflectionOptimizer is resolved 2021-03-12 08:32:07 +01:00
Christian Beikov 06d2a0c23e Use FK descriptor instead of target entity identifier 2021-03-12 08:06:48 +01:00
Christian Beikov 52684bba26 Fix concurrency issue in QueryCacheTest 2021-03-12 08:06:33 +01:00
Christian Beikov d1445efd82 HHH-9663 Implement support for orphan removal of assocations within embeddables 2021-03-12 08:06:33 +01:00
Jaanus Hansen 8101e3e47d HHH-9663 added failing test case for Embeddable orphanRemoval 2021-03-12 08:06:33 +01:00
Andrea Boriero c58227241f Merge remote-tracking branch 'upstream/master' into wip/6.0 2021-03-11 10:52:24 +01:00
Steve Ebersole 9952c09843 HHH-14491 - Apply default allocation/increment size for @GeneratedValue(AUTO)
HHH-14492 - Prefer sequence-per-entity (hierarchy) for @GeneratedValue(AUTO) by default

- added test as @FailureExpected to track this into 6.0
2021-03-10 16:23:42 -06:00
Christian Beikov 682678fbe5 Introduce FunctionExpression in SQL AST and remove shallowness handling in sqm to sql converter 2021-03-10 18:39:17 +01:00
Andrea Boriero 7934625688 Fix derby test failure 2021-03-10 18:37:22 +01:00
Andrea Boriero 60c4fbe099 SemanticQueryBuilder#visitPathExpression() cannot cast DomainPathPart to SqmExpression 2021-03-10 18:37:22 +01:00
Andrea Boriero 15b52460f3 BaseSqmToSqlAstConverter#consumeEntityJoin() postpone tableGroupJoin.applyPredicate after consuming implicit joins 2021-03-10 18:37:22 +01:00
Andrea Boriero 1905e8bba3 HHH-14482 Do not discard prior implicit join by key 2021-03-10 14:54:34 +01:00
Chris Cranford a022127428 HHH-14482 Do not discard prior implicit join by key 2021-03-10 11:00:56 +01:00
Andrea Boriero f2b79eef67 Fix issue with Column#getSqlType() for Columns which Type is an EntityType not referring to a PK 2021-03-10 10:54:38 +01:00
Jan Schatteman 2fb1cdcae1 Migrate more tests from jpa/test to orm/test/jpa
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2021-03-09 15:43:49 +01:00
Christian Beikov 56d90a0aa9 Implement non-select native query support and fix parameter binding ordering issues for select native queries 2021-03-09 09:40:55 +01:00
Christian Beikov ce41447875 Migrate java type descriptor tests and fix JdbcTimestampTypeDescriptor 2021-03-09 09:09:49 +01:00
Christian Beikov a3d2f1937e Implement support for delayed collections with FKs based on non-primary keys 2021-03-09 09:09:07 +01:00
Christian Beikov 350fd81cf5 Switch from java.lang.Class to java.lang.reflect.Type in the metamodel to support parameterized types 2021-03-09 09:01:46 +01:00
Christian Beikov 4a1a084def Fix StaticMetadataTest 2021-03-08 15:20:24 +01:00
Steve Ebersole 69564cd7c8 HHH-14478 : Allow DialectResolvers to be discovered by ServiceLoader 2021-03-08 08:14:05 -06:00