Commit Graph

11218 Commits

Author SHA1 Message Date
Ladislav Thon 52f39f8ba0 HHH-15466 Compatibility with Jandex 3.0.0
The only change in Jandex 3.0.0 relevant to Hibernate ORM is that
`Indexer.index()` used to return `ClassInfo`, but now returns `void`.
This is a breaking change, but Jandex 3.0.0 has a synthetic bridge
method with the old signature for binary compatibility -- except
it always return `null`. Therefore, with this commit, Hibernate ORM
simply ignores the return value completely, which makes it compatible
with Jandex 3.0.0 at runtime, even though it is still compiled against
Jandex 2.4. The code is also source-compatible with Jandex 3.0.0 if
that is ever needed.
2022-08-30 12:13:59 +01:00
Alex e55f09cb86 HHH-15468 Set permissions 2022-08-29 10:48:40 +02:00
Sanne Grinovero 0867972a89 HHH-15451 Upgrade to version 42.5.0 of the PostgreSQL JDBC driver 2022-08-25 15:46:08 +01:00
Andrea Boriero 1fb744c92f HHH-15388 Upgrade to Micrometer 1.9.3 2022-08-25 14:49:18 +02:00
Andrea Boriero fd3ab8b7cf HHH-15359 The entity returned by a merge doesn't contain @ManyToMany relation when the collection resides in @Embeddable 2022-08-25 12:31:32 +02:00
Andrea Boriero 2a0a61833c HHH-15359 Add test for issue 2022-08-25 12:31:32 +02:00
KARGET 570969c81e HHH-15454 correct get(alias, class) method in CriteriaQueryTupleTransformer
maybe the fix needs to be applied to NativeTupleImpl and TupleBuilderTransformer as well, but I do not have a testcase for that and do not know when they are used.
2022-08-23 17:20:25 +02:00
KARGET 4b41584580 HHH-15454 create test where metamodel for primitive type field is used in tuple query 2022-08-23 17:20:25 +02:00
Sanne Grinovero 067d3578cd HHH-15100 Limitation of metamodel imports cache causes severe performance drops in large projects 2022-08-23 10:42:43 +01:00
Andrea Boriero 541ddb7a26 HHH-15440 @OneToOne and @OptimisticLock(excluded = true) not working correctly 2022-08-18 13:46:00 +02:00
Andrea Boriero 33362e8a6f HHH-15440 Add test for issue 2022-08-18 13:46:00 +02:00
Andrea Boriero 1c5f1189b5 HHH-15425 Avoid creating an implicit join when the association has already an explicit one 2022-08-15 08:53:33 +02:00
Andrea Boriero 3b3ed8d5e2 HHH-15425 Add additional test 2022-08-15 08:53:33 +02:00
Andrea Boriero ab28812a7d HHH-15425 Improved association @NotFound documentation 2022-08-10 18:21:22 +02:00
Andrea Boriero 51b22ec8a5 HHH-15425 Implemented Hibernate Criteria Projections.fk() and Restrictions.fkEq() 2022-08-10 18:21:22 +02:00
Andrea Boriero f3422a3988 HHH-15425 org.hibernate.QueryException: could not resolve property is thrown when Hibernate criteria tries to select the id of an association annotated with @NotFound 2022-08-10 18:21:22 +02:00
Andrea Boriero c35f5f5cdb HHH-15425 Add test for issue 2022-08-10 18:21:22 +02:00
Yoann Rodière d0e5692026 Backport snapshot-publish.Jenkinsfile 2022-07-12 14:50:45 +01:00
Hibernate-CI adfbbd431a 5.6.11-SNAPSHOT 2022-07-07 08:25:57 +00:00
Hibernate-CI a900ace185 5.6.10.Final 2022-07-07 08:22:17 +00:00
Sanne Grinovero c53050c7c3 HHH-15322 Allow JNDI lookups using the osgi scheme 2022-07-06 22:38:49 +01:00
Andrea Boriero 6b4ac625e1 HHH-15218 @OptimisticLocking(DIRTY) leads to wrong query during delete of circular reference 2022-07-06 11:56:47 +01:00
Andrea Boriero 3f5b12c9e5 HHH-15218 Add test for issue 2022-07-06 11:56:47 +01:00
Christian Beikov 835374328f Update hibernate-core/src/main/java/org/hibernate/loader/ColumnEntityAliases.java 2022-06-23 16:22:17 +02:00
Ryan Murphy 828a1921a7 HHH-7525 Reintroduce FailureExpected test case 2022-06-23 16:22:17 +02:00
Ryan Murphy 665004f16f HHH-7525 For @Formula, use property name when there is no column name.
Also removes @FailureExpected from HHH-2225.
2022-06-23 16:22:17 +02:00
Christoph Dreis a69ffc8b0a HHH-15325 Avoid allocations from BitSet.stream() in AbstractEntityPersister 2022-06-15 10:07:04 +02:00
Andrea Boriero 4159a7b8dc HHH-15281 INSERTs/UPDATEs no longer executed as JDBC Batch statements if hibernate.temp.use_jdbc_metadata_defaults is set to false 2022-05-25 15:13:31 +01:00
Andrea Boriero 54b98d0469 HHH-15281 Add test for issue 2022-05-25 15:13:31 +01:00
Yoann Rodière ff428b6630 Add missing entry to changelog 2022-05-25 11:04:55 +02:00
Hibernate-CI 592453ec95 5.6.10-SNAPSHOT 2022-05-14 22:51:15 +00:00
Hibernate-CI 3691ca78fd 5.6.9.Final 2022-05-14 22:47:59 +00:00
Sanne Grinovero eb4a7a6608 HHH-15265 Adjust inconsistent package names in tests 2022-05-14 23:40:17 +01:00
Yoann Rodière 9a2e625f6c HHH-15265 Take default catalog/schema into account when generating DDL comments 2022-05-14 23:40:17 +01:00
Yoann Rodière 24d23c4067 HHH-15265 Test that default catalog/schema are taken into account in generated DDL comments 2022-05-14 23:40:17 +01:00
Yoann Rodière 0b25a0e478 HHH-15270 Fix inconsistent precedence of orm.xml implicit catalog over "default_catalog" in XML-mapped entities 2022-05-14 23:40:17 +01:00
Yoann Rodière 66bd42651c HHH-15270 Test default catalog/schema with hbm.xml/orm.xml mapping when catalog/schema not specified at file level 2022-05-14 23:40:17 +01:00
Francesco Marino 791fa98394 HHH-15134 Update a bytecode enanchhed Entity with a Version attribute causes OptimisticLockException 2022-05-14 23:17:42 +01:00
Sanne Grinovero dabdc562cb HHH-15222 Introduce a SessionLazyDelegator SPI 2022-05-14 22:17:44 +01:00
Sanne Grinovero 88b5f49ac9 HHH-15274 Field LazyAttributeLoadingInterceptor#lazyFields can never be null 2022-05-14 18:57:43 +01:00
Sanne Grinovero 74d73a77b4 HHH-15274 Optimise LazyAttributeLoadingInterceptor's routines to identify lazy fields 2022-05-14 18:57:43 +01:00
Andrea Boriero 929af9c9f6 HHH-15091 EntityManager.persist does not verify the existence of the one side of a many-to-one relationship 2022-05-14 18:34:37 +01:00
Andrea Boriero 2506a8435e HHH-15091 Add test for issue 2022-05-14 18:34:37 +01:00
Ptits de Barbe 404020f8b0 HHH-4384 Allow join column override if @JoinColumn is absent on @OneToOne(mappedBy = "").
Tests: this case and disallow if mappedBy > "".
2022-05-05 16:07:21 +02:00
Yoann Rodière 863369c08e HHH-15212 Test placeholders in auxiliary object SQL strings 2022-04-28 08:47:06 +02:00
Yoann Rodière 73d07272fd HHH-15212 Fix SimpleAuxiliaryDatabaseObject ignoring the default catalog/schema set through configuration properties 2022-04-28 08:47:06 +02:00
Andrea Boriero ee3129d45b HHH-15142 CriteriaQuery with Like predicate fails when repeated with java.lang.IllegalArgumentException: Parameter value [] did not match expected type [java.lang.String (n/a)] 2022-04-26 14:55:33 +02:00
Ptits de Barbe f1c46277e5 HHH-15142 Add test for issue 2022-04-26 14:55:33 +02:00
Christian Beikov 3094185ded Ignore jakarta projects for javadoc aggregation 2022-04-25 12:10:43 +02:00
Christian Beikov dad493d867 HHH-15178 Introduce internal init_sql config and by default enable ansinull for Sybase ASE 2022-04-25 11:53:32 +02:00