Commit Graph

12123 Commits

Author SHA1 Message Date
Gavin King ef69465f48 move several new types out of the root package
The namespace org.hibernate is already much too cluttered and
we should try hard to not make it worse in H6.

Furthermore, some of these things look to be of more interest
to developers of Hibernate than to users.

Now, I'm not sure that org.hibernate.query is absolutely the
best place either, but it's at least better.
2021-03-25 17:33:54 +01:00
gavin af84daa416 remove some deprecated code
- OptimisticLockException
- MappingNotFoundException
- BasicQueryContract

these types were already deprecated in 5.
2021-03-25 17:30:24 +01:00
Andrea Boriero 9d6306cac2 re-enabled AggressiveReleaseTest tests 2021-03-25 17:09:54 +01:00
Christian Beikov cee56a5c42 Fix tests for PostgreSQL 2021-03-25 12:52:38 +01:00
Christian Beikov 9c175d0de2 Fix issues in PackagedEntityManagerTest 2021-03-25 11:57:29 +01:00
Christian Beikov 9612c838ed Fix test suite hanging for PostgreSQL and MariaDB 2021-03-25 09:22:59 +01:00
Christian Beikov 2b06123635 Try dropping local tables in same connection 2021-03-25 09:20:39 +01:00
Steve Ebersole fd470d1387 re-enable tests
re-organize some tests
2021-03-24 16:10:43 -05:00
Steve Ebersole 523113d2ca re-enable tests
re-organize some tests

fixed EnumType mapping from hbm.xml
various fixes in HQL, Criteria and parameter handling related to enum values
2021-03-24 15:34:14 -05:00
Andrea Boriero 1114da8b8f Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-03-24 09:45:58 +01:00
Guillaume Smet 2c1aedd176 HHH-12867 Add test case 2021-03-24 09:40:11 +01:00
Steve Ebersole edcd7cfdc4 re-enable tests
re-organize some tests
fixed more missing `@Entity#name`
2021-03-23 14:53:34 -05:00
Steve Ebersole e04a9bff0d re-enable tests
re-organize some tests
2021-03-23 13:13:12 -05:00
Steve Ebersole 1caebf7cc6 re-enable tests
re-organize some tests
2021-03-22 17:28:28 -05:00
Steve Ebersole 1f028095cf re-enable tests
remove org.hibernate.type.descriptor.java.JavaTypeDescriptorRegistry
re-organize some tests
2021-03-22 15:40:25 -05:00
Karel Maesen e9dd160d7f HHH-14090 Add MariaDB103SpatialDialect 2021-03-22 20:23:07 +01:00
Mark Rotteveel e76da92b04 HHH-14484 Improve support for Firebird 4
Also includes:
- Some general Firebird improvements
- Tweak tests to run (or be skipped) against Firebird
- Fix to BooleanDecoder
- Add statistical/linear regression function definitions in CommonFunctionFactory
- Added the relevant functions to other dialects where I could verify they apply
- Fix for unions with parenthesized selects
- Add casts for parameters in functions
2021-03-22 19:08:05 +01:00
Andrea Boriero 0864c6e711 Fix test failures 2021-03-22 17:56:34 +01:00
Andrea Boriero 619a123c8d Fix DriverManagerRegistrationTest failure 2021-03-22 14:22:24 +01:00
Andrea Boriero c3df793dbe HHH-14509 : Git master -> main branch renaming 2021-03-22 12:38:00 +01:00
Andrea Boriero 96d103215c Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-03-22 12:26:31 +01:00
Steve Ebersole 6d49d1c49f re-enable tests 2021-03-19 16:24:59 -05:00
Steve Ebersole cc105596b4 re-enable tests 2021-03-19 15:51:45 -05:00
Steve Ebersole 12fb58f6b9 re-enable tests 2021-03-19 15:25:08 -05:00
Steve Ebersole 2589671fa1 re-enable tests 2021-03-19 13:56:57 -05:00
Steve Ebersole 725faa258f HHH-14509 : Git master -> main branch renaming 2021-03-19 10:59:03 -05:00
Steve Ebersole 6a0d848f98 6.0.0.Alpha7 release, manual style 2021-03-18 16:28:10 -05:00
Steve Ebersole 7346cf2f8c 6.0.0.Alpha7 release, manual style 2021-03-18 16:25:59 -05:00
Steve Ebersole 19c02f756d temporarily remove `project-template` module as it causes problems with ci-release (specifically some issue with uploading to BinTray) 2021-03-18 16:00:32 -05:00
Steve Ebersole 124959fa59 temporarily remove `project-template` module as it causes problems with ci-release (specifically some issue with uploading to BinTray) 2021-03-18 15:50:22 -05:00
Christian Beikov e29f616d77 Add Oracle specific SqlTypeDescriptor for Boolean that binds with type BIT for null boolean 2021-03-18 20:19:03 +01:00
Christian Beikov 5b0b822717 Move tests to orm/test and fix query cache stats, native query variable substitution and named query support as loader 2021-03-18 20:19:03 +01:00
Andrea Boriero 3e32e15c0a Avoid new join sqm path creation when it already exists 2021-03-18 13:18:28 -05:00
Andrea Boriero 4144c4af4c Fix Criteria NPE for named parameters when paramClass is a Collection 2021-03-18 15:06:55 +01:00
Steve Ebersole 0a1527186b Removed `@ExtendWith( DialectFilterExtension.class )` from `@SessionFactory` 2021-03-18 08:58:20 -05:00
Gautham Kumar b4bf58188c HHH-14449 : ResultStream closing is not properly handled 2021-03-18 07:22:42 -05:00
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