Commit Graph

11684 Commits

Author SHA1 Message Date
Gavin King 3c72f6fe12 cleanup lots of warnings, especially generics-related 2021-03-26 18:45:18 +01:00
Gavin King d193a9409a simply remove @Tuplizer completely 2021-03-25 18:54:41 +01:00
Gavin King 20e855acf1 use wildcard instead of raw type in annotation members 2021-03-25 18:54:41 +01:00
Gavin King aeee127e59 deprecate @Tuplizer since EntityTuplizer is deprecated
and add a constraint to the class type
2021-03-25 18:54:41 +01:00
Gavin King 4e22929c3c remove deprecated FlushModeType
that was already removed from FlushMode
2021-03-25 18:54:41 +01:00
Gavin King bbf4619fcd remove deprecated Sort annotation 2021-03-25 18:54:41 +01:00
Gavin King d0afd6359e remove deprecated and unused members of QueryHints 2021-03-25 18:54:41 +01:00
Gavin King 9dcbe4c2d1 get rid of useless members of @Tuplizer annotation
Get rid of both the deprecated way and the unimplemented (!) way
of doing something that was never useful to begin with.
2021-03-25 18:54:41 +01:00
Gavin King 3b3487a74e remove deprecated @Entity annotation 2021-03-25 18:54:41 +01:00
Gavin King 50363dcc2c remove deprecated CascadeType.EVICT 2021-03-25 18:54:41 +01:00
Gavin King c89319f3e9 remove AccessType annotation 2021-03-25 18:54:41 +01:00
Gavin King 4b56842c7f make @AttributeAccessor annotation typesafe 2021-03-25 18:32:21 +01:00
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
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