Commit Graph

13743 Commits

Author SHA1 Message Date
Gavin King bd5b05cbe3 improve error messages 2022-02-08 14:26:49 +01:00
Gavin King 0dfa91f6ec add a test 2022-02-08 14:26:39 +01:00
Gavin King eefdb4acd6 test demonstrating enduring problems with minelement()/maxelement() 2022-02-08 13:38:00 +01:00
Christian Beikov 4e19e322a3 Don't create table groups for the plural path of a plural part path 2022-02-08 13:25:55 +01:00
Christian Beikov 89bf82fee4 Avoid eagerly resolving secondary tables when using discriminator path 2022-02-08 12:23:43 +01:00
Christian Beikov cab03a238d Add treat test for TCK compliance 2022-02-08 12:23:43 +01:00
Christian Beikov 0a5b62421e Fix treat join issue with one-to-many and make sure table pruning always works. Also fix some issues with union subclass pruning 2022-02-08 12:23:43 +01:00
Gavin King 65e282766c test showing 'join treat' broken for @OneToMany 2022-02-08 12:23:43 +01:00
Gavin King ccee58add8 add some Javadoc, and rename a class 2022-02-07 21:04:54 +01:00
Karel Maesen c072ee9cb2 HHH-14932 Using correct WKB version for Postgis 2022-02-07 20:39:35 +01:00
Gavin King 285c2099c8 try to make test work on Maria 2022-02-07 19:15:54 +01:00
Gavin King addc3ea4c2 split out IntegralTimestampaddFunction 2022-02-07 19:15:54 +01:00
Gavin King 3e97fe39a7 make TimestampaddFunction understandable using Extract Method 2022-02-07 19:15:54 +01:00
Gavin King 52c7f61815 add tests for avg(index) and avg(element) 2022-02-07 19:15:54 +01:00
Gavin King 3b221b7b18 remove a garbage feature (FieldFunction) 2022-02-07 19:15:54 +01:00
Gavin King 75888b94f2 use CastFunction to do typecasts 2022-02-07 19:15:54 +01:00
Yoann Rodière 416eeafaa2 Keep fewer builds in the Jenkins history 2022-02-07 18:16:07 +01:00
Christian Beikov 814c1ad679
Get rid of continue-on-error 2022-02-07 16:06:02 +01:00
Christian Beikov dc65d041d1 Fix issues with min/max element/index in the select clause 2022-02-07 12:07:03 +01:00
Christian Beikov e0a35287c9 test showing maxindex() / maxelement() broken 2022-02-07 12:07:03 +01:00
Andrea Boriero 768e6873fd Fix Attribute#getJavaType() returs also primitive types 2022-02-07 10:26:44 +01:00
Gavin King a25758f519 don't write @SuppressWarnings({ "unchecked" }) 2022-02-05 20:03:50 +01:00
Gavin King 4b1cd56218 improve Javadoc of JdbcType 2022-02-05 20:00:20 +01:00
Gavin King bedd31b36e clean up a bunch of generics-related warnings 2022-02-05 20:00:20 +01:00
Steve Ebersole 86cdf67016 HHH-15055 - Document SelectionQuery and MutationQuery 2022-02-05 10:50:13 -06:00
Gavin King a7da40709c clean up looping, using indexed for instead of local var 2022-02-05 15:40:31 +01:00
Gavin King 5de6c703a8 clean up the way JdbcLiteralFormatter is called
this is a case where we can use wildcard capture
2022-02-05 15:09:19 +01:00
Gavin King 09470bd55a fix a couple of warnings in Dialect 2022-02-05 12:31:52 +01:00
Gavin King c2f0ab8fcf get rid of warnings involving JdbcFormatter
also get rid of som explicit type args using <>
2022-02-05 12:26:09 +01:00
Gavin King 2f08812187 fix the round() function on Postgres
for some dumb reason, round(x,n) doesn't accept a double on pg
2022-02-04 18:15:34 +01:00
Andrea Boriero f7d5bc857b Fix SqmMemberOfPredicate negation determination 2022-02-04 15:59:18 +01:00
Andrea Boriero 9a2c87808b Fix mutation queries using temporary table not adding discriminator column 2022-02-04 13:57:48 +01:00
Andrea Boriero e24611e0c3 Call EntityMenager#createQuery() that causes RuntimeException should mark Transaction for Rollback 2022-02-04 11:49:17 +01:00
Yoann Rodière a290e85b14 Use a simpler solution to limit concurrent Jenkins builds
See https://issues.jenkins.io/browse/JENKINS-43353?focusedCommentId=414847&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-414847
2022-02-04 10:35:23 +01:00
Yoann Rodière 51e556ebde HHH-15068 Don't try to instantiate types through the bean manager when that's not possible 2022-02-04 10:20:56 +01:00
Yoann Rodière b8060d2df7 HHH-15068 Reproduce problem where type resolution accesses the bean manager before it's ready 2022-02-04 10:20:56 +01:00
blafond 5ced797dd5 HHH-15067: Set add() method as public to allow non-nullable associations in hibe…
…rnate-reactive
2022-02-03 21:14:04 +01:00
Gavin King 0f6295e6e1 remove a bunch of unused classes 2022-02-03 19:10:45 +01:00
Gavin King 11f784e23b add some Javadoc, fix warning, and remove some minor junk 2022-02-03 19:10:45 +01:00
Gavin King c41c5c7472 simplify some code in SchemaAutoTooling 2022-02-03 19:10:45 +01:00
Gavin King 4904f64b2e remove an unused JACC-related class 2022-02-03 19:10:45 +01:00
Christian Beikov 734b80c531 Add test and fix non-pk association comparison issues 2022-02-03 11:55:31 +01:00
Gavin King 798f9b0518 disable test on Sybase
oops, I missed that this failed in CI!
2022-02-02 20:41:52 +01:00
Gavin King f9392406b7 mention ordered set functions in documentation 2022-02-02 20:00:58 +01:00
Gavin King a4a15e8b35 use single quotes instead of backticks for consistency 2022-02-02 20:00:58 +01:00
Yoann Rodière c861e465a7 HHH-15057 Fix exception on persisting bidirectional, list many-to-many association 2022-02-02 18:09:38 +01:00
Yoann Rodière 4f6b60e3ee HHH-15057 Reproducer for exception about order on many-to-many list 2022-02-02 18:09:38 +01:00
Andrea Boriero fef147d6a4 Fix binding issue for Criteria with paramters having the same name 2022-02-02 15:36:09 +01:00
Andrea Boriero 971d1ea2f4 Fix function parameters type determination 2022-02-02 15:36:09 +01:00
Andrea Boriero b721aa9b86 Fix SqmAttributeJoin#copyTo() method 2022-02-02 09:06:33 +01:00