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
Andrea Boriero
6d59fec436
Merge remote-tracking branch 'upstream/main' into wip/6.0
2021-06-10 09:52:24 +02:00
Christian Beikov
10cba26bda
HHH-14665 Use semi-colon as the default statement delimiter for scripts
2021-06-08 20:49:39 +02:00
Andrea Boriero
6ced2f0aca
Merge remote-tracking branch 'upstream/main' into wip/6.0
2021-06-07 12:47:53 +02:00
nathan.xu
d828bfb086
HHH-14641 replace 'http://' reference with 'https://'
2021-06-04 12:09:45 +02:00
Andrea Boriero
451568f322
Merge remote-tracking branch 'upstream/main' into wip/6.0_merge_7
2021-05-31 14:55:18 +02:00
Yoann Rodière
07eca3883d
HHH-14635 Upgrade to log4j 2
2021-05-26 09:05:56 +02:00
Andrea Boriero
ffae5474a6
Merge remote-tracking branch 'upstream/main' into wip/6.0_merge_6
2021-05-24 20:41:03 +02:00
nathan.xu
2e875f9b8a
HHH-14617 remove QueryLiteralRendering and LiteralHandlingMode
2021-05-20 11:26:22 +02:00
Steve Ebersole
c7e37dc1d7
HHH-14513 : Move publishing release and snapshot artifacts to Sonatype OSSRH
2021-05-14 15:06:15 -05:00
Steve Ebersole
c17396521c
mariadb nationalization support
2021-05-13 12:43:59 -05:00
Steve Ebersole
71515af5cc
HHH-14589 - Make sure documentation examples regarding basic-types work and update the section
...
- re-enable the basic-type tests in the `documentation` module
- fix basic-type resolution in various cases from tests in both `hibernate-core` and `documentation`
- updated the basic_types.adoc user-guide section + moved much of the "legacy" discussion to an appendix
- fixed missing impls of the optional contract `org.hibernate.type.AdjustableBasicType`
- improved handling of `NationalizationSupport` offered by a Dialect
NOTE :
- changes to `ColumnTransformerTest` are related to "composite basics" not being supported, not problems with `ColumnTransformer`.
- final failure in `org.hibernate.userguide.mapping.basic` is `SubselectTest#testRefreshLifecycle` which actually fails because refresh is not working properly
2021-05-13 09:58:20 -05:00
Nathan Xu
40851fc50d
HHH-14406 fix Architecture svg image in user guide
2021-05-13 09:32:12 +02:00
Christian Beikov
1a24c93155
Move tests from packages actionqueue, annotations, batch, boot, bytecode, id, resource, schemafilter, schematools, schemaupdate, schemavalidation, serialization, service, tool, unidir, util
2021-05-06 07:29:57 +02:00
Yoann Rodière
7144af5990
HHH-12445 Auto-detect when discriminator columns are nullable
2021-05-04 09:18:55 +02:00
Andrea Boriero
badc99705a
Merge remote-tracking branch 'upstream/main' into wip/6.0_merge
2021-04-16 13:19:16 +02:00
Christian Beikov
df9d285f2c
Implement support for avoiding joins when accessing FK keys
2021-04-16 10:35:05 +02:00
Yoann Rodière
fcc63d9ab0
HHH-14529 Stop using two separate BootstrapServiceRegistries for the same SessionFactory in BaseCoreFunctionalTestCase
2021-04-15 14:01:28 +02:00
Christian Beikov
c4445fbf5c
Work on named-native query support
2021-04-13 10:32:55 +02:00
Andrea Boriero
e8a5506eb5
Merge remote-tracking branch 'upstream/main' into wip/6.0
2021-04-06 10:17:37 +02:00
sajad
298b1f87b7
HHH-14545 Fix typo "Generator" -> "GeneratorType"
2021-04-06 10:01:47 +02:00
Steve Ebersole
c9b598389f
HHH-14524 : Rename SqlType(X) as JdbcType(X)
...
fixed some inadvertent doc changes (thanks Christian)
2021-03-29 11:44:49 -05:00
Steve Ebersole
7fcde66d61
HHH-14524 : Rename SqlType(X) as JdbcType(X)
2021-03-29 11:33:56 -05:00
Gavin King
d193a9409a
simply remove @Tuplizer completely
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
3b3487a74e
remove deprecated @Entity annotation
2021-03-25 18:54:41 +01:00
Gavin King
c89319f3e9
remove AccessType annotation
2021-03-25 18:54:41 +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
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
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
Karel Maesen
aba49ced1f
HHH-14454 Add SpatialDialect for CockroachDB
2021-03-16 23:25:22 +01:00
Andrea Boriero
6250942e7f
Merge remote-tracking branch 'upstream/master' into wip/6.0
2021-03-05 11:18:14 +01:00
Gavin King
b3aa7d0794
remove Serializable id from the Tuplizer stuff
2021-03-04 15:24:02 +01:00
Sanne Grinovero
f7c85fad4a
HHH-14477 Log warnings about the use of Javassist as BytecodeProvider being deprecated
2021-03-03 10:57:35 +00:00
Christian Beikov
6643e9f4bc
Use java.lang.reflect.Type instead of java.lang.Class for JavaTypeDescriptor#getJavaType to support parameterized types
2021-02-23 12:22:54 +01:00
Christian Beikov
de1524df68
Merge remote-tracking branch 'upstream/master' into wip/6.0
2021-02-10 11:28:58 +01:00
Christian Beikov
9135f69c91
HHH-14433 Add possibility to drop local temporary tables to enable connection pooling in tests
2021-02-03 17:03:47 +01:00
Christian Beikov
d767d46d05
Fix most tests to work on all DBs and fix a bunch of connection leaks
2021-02-03 17:03:47 +01:00
Christian Beikov
cb7c65e49d
Use new parent PostgreSQLDialect for @RequiresDialect rather than subclass
2020-12-17 17:44:25 +01:00
Christian Beikov
a57f93b14a
Use processing stack during parsing to access query spec, fix lots of db2 issues
2020-12-08 11:27:27 +01:00
Andrea Boriero
e3947b3b1c
Re-enabled additional tests and fix issues with IdClass
2020-11-25 15:15:34 +01:00
Andrea Boriero
dc5894db42
Merge remote-tracking branch 'upstream/master' into wip/6.0
2020-11-17 18:25:33 +01:00
Andrea Boriero
1927d1aa33
Merge branch 'master' into wip/6.0
2020-11-17 12:40:43 +01:00
Christian Beikov
ed3feeacad
HHH-14310 Document hibernate.query.in_clause_parameter_padding and some other missing config properties
2020-11-16 10:29:04 +00:00
Yoann Rodière
85b84ef6bd
HHH-14315 Force JVM options when using toolchains
...
Apparently Gradle won't just use the same options as in its own JVM.
Signed-off-by: Yoann Rodière <yoann@hibernate.org>
2020-11-10 11:02:08 +00:00
Yoann Rodière
9616e24c80
HHH-14315 Add optional support for toolchains to the Gradle build
...
Signed-off-by: Yoann Rodière <yoann@hibernate.org>
2020-11-10 11:02:08 +00:00
Steve Ebersole
29848c49db
ORM + Gradle
...
HHH-14285 - project template
HHH-14286 - Gradle plugin
2020-10-28 16:09:42 -05:00
Andrea Boriero
9cf4edfbee
Merge remote-tracking branch 'upstream/master' into wip/6.0
2020-10-26 08:14:01 +00:00
tscz
761a55b31d
HHH-14260: Fix dead and obsolete links in user guide
2020-10-23 11:20:34 +01:00
Andrea Boriero
4e22c5cabc
Merge remote-tracking branch 'upstream/master' into wip/6.0
2020-10-23 10:31:29 +01:00
Jan Schatteman
c81401cd67
HHH-14275 Broken link to Infinispan User Guide in Hibernate 5.3 User Guide
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2020-10-22 16:06:04 +01:00
Andrea Boriero
731cbbc739
Merge remote-tracking branch 'upstream/master' into wip/6.0
2020-10-19 15:06:49 +01:00
Yanming Zhou
88acc9511b
HHH-14253 support ConstraintMode.PROVIDER_DEFAULT
...
Provide an option to skip foreign key creation for ConstraintMode.PROVIDER_DEFAULT
2020-10-14 09:20:17 +02:00
Andrea Boriero
0bd2c32f76
Merge remote-tracking branch 'upstream/master' into wip/6.0
2020-10-02 12:39:41 +01:00
Gavin King
cf995a1571
HHH-14217 Add syntax highlighting to the logged SQL
...
Using ANSI escape codes
Must be explicitly enabled using hibernate.highlight_sql
2020-09-30 16:39:12 +01:00
Andrea Boriero
140fbb45d6
Merge remote-tracking branch 'upstream/master' into wip/6.0
2020-09-22 11:43:55 +01:00
Nathan Xu
97ea1d853d
HHH-14208 simplify example naming strategy code in user guide
2020-09-09 07:58:18 +02:00
Andrea Boriero
062a462b0c
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_51
2020-08-25 08:38:06 +01:00
Vishavjeet Thakur
f9abbaf29d
Update basic-enums-Enumerated-ordinal-persistence-example.sql
...
as stated in https://docs.jboss.org/hibernate/orm/5.2/userguide/html_single/Hibernate_User_Guide.html
after example 18 that
0
For the LAND_LINE enum
1
For the MOBILE enum
hence it should be 1
2020-08-21 15:48:49 +02:00
Nathan Xu
4e868f0372
HHH-14159 update 'hibernate.cache.query_cache_factory' config
2020-08-20 15:47:09 +02:00
Andrea Boriero
de3359537f
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_49
2020-08-12 09:42:28 +01:00
Andrea Boriero
509db7cc79
HHH-14126 Add CockroachDB to DefaultDialectSelector and update documentation to mention the new dialect
2020-08-10 15:20:53 +02:00
Nathan Xu
84b3167f26
HHH-14133 fix obvious example code error for 'second level cache' in user guide
2020-08-10 11:10:53 +01:00
Andrea Boriero
283c3fefb5
Merge remote-tracking branch 'upstream/master' into wip/6.0
2020-08-07 11:23:44 +01:00
Rafi Shamim
4655bdbe12
HHH-13724 Add CockroachDB dialects and configs for testing
2020-07-27 12:49:40 +01:00
Andrea Boriero
4550c70d15
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_47
2020-07-20 10:50:17 +01:00
Nathan Xu
3d4cd3f7b3
port entity graph legacy testing cases
2020-07-20 09:37:15 +01:00
Nathan Xu
5952c0abc3
HHH-14097 fix bug that redundant SQLs might be issued for 'FETCH' entity graph
2020-07-09 14:08:30 +01:00
Andrea Boriero
9ba18b8c5d
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_46
2020-07-07 15:43:17 +01:00
Emmanuel Duchastenier
d17f19d364
HHH-14098 Query plan cache query-level statistics Documentation, used getQueryPlanCacheMissCount instead of getPlanCompilationTotalMicroseconds
2020-07-06 12:19:25 +01:00
Nathan Xu
233b8daffb
import entity graph parsing test cases
2020-06-23 10:11:16 -05:00
Andrea Boriero
cfc1de9de6
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_44
2020-06-16 08:23:55 +01:00
Martin Vietz
180656e9f3
HHH-14064 - Fix documentation for schema-generation
2020-06-09 14:38:55 +01:00
Andrea Boriero
257e479e92
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_39
2020-05-14 10:00:59 +01:00
Jonathan Bregler
fa4ead1baa
HHH-13996: Update documentation for HANA Cloud
2020-05-11 22:39:04 +01:00
Sanne Grinovero
6dd7d09ba0
Revert "HHH-13950 Apply the mass replace script to switch to Jakarta Validation API"
...
This reverts commit 60abc8aa76
.
2020-05-11 18:00:07 +01:00
Andrea Boriero
3bc33221f0
Revert "HHH-13950 Apply the mass replace script to switch to Jakarta Validation API"
...
This reverts commit 60abc8aa76
.
2020-04-24 13:26:37 +01:00
Nathan Xu
686a519680
implement @Filter for HQL/Criteria
2020-04-21 17:08:19 -05:00
Steve Ebersole
ced4f5e602
Various changes around how basic values are handled in terms of mapping consumption for annotations and how value conversions happen
...
* Split BasicType "resolution" into 2 - one used for reading (mapping model) versus one used from writing (legacy persister model)
* @SqlTypeCode, @SqlType, @SqlTypeRegistration
* @JavaType, @JavaTypeRegistration
* @Mutability
* jdbc_mappings.adoc section for DomainModel chapter
[*] At the moment, neither @SqlTypeRegistration nor @JavaTypeRegistration support has been implemented
[*] Still need to make sure @Mutability is propogated properly in all the cases
[*] jdbc_mappings.adoc still needs a lot of attention
2020-04-21 16:09:46 -05:00
Andrea Boriero
88d65adafb
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_35
2020-04-20 13:44:39 +01:00
Andrea Boriero
a0b4566264
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_34
2020-04-20 12:17:22 +01:00