Christian Beikov
710ebe57b0
Get rid of using specialized BasicType implementations and references to those and instead use a BasicTypeReference that is lazily resolved
2021-10-07 08:15:53 +02:00
Christian Beikov
1cb6ff8916
Cleanup naming of JavaTypeDescriptor and JdbcTypeDescriptor implementations. Get rid of PrimitiveType, IdentifierType, DiscriminatorType and AllowableTemporalParameterType
2021-10-07 08:15:53 +02:00
Christian Beikov
653f62ac60
Move VersionType logic to VersionJavaTypeDescriptor
2021-10-07 08:15:53 +02:00
Christian Beikov
81e66fa970
Get rid of LiteralType
2021-10-07 08:15:53 +02:00
Christian Beikov
9e83129fc3
Change JavaTypeDescriptor#fromString to accept a CharSequence instead of String and introduce CharSequence utilities to avoid creating intermediate strings
2021-10-05 15:18:38 +02:00
Andrea Boriero
8c40de9cff
Merge remote-tracking branch 'upstream/main' into wip/6.0_merge_main_7
2021-10-01 11:34:10 +02:00
Christian Beikov
05f643f208
Move some more jpa.test subpackages to orm.test
2021-09-30 13:52:31 +02:00
Steve Ebersole
8a8a92ca5e
HHH-14844 - Drop JACC integration
2021-09-29 01:08:07 -05:00
Steve Ebersole
986d65a288
HHH-14837 - Move to Jakarta EE
...
More settings work
2021-09-28 19:01:28 -05:00
Steve Ebersole
828b96522c
HHH-14837 - Move to Jakarta EE
...
fix references to JPA as Jakarta Persistence
2021-09-27 15:13:33 -05:00
Steve Ebersole
7bc1d55cdd
improved aggregated javadoc generation
2021-09-27 08:21:36 -05:00
Steve Ebersole
089a3f86ae
HHH-14837 - Move to Jakarta EE
...
preliminary transformation;
only `javax.persistence.*` settings supported atm
2021-09-27 08:21:27 -05:00
Steve Ebersole
bd2f8271bd
fix aggregateJavadoc task config
2021-09-23 08:32:46 -05:00
Karel Maesen
3995c644d1
HHH-14800 Implements suggestions from code review
...
- set version in deprecated Postgis dialects
- fast path for Contributor resolution
- add TODO label for Ignored tests
2021-09-21 11:55:41 +02:00
Karel Maesen
9316c161c7
HHH-14802 Update CockroachDB support for 6
2021-09-21 11:55:41 +02:00
Christian Beikov
77c1370e45
HHH-14642, HHH-13717 Various JPA Criteria related fixes
...
* Get rid of unnecessary whitespace and optional keywords in generated SQL
* Handle some type inference related issues with some databases requiring to render casted parameters in some situations
* Ensure SQM model is fully serializable
* Ensure JPA Criteria throws expected exceptions
* Make sure JPA Criteria implementations work properly
* Move jpa.test.callback and jpa.test.criteria packages
* Improve the reuse of SqmPath instances
* Get rid of many raw-types related warnings
* Make Predicate extend Expression and handle SQL rendering/emulation
* Support fetching SqmTuple as array
* Implement treat operator support
2021-09-09 16:39:31 +02:00
Christian Beikov
dd6efa509b
Introduce internal init_sql config and by default enable ansinull for Sybase ASE
2021-09-02 16:54:46 +02:00
Christian Beikov
c71171a762
fixup! Ignore some tests that run into HSQLDB bugs
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
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
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
Andrea Boriero
cdeb95a4d5
Merge remote-tracking branch 'upstream/main' into wip/6.0
2021-08-30 14:07:19 +02:00
Sanne Grinovero
9267c5e6a6
HHH-14792 Remove support for bytecode enhancement via Javassist
2021-08-26 15:22:30 +01:00
Andrea Boriero
64c331150b
Re-enabled additional documentation tests
2021-08-23 18:57:28 +02:00
Christian Beikov
1544493edc
Wire up custom collection types
2021-08-16 17:36:50 +02:00
Christian Beikov
2f166c31df
Fix some documentation tests and respect filters in Session.find as per HHH-14772, and respect explicit polymorphism
2021-08-09 07:22:57 +02:00
Christian Beikov
b6683d2352
Fix some more result set mapping issues and fix HHH-7525 as well as HHH-10504
2021-08-06 23:15:50 +02:00
Jan Schatteman
3ec8b27b2a
Added doc notes on the filter clause and the ilike predicate
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2021-08-05 23:35:17 +02:00
Steve Ebersole
07ec4f208d
asciidoctor task config
2021-08-05 10:04:54 -05:00
Christian Beikov
ca22db14bb
Fix some issues with collection-path related HQL functions minindex/maxindex/minelement/maxelement/elements/indices and group by item rendering problems
2021-08-05 09:50:28 +02:00
Steve Ebersole
53fc490181
Document value generation;
...
Moved `@CurrentTimestamp` from src/test/java to src/main/java
2021-08-03 14:03:32 -05:00
Steve Ebersole
be8be18bc0
minor asciidoctor task improvements + update plugin to 3.1 version
2021-08-02 18:04:41 -05:00
Gavin King
7aeb03beea
remove older getJdbcType() method
2021-07-28 15:22:41 +02:00
Gavin King
07096e7cc1
introduce JDBCTypeDescriptor.getDefaultSqlTypeCode()
...
and rename sqlType -> jdbcTypeCode in Type hierarchy for consistency
See https://github.com/hibernate/hibernate-orm/discussions/4088
2021-07-28 15:22:41 +02:00
Steve Ebersole
b26b00a358
Bump matrix testing plugin to 3.1.0 (prep for Gradle 7)
2021-07-14 11:44:35 -05:00
Andrea Boriero
d6518e0c7a
Re-enabled additional tests
2021-07-08 14:09:46 +02:00
Andrea Boriero
8895347867
Fix null dicriminator unable to cast MarkerObject to ...
2021-07-08 11:48:54 +02:00
Christian Beikov
6447ca9b26
HHH-14693, HHH-10668 Move non-supported dialects to the hibernate-community-dialects artifact and add the SQLite dialect originally contributed by Vlad Mihalcea which was adapted for Hibernate 6. Also add HSQLDB, MySQL and Sybase ASE configurations and a CI job config
2021-07-06 10:14:20 +02:00
Steve Ebersole
59f033194a
Improved build configuration to better leverage Gradle up-to-date handling;
...
Preparation for moving to Gradle 7.0
- Moved custom Antlr plugin to hibernate-orm-build module
- more deprecation clean ups
2021-06-28 15:59:35 -05:00
Steve Ebersole
172ddf8700
Improved build configuration to better leverage Gradle up-to-date handling;
...
Preparation for moving to Gradle 7.0
- Improve Jakarta transformation handling (tests are also actually run now as a bonus);
- Improved CacheableHbmXmlTest to not write "ser" file to `${buildDir}/resources/test`
- Improved DatabaseService(Plugin)
- Update a number of plugins which did not handle up-to-date-ness properly
2021-06-26 08:46:09 -05:00
Christian Beikov
8e0864af10
Introduce SqmVisitableNode#appendHqlString to support indexed collection access paths
2021-06-22 17:55:20 +02:00
Andrea Boriero
6ca0be6d99
Merge remote-tracking branch 'upstream/main' into wip/6.0
2021-06-22 09:09:30 +02:00
Andrea Boriero
8fc45a9004
HHH-11817 Allow schema-export commands written to file to truncate in addition to current appending
2021-06-21 08:44:46 +02:00
Christian Beikov
db6701cc93
Move annotations, bytecode, cache, cascade, cdi, cfg, cid, component, compositeelement, customstructures, deletetransient, dialect, dirtyness, entitymode, exceptionhandling, extendshbm, fetchprofiles, fetchstrategyhelper, flush, foreignkey, generatedkeys, hbm, hql, jpa, mapping packages.
2021-06-17 13:16:55 +02:00
Hibernate-CI
fe3b6690c1
fixes to in-line jakarta transformation tasks
...
- fix path replacements (test bundles)
- drop inaccurate attempts to access javadoc/sources jar tasks and outputs for jakarta projects - they are not producing them (alternatively, and eventually will have to, we could have them produce those artifacts)
- skip jakarta modules for aggregated javadoc building
2021-06-16 09:55:38 -05:00
Andrea Boriero
105f91e910
Merge remote-tracking branch 'upstream/main' into wip/6.0
2021-06-15 11:50:01 +02:00
Sanne Grinovero
5b2289e883
HHH-14667 Avoid triggering the load of sequence metadata when not required
...
Also introduce SequenceMismatchStrategy#NONE, which allows to fully disable the checks
performed by SequenceMismatchStrategy on initialization; combining these two
changes, users have the option to fully skip loading the details about existing
sequences from the DB.
2021-06-11 11:55:46 +01:00