Figure out BulkManipulationTest issues with CockroachDB

Description

BulkManipulationTest.testInsertWithManyToOne is failing on CockroachDB with a strange error:

 

Karel mentioned something about CockroachDB getting confused about the schema:

It only fails when all tests are executed but not when it is run individually. So, it looks like CocroachDB loses track of the schema because it gets overloaded. I also noticed that the mapping file "/org/hibernate/orm/test/legacy/Multi.hbm.xml" leads to create-table statements that fail (the table for leafsubsubclass has 2 columns with the name 'dupe', one of type float, and the other of type varchar). Strangely, these errors are logged by the database but do not lead to a test run failure. Haven't yet been able to understand why that is.

For now, we disable the test, but ultimately, it would be great to understand what is going on. It could simply be a bug in CockroachDB, but it’s good to know nonetheless.

Activity

Show:

Details

Assignee

Reporter

Priority

Created April 9, 2025 at 8:01 AM
Updated April 9, 2025 at 8:02 AM