You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Jiří Ondrušek (Jira)" <ji...@apache.org> on 2026/09/03 08:20:00 UTC
[jira] [Created] (CAMEL-24615) camel-jpa - hibernate test profile is not runnable and has failing tests
Jiří Ondrušek created CAMEL-24615:
-------------------------------------
Summary: camel-jpa - hibernate test profile is not runnable and has failing tests
Key: CAMEL-24615
URL: https://issues.apache.org/jira/browse/CAMEL-24615
Project: Camel
Issue Type: Test
Components: camel-jpa
Reporter: Jiří Ondrušek
Assignee: Jiří Ondrušek
The hibernate test profile has been broken since ~2023 (found via CAMEL-24604): the OpenJPA -javaagent is attached unconditionally but its jar is only copied by the openjpa profile (forked JVM crashes with -Dhibernate), the hibernate persistence.xml copy can be overwritten by the default testResources copy, and the keyvalueDb unit is missing (CAMEL-24463).
Once made bootable, 7 tests fail on current main: 6x testProducerInsertsIntoDatabaseThenConsumerFiresMessageExchange in the JpaWith*Query* tests (entity update not visible on re-read, e.g. expected <fo...@bar.com> but was <cheese>) and JpaProducerWithQueryTest.testProducerWithNativeQuery (expected <1> but was <null>) - OpenJPA vs Hibernate behavioral differences.
{noformat}
cd components/camel-jpa
mvn clean test -Dhibernate
{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)