Commit Graph

1193 Commits

Author SHA1 Message Date
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