<?xml version="1.0" encoding="UTF-8"?>
<testsuite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report-3.0.xsd" version="3.0" name="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest$OneToPolymorphicMany" time="0.126" tests="45" errors="0" skipped="0" failures="0">
  <properties>
    <property name="awt.toolkit" value="sun.awt.X11.XToolkit"/>
    <property name="file.encoding.pkg" value="sun.io"/>
    <property name="java.specification.version" value="1.8"/>
    <property name="sun.cpu.isalist" value=""/>
    <property name="sun.jnu.encoding" value="UTF-8"/>
    <property name="java.class.path" value="/jenkins/work/agent-local/workspace/Stalactite pipeline/orm/target/test-classes:/jenkins/work/agent-local/workspace/Stalactite pipeline/orm/target/classes:/jenkins/work/agent-local/workspace/Stalactite pipeline/core/target/stalactite-core-3.0.0-SNAPSHOT.jar:/jenkins/work/agent-local/workspace/Stalactite pipeline/sql/target/stalactite-sql-3.0.0-SNAPSHOT.jar:/var/lib/jenkins/.m2/repository/org/codefilarete/reflection/1.1.2-SNAPSHOT/reflection-1.1.2-SNAPSHOT.jar:/var/lib/jenkins/.m2/repository/org/codefilarete/tools/1.1.1-SNAPSHOT/tools-1.1.1-SNAPSHOT.jar:/var/lib/jenkins/.m2/repository/org/danekja/jdk-serializable-functional/1.8.2/jdk-serializable-functional-1.8.2.jar:/var/lib/jenkins/.m2/repository/org/slf4j/slf4j-api/1.7.36/slf4j-api-1.7.36.jar:/var/lib/jenkins/.m2/repository/org/apache/commons/commons-collections4/4.4/commons-collections4-4.4.jar:/jenkins/work/agent-local/workspace/Stalactite pipeline/sql-adapter/sql-hsqldb-adapter/target/stalactite-sql-hsqldb-adapter-3.0.0-SNAPSHOT.jar:/var/lib/jenkins/.m2/repository/org/hsqldb/hsqldb/2.7.4/hsqldb-2.7.4-jdk8.jar:/jenkins/work/agent-local/workspace/Stalactite pipeline/sql-adapter/sql-hsqldb-adapter/target/stalactite-sql-hsqldb-adapter-3.0.0-SNAPSHOT-tests.jar:/jenkins/work/agent-local/workspace/Stalactite pipeline/core-adapter/core-hsqldb-adapter/target/stalactite-core-hsqldb-adapter-3.0.0-SNAPSHOT.jar:/jenkins/work/agent-local/workspace/Stalactite pipeline/core/target/stalactite-core-3.0.0-SNAPSHOT-tests.jar:/var/lib/jenkins/.m2/repository/org/slf4j/slf4j-reload4j/1.7.36/slf4j-reload4j-1.7.36.jar:/var/lib/jenkins/.m2/repository/ch/qos/reload4j/reload4j/1.2.19/reload4j-1.2.19.jar:/var/lib/jenkins/.m2/repository/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar:/var/lib/jenkins/.m2/repository/org/junit/jupiter/junit-jupiter/5.8.2/junit-jupiter-5.8.2.jar:/var/lib/jenkins/.m2/repository/org/junit/jupiter/junit-jupiter-api/5.8.2/junit-jupiter-api-5.8.2.jar:/var/lib/jenkins/.m2/repository/org/opentest4j/opentest4j/1.2.0/opentest4j-1.2.0.jar:/var/lib/jenkins/.m2/repository/org/junit/platform/junit-platform-commons/1.8.2/junit-platform-commons-1.8.2.jar:/var/lib/jenkins/.m2/repository/org/apiguardian/apiguardian-api/1.1.2/apiguardian-api-1.1.2.jar:/var/lib/jenkins/.m2/repository/org/junit/jupiter/junit-jupiter-params/5.8.2/junit-jupiter-params-5.8.2.jar:/var/lib/jenkins/.m2/repository/org/junit/jupiter/junit-jupiter-engine/5.8.2/junit-jupiter-engine-5.8.2.jar:/var/lib/jenkins/.m2/repository/org/junit/platform/junit-platform-engine/1.8.2/junit-platform-engine-1.8.2.jar:/var/lib/jenkins/.m2/repository/org/codefilarete/tools/1.1.0/tools-1.1.0-tests.jar:/var/lib/jenkins/.m2/repository/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar:/var/lib/jenkins/.m2/repository/org/mockito/mockito-core/4.3.1/mockito-core-4.3.1.jar:/var/lib/jenkins/.m2/repository/net/bytebuddy/byte-buddy/1.12.7/byte-buddy-1.12.7.jar:/var/lib/jenkins/.m2/repository/net/bytebuddy/byte-buddy-agent/1.12.7/byte-buddy-agent-1.12.7.jar:/var/lib/jenkins/.m2/repository/org/objenesis/objenesis/3.2/objenesis-3.2.jar:/var/lib/jenkins/.m2/repository/org/assertj/assertj-core/3.23.1/assertj-core-3.23.1.jar:"/>
    <property name="java.vm.vendor" value="Private Build"/>
    <property name="sun.arch.data.model" value="64"/>
    <property name="java.vendor.url" value="http://java.oracle.com/"/>
    <property name="user.timezone" value="Etc/UTC"/>
    <property name="java.vm.specification.version" value="1.8"/>
    <property name="os.name" value="Linux"/>
    <property name="user.country" value="FR"/>
    <property name="sun.java.launcher" value="SUN_STANDARD"/>
    <property name="sun.boot.library.path" value="/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64"/>
    <property name="sun.java.command" value="/jenkins/work/agent-local/workspace/Stalactite pipeline/orm/target/surefire/surefirebooter-20260519053109587_110.jar /jenkins/work/agent-local/workspace/Stalactite pipeline/orm/target/surefire 2026-05-19T05-30-38_739-jvmRun1 surefire-20260519053109587_108tmp surefire_4-20260519053109587_109tmp"/>
    <property name="surefire.test.class.path" value="/jenkins/work/agent-local/workspace/Stalactite pipeline/orm/target/test-classes:/jenkins/work/agent-local/workspace/Stalactite pipeline/orm/target/classes:/jenkins/work/agent-local/workspace/Stalactite pipeline/core/target/stalactite-core-3.0.0-SNAPSHOT.jar:/jenkins/work/agent-local/workspace/Stalactite pipeline/sql/target/stalactite-sql-3.0.0-SNAPSHOT.jar:/var/lib/jenkins/.m2/repository/org/codefilarete/reflection/1.1.2-SNAPSHOT/reflection-1.1.2-SNAPSHOT.jar:/var/lib/jenkins/.m2/repository/org/codefilarete/tools/1.1.1-SNAPSHOT/tools-1.1.1-SNAPSHOT.jar:/var/lib/jenkins/.m2/repository/org/danekja/jdk-serializable-functional/1.8.2/jdk-serializable-functional-1.8.2.jar:/var/lib/jenkins/.m2/repository/org/slf4j/slf4j-api/1.7.36/slf4j-api-1.7.36.jar:/var/lib/jenkins/.m2/repository/org/apache/commons/commons-collections4/4.4/commons-collections4-4.4.jar:/jenkins/work/agent-local/workspace/Stalactite pipeline/sql-adapter/sql-hsqldb-adapter/target/stalactite-sql-hsqldb-adapter-3.0.0-SNAPSHOT.jar:/var/lib/jenkins/.m2/repository/org/hsqldb/hsqldb/2.7.4/hsqldb-2.7.4-jdk8.jar:/jenkins/work/agent-local/workspace/Stalactite pipeline/sql-adapter/sql-hsqldb-adapter/target/stalactite-sql-hsqldb-adapter-3.0.0-SNAPSHOT-tests.jar:/jenkins/work/agent-local/workspace/Stalactite pipeline/core-adapter/core-hsqldb-adapter/target/stalactite-core-hsqldb-adapter-3.0.0-SNAPSHOT.jar:/jenkins/work/agent-local/workspace/Stalactite pipeline/core/target/stalactite-core-3.0.0-SNAPSHOT-tests.jar:/var/lib/jenkins/.m2/repository/org/slf4j/slf4j-reload4j/1.7.36/slf4j-reload4j-1.7.36.jar:/var/lib/jenkins/.m2/repository/ch/qos/reload4j/reload4j/1.2.19/reload4j-1.2.19.jar:/var/lib/jenkins/.m2/repository/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar:/var/lib/jenkins/.m2/repository/org/junit/jupiter/junit-jupiter/5.8.2/junit-jupiter-5.8.2.jar:/var/lib/jenkins/.m2/repository/org/junit/jupiter/junit-jupiter-api/5.8.2/junit-jupiter-api-5.8.2.jar:/var/lib/jenkins/.m2/repository/org/opentest4j/opentest4j/1.2.0/opentest4j-1.2.0.jar:/var/lib/jenkins/.m2/repository/org/junit/platform/junit-platform-commons/1.8.2/junit-platform-commons-1.8.2.jar:/var/lib/jenkins/.m2/repository/org/apiguardian/apiguardian-api/1.1.2/apiguardian-api-1.1.2.jar:/var/lib/jenkins/.m2/repository/org/junit/jupiter/junit-jupiter-params/5.8.2/junit-jupiter-params-5.8.2.jar:/var/lib/jenkins/.m2/repository/org/junit/jupiter/junit-jupiter-engine/5.8.2/junit-jupiter-engine-5.8.2.jar:/var/lib/jenkins/.m2/repository/org/junit/platform/junit-platform-engine/1.8.2/junit-platform-engine-1.8.2.jar:/var/lib/jenkins/.m2/repository/org/codefilarete/tools/1.1.0/tools-1.1.0-tests.jar:/var/lib/jenkins/.m2/repository/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar:/var/lib/jenkins/.m2/repository/org/mockito/mockito-core/4.3.1/mockito-core-4.3.1.jar:/var/lib/jenkins/.m2/repository/net/bytebuddy/byte-buddy/1.12.7/byte-buddy-1.12.7.jar:/var/lib/jenkins/.m2/repository/net/bytebuddy/byte-buddy-agent/1.12.7/byte-buddy-agent-1.12.7.jar:/var/lib/jenkins/.m2/repository/org/objenesis/objenesis/3.2/objenesis-3.2.jar:/var/lib/jenkins/.m2/repository/org/assertj/assertj-core/3.23.1/assertj-core-3.23.1.jar:"/>
    <property name="sun.cpu.endian" value="little"/>
    <property name="user.home" value="/var/lib/jenkins"/>
    <property name="user.language" value="fr"/>
    <property name="java.specification.vendor" value="Oracle Corporation"/>
    <property name="java.home" value="/usr/lib/jvm/java-8-openjdk-amd64/jre"/>
    <property name="basedir" value="/jenkins/work/agent-local/workspace/Stalactite pipeline/orm"/>
    <property name="file.separator" value="/"/>
    <property name="line.separator" value="&#10;"/>
    <property name="java.vm.specification.vendor" value="Oracle Corporation"/>
    <property name="java.specification.name" value="Java Platform API Specification"/>
    <property name="java.awt.graphicsenv" value="sun.awt.X11GraphicsEnvironment"/>
    <property name="surefire.real.class.path" value="/jenkins/work/agent-local/workspace/Stalactite pipeline/orm/target/surefire/surefirebooter-20260519053109587_110.jar:/var/lib/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.8.5/org.jacoco.agent-0.8.5-runtime.jar"/>
    <property name="sun.boot.class.path" value="/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/resources.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jsse.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jce.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/charsets.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jfr.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/classes"/>
    <property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
    <property name="java.runtime.version" value="1.8.0_482-8u482-ga~us1-0ubuntu1~24.04-b08"/>
    <property name="user.name" value="jenkins"/>
    <property name="path.separator" value=":"/>
    <property name="os.version" value="6.8.0-107-generic"/>
    <property name="java.endorsed.dirs" value="/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/endorsed"/>
    <property name="java.runtime.name" value="OpenJDK Runtime Environment"/>
    <property name="file.encoding" value="UTF-8"/>
    <property name="java.vm.name" value="OpenJDK 64-Bit Server VM"/>
    <property name="localRepository" value="/var/lib/jenkins/.m2/repository"/>
    <property name="java.vendor.url.bug" value="http://bugreport.sun.com/bugreport/"/>
    <property name="java.io.tmpdir" value="/tmp"/>
    <property name="java.version" value="1.8.0_482"/>
    <property name="user.dir" value="/jenkins/work/agent-local/workspace/Stalactite pipeline/orm"/>
    <property name="os.arch" value="amd64"/>
    <property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
    <property name="java.awt.printerjob" value="sun.print.PSPrinterJob"/>
    <property name="sun.os.patch.level" value="unknown"/>
    <property name="java.library.path" value="/usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib"/>
    <property name="java.vm.info" value="mixed mode"/>
    <property name="java.vendor" value="Private Build"/>
    <property name="java.vm.version" value="25.482-b08"/>
    <property name="java.specification.maintenance.version" value="6"/>
    <property name="java.ext.dirs" value="/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext:/usr/java/packages/lib/ext"/>
    <property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
    <property name="java.class.version" value="52.0"/>
  </properties>
  <testcase name="crud_polymorphism_subClassHasOneToMany(String, EntityPersister, ConnectionProvider)[1]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.074">
    <system-out><![CDATA[2026-05-19 05:31:12	DEBUG	DDLDeployer	create table Engine(id int not null, unique (id))
2026-05-19 05:31:12	DEBUG	DDLDeployer	create table Vehicle(id int not null, engineId int, model varchar(255), color int, DTYPE varchar(255) not null, unique (id))
2026-05-19 05:31:12	DEBUG	DDLDeployer	create table Vehicle_wheels(vehicle_id int not null, wheels_serialNumber varchar(255) not null, unique (vehicle_id, wheels_serialNumber))
2026-05-19 05:31:12	DEBUG	DDLDeployer	create table Wheel(model varchar(255), serialNumber varchar(255) not null, unique (serialNumber))
2026-05-19 05:31:12	DEBUG	DDLDeployer	alter table Vehicle add constraint FK_Vehicle_engineId_Engine_id foreign key(engineId) references Engine(id)
2026-05-19 05:31:12	DEBUG	DDLDeployer	alter table Vehicle_wheels add constraint FK_Vehicle_wheels_vehicle_id_Vehicle_id foreign key(vehicle_id) references Vehicle(id)
2026-05-19 05:31:12	DEBUG	DDLDeployer	alter table Vehicle_wheels add constraint FK_Vehicle_wheels_wheels_serialNumber_Wheel_serialNumber foreign key(wheels_serialNumber) references Wheel(serialNumber)
2026-05-19 05:31:12	DEBUG	DDLDeployer	create table Engine(id int not null, unique (id))
2026-05-19 05:31:12	DEBUG	DDLDeployer	create table Vehicle(id int not null, engineId int, model varchar(255), color int, DTYPE varchar(255) not null, unique (id))
2026-05-19 05:31:12	DEBUG	DDLDeployer	create table Wheel(idx integer, model varchar(255), serialNumber varchar(255) not null, vehicleId int, unique (serialNumber))
2026-05-19 05:31:12	DEBUG	DDLDeployer	alter table Vehicle add constraint FK_Vehicle_engineId_Engine_id foreign key(engineId) references Engine(id)
2026-05-19 05:31:12	DEBUG	DDLDeployer	alter table Wheel add constraint FK_Wheel_vehicleId_Vehicle_id foreign key(vehicleId) references Vehicle(id)
2026-05-19 05:31:12	DEBUG	DDLDeployer	create table Car(model varchar(255), id int not null, unique (id))
2026-05-19 05:31:12	DEBUG	DDLDeployer	create table Truck(color int, id int not null, unique (id))
2026-05-19 05:31:12	DEBUG	DDLDeployer	create table Vehicle(id int not null, unique (id))
2026-05-19 05:31:12	DEBUG	DDLDeployer	create table Vehicle_wheels(car_id int not null, wheels_serialNumber varchar(255) not null, unique (car_id, wheels_serialNumber))
2026-05-19 05:31:12	DEBUG	DDLDeployer	create table Wheel(model varchar(255), serialNumber varchar(255) not null, unique (serialNumber))
2026-05-19 05:31:12	DEBUG	DDLDeployer	alter table Car add constraint FK_Car_id_Vehicle_id foreign key(id) references Vehicle(id)
2026-05-19 05:31:12	DEBUG	DDLDeployer	alter table Truck add constraint FK_Truck_id_Vehicle_id foreign key(id) references Vehicle(id)
2026-05-19 05:31:12	DEBUG	DDLDeployer	alter table Vehicle_wheels add constraint FK_Vehicle_wheels_wheels_serialNumber_Wheel_serialNumber foreign key(wheels_serialNumber) references Wheel(serialNumber)
2026-05-19 05:31:12	DEBUG	DDLDeployer	alter table Vehicle_wheels add constraint FK_Vehicle_wheels_car_id_Car_id foreign key(car_id) references Car(id)
2026-05-19 05:31:12	DEBUG	DDLDeployer	create table Car(model varchar(255), id int not null, unique (id))
2026-05-19 05:31:12	DEBUG	DDLDeployer	create table Truck(color int, id int not null, unique (id))
2026-05-19 05:31:12	DEBUG	DDLDeployer	create table Vehicle(id int not null, unique (id))
2026-05-19 05:31:12	DEBUG	DDLDeployer	create table Wheel(idx integer, model varchar(255), serialNumber varchar(255) not null, vehicleId int, unique (serialNumber))
2026-05-19 05:31:12	DEBUG	DDLDeployer	alter table Car add constraint FK_Car_id_Vehicle_id foreign key(id) references Vehicle(id)
2026-05-19 05:31:12	DEBUG	DDLDeployer	alter table Truck add constraint FK_Truck_id_Vehicle_id foreign key(id) references Vehicle(id)
2026-05-19 05:31:12	DEBUG	DDLDeployer	alter table Wheel add constraint FK_Wheel_vehicleId_Car_id foreign key(vehicleId) references Car(id)
2026-05-19 05:31:12	DEBUG	DDLDeployer	create table Car(model varchar(255), id int not null, unique (id))
2026-05-19 05:31:12	DEBUG	DDLDeployer	create table Truck(color int, id int not null, unique (id))
2026-05-19 05:31:12	DEBUG	DDLDeployer	create table Vehicle(id int not null, unique (id))
2026-05-19 05:31:12	DEBUG	DDLDeployer	create table Wheel(idx integer, model varchar(255), serialNumber varchar(255) not null, vehicleId int, unique (serialNumber))
2026-05-19 05:31:12	DEBUG	DDLDeployer	alter table Car add constraint FK_Car_id_Vehicle_id foreign key(id) references Vehicle(id)
2026-05-19 05:31:12	DEBUG	DDLDeployer	alter table Truck add constraint FK_Truck_id_Vehicle_id foreign key(id) references Vehicle(id)
2026-05-19 05:31:12	DEBUG	DDLDeployer	alter table Wheel add constraint FK_Wheel_vehicleId_Vehicle_id foreign key(vehicleId) references Vehicle(id)
2026-05-19 05:31:12	DEBUG	DDLDeployer	create table Car(model varchar(255), id int not null, unique (id))
2026-05-19 05:31:12	DEBUG	DDLDeployer	create table Truck(color int, id int not null, unique (id))
2026-05-19 05:31:12	DEBUG	DDLDeployer	create table Vehicle_wheels(car_id int not null, wheels_serialNumber varchar(255) not null, unique (car_id, wheels_serialNumber))
2026-05-19 05:31:12	DEBUG	DDLDeployer	create table Wheel(model varchar(255), serialNumber varchar(255) not null, unique (serialNumber))
2026-05-19 05:31:12	DEBUG	DDLDeployer	alter table Vehicle_wheels add constraint FK_Vehicle_wheels_car_id_Car_id foreign key(car_id) references Car(id)
2026-05-19 05:31:12	DEBUG	DDLDeployer	alter table Vehicle_wheels add constraint FK_Vehicle_wheels_wheels_serialNumber_Wheel_serialNumber foreign key(wheels_serialNumber) references Wheel(serialNumber)
2026-05-19 05:31:12	DEBUG	DDLDeployer	create table Car(model varchar(255), id int not null, unique (id))
2026-05-19 05:31:12	DEBUG	DDLDeployer	create table Truck(color int, id int not null, unique (id))
2026-05-19 05:31:12	DEBUG	DDLDeployer	create table Wheel(idx integer, model varchar(255), serialNumber varchar(255) not null, vehicleId int, unique (serialNumber))
2026-05-19 05:31:12	DEBUG	DDLDeployer	alter table Wheel add constraint FK_Wheel_vehicleId_Car_id foreign key(vehicleId) references Car(id)
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Vehicle(model, id, engineId, DTYPE) values (?, ?, ?, ?) | {1={Vehicle.model=Renault, Vehicle.engineId=null, Vehicle.id=o.c.s.i.PersistableIdentifier@1, Vehicle.DTYPE=CAR}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Wheel(model, serialNumber) values (?, ?) | {1={Wheel.model=null, Wheel.serialNumber=XYZ-ABC-01}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Vehicle_wheels(vehicle_id, wheels_serialNumber) values (?, ?) | {1={Vehicle_wheels.vehicle_id=o.c.s.i.PersistableIdentifier@1, Vehicle_wheels.wheels_serialNumber=XYZ-ABC-01}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Vehicle(color, id, engineId, DTYPE) values (?, ?, ?, ?) | {1={Vehicle.engineId=null, Vehicle.id=o.c.s.i.PersistableIdentifier@2, Vehicle.color=Color[rgb=42], Vehicle.DTYPE=TRUCK}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Vehicle set model = ?, engineId = ? where id = ? | {1={Vehicle.model (U)=Peugeot, Vehicle.engineId (U)=null, Vehicle.id (W)=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle_wheels where vehicle_id = ? and wheels_serialNumber = ? | {1={Vehicle_wheels.vehicle_id=o.c.s.i.PersistableIdentifier@1, Vehicle_wheels.wheels_serialNumber=XYZ-ABC-01}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Wheel(model, serialNumber) values (?, ?) | {1={Wheel.model=null, Wheel.serialNumber=XYZ-ABC-02}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Vehicle_wheels(vehicle_id, wheels_serialNumber) values (?, ?) | {1={Vehicle_wheels.vehicle_id=o.c.s.i.PersistableIdentifier@1, Vehicle_wheels.wheels_serialNumber=XYZ-ABC-02}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Vehicle set color = ?, engineId = ? where id = ? | {1={Vehicle.engineId (U)=null, Vehicle.id (W)=o.c.s.i.PersistableIdentifier@2, Vehicle.color (U)=Color[rgb=99]}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle_wheels where vehicle_id = ? and wheels_serialNumber = ? | {1={Vehicle_wheels.vehicle_id=o.c.s.i.PersistableIdentifier@1, Vehicle_wheels.wheels_serialNumber=XYZ-ABC-02}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle_wheels where vehicle_id = ? and wheels_serialNumber = ? | {1={Vehicle_wheels.vehicle_id=o.c.s.i.PersistableIdentifier@1, Vehicle_wheels.wheels_serialNumber=XYZ-ABC-02}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@2]
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Vehicle.engineId as Vehicle_engineId, Vehicle.model as Vehicle_model, Vehicle.color as Vehicle_color, Vehicle.DTYPE as Vehicle_DTYPE, engine.id as engine_id, Vehicle_wheels_Wheel.model as Vehicle_wheels_Wheel_model, Vehicle_wheels_Wheel.serialNumber as Vehicle_wheels_Wheel_serialNumber from Vehicle left outer join Engine as engine on Vehicle.engineId = engine.id left outer join Vehicle_wheels as Vehicle_wheels on Vehicle.id = Vehicle_wheels.vehicle_id left outer join Wheel as Vehicle_wheels_Wheel on Vehicle_wheels.wheels_serialNumber = Vehicle_wheels_Wheel.serialNumber where Vehicle.id in (?) | {1=o.c.s.i.PersistableIdentifier@2}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.SingleTableRootJoinNode$SingleTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Vehicle.engineId as Vehicle_engineId, Vehicle.model as Vehicle_model, Vehicle.color as Vehicle_color, Vehicle.DTYPE as Vehicle_DTYPE, engine.id as engine_id, Vehicle_wheels_Wheel.model as Vehicle_wheels_Wheel_model, Vehicle_wheels_Wheel.serialNumber as Vehicle_wheels_Wheel_serialNumber from Vehicle left outer join Engine as engine on Vehicle.engineId = engine.id left outer join Vehicle_wheels as Vehicle_wheels on Vehicle.id = Vehicle_wheels.vehicle_id left outer join Wheel as Vehicle_wheels_Wheel on Vehicle_wheels.wheels_serialNumber = Vehicle_wheels_Wheel.serialNumber where Vehicle.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.SingleTableRootJoinNode$SingleTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@1, o.c.s.i.PersistableIdentifier@2]
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Vehicle.engineId as Vehicle_engineId, Vehicle.model as Vehicle_model, Vehicle.color as Vehicle_color, Vehicle.DTYPE as Vehicle_DTYPE, engine.id as engine_id, Vehicle_wheels_Wheel.model as Vehicle_wheels_Wheel_model, Vehicle_wheels_Wheel.serialNumber as Vehicle_wheels_Wheel_serialNumber from Vehicle left outer join Engine as engine on Vehicle.engineId = engine.id left outer join Vehicle_wheels as Vehicle_wheels on Vehicle.id = Vehicle_wheels.vehicle_id left outer join Wheel as Vehicle_wheels_Wheel on Vehicle_wheels.wheels_serialNumber = Vehicle_wheels_Wheel.serialNumber where Vehicle.id in (?, ?) | {1=o.c.s.i.PersistableIdentifier@1, 2=o.c.s.i.PersistableIdentifier@2}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.SingleTableRootJoinNode$SingleTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.SingleTableRootJoinNode$SingleTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
]]></system-out>
  </testcase>
  <testcase name="crud_polymorphism_subClassHasOneToMany(String, EntityPersister, ConnectionProvider)[2]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.027">
    <system-out><![CDATA[2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Vehicle(model, id, engineId, DTYPE) values (?, ?, ?, ?) | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@1, Vehicle.engineId=null, Vehicle.model=Renault, Vehicle.DTYPE=CAR}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Wheel(model, serialNumber, vehicleId, idx) values (?, ?, ?, ?) | {1={Wheel.serialNumber=XYZ-ABC-01, Wheel.idx=1, Wheel.vehicleId=o.c.s.i.PersistableIdentifier@1, Wheel.model=null}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Vehicle(color, id, engineId, DTYPE) values (?, ?, ?, ?) | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@2, Vehicle.engineId=null, Vehicle.color=Color[rgb=42], Vehicle.DTYPE=TRUCK}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Vehicle set model = ?, engineId = ? where id = ? | {1={Vehicle.id (W)=o.c.s.i.PersistableIdentifier@1, Vehicle.engineId (U)=null, Vehicle.model (U)=Peugeot}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Wheel set model = ?, vehicleId = ?, idx = ? where serialNumber = ? | {1={Wheel.serialNumber (W)=XYZ-ABC-01, Wheel.idx (U)=null, Wheel.vehicleId (U)=null, Wheel.model (U)=null}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Wheel(model, serialNumber, vehicleId, idx) values (?, ?, ?, ?) | {1={Wheel.serialNumber=XYZ-ABC-02, Wheel.idx=1, Wheel.vehicleId=o.c.s.i.PersistableIdentifier@1, Wheel.model=null}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Vehicle set color = ?, engineId = ? where id = ? | {1={Vehicle.id (W)=o.c.s.i.PersistableIdentifier@2, Vehicle.engineId (U)=null, Vehicle.color (U)=Color[rgb=99]}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Wheel set model = ?, vehicleId = ?, idx = ? where serialNumber = ? | {1={Wheel.serialNumber (W)=XYZ-ABC-02, Wheel.idx (U)=null, Wheel.vehicleId (U)=null, Wheel.model (U)=null}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Wheel set model = ?, vehicleId = ?, idx = ? where serialNumber = ? | {1={Wheel.serialNumber (W)=XYZ-ABC-02, Wheel.idx (U)=null, Wheel.vehicleId (U)=null, Wheel.model (U)=null}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@2]
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Vehicle.engineId as Vehicle_engineId, Vehicle.model as Vehicle_model, Vehicle.color as Vehicle_color, Vehicle.DTYPE as Vehicle_DTYPE, engine.id as engine_id, Wheel.model as Wheel_model, Wheel.serialNumber as Wheel_serialNumber, Wheel.idx as Wheel_idx from Vehicle left outer join Engine as engine on Vehicle.engineId = engine.id left outer join Wheel as Wheel on Vehicle.id = Wheel.vehicleId where Vehicle.id in (?) | {1=o.c.s.i.PersistableIdentifier@2}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.SingleTableRootJoinNode$SingleTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Vehicle.engineId as Vehicle_engineId, Vehicle.model as Vehicle_model, Vehicle.color as Vehicle_color, Vehicle.DTYPE as Vehicle_DTYPE, engine.id as engine_id, Wheel.model as Wheel_model, Wheel.serialNumber as Wheel_serialNumber, Wheel.idx as Wheel_idx from Vehicle left outer join Engine as engine on Vehicle.engineId = engine.id left outer join Wheel as Wheel on Vehicle.id = Wheel.vehicleId where Vehicle.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.SingleTableRootJoinNode$SingleTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@1, o.c.s.i.PersistableIdentifier@2]
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Vehicle.engineId as Vehicle_engineId, Vehicle.model as Vehicle_model, Vehicle.color as Vehicle_color, Vehicle.DTYPE as Vehicle_DTYPE, engine.id as engine_id, Wheel.model as Wheel_model, Wheel.serialNumber as Wheel_serialNumber, Wheel.idx as Wheel_idx from Vehicle left outer join Engine as engine on Vehicle.engineId = engine.id left outer join Wheel as Wheel on Vehicle.id = Wheel.vehicleId where Vehicle.id in (?, ?) | {1=o.c.s.i.PersistableIdentifier@1, 2=o.c.s.i.PersistableIdentifier@2}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.SingleTableRootJoinNode$SingleTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.SingleTableRootJoinNode$SingleTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
]]></system-out>
  </testcase>
  <testcase name="crud_polymorphism_subClassHasOneToMany(String, EntityPersister, ConnectionProvider)[3]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.025">
    <system-out><![CDATA[2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 2 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Vehicle(id) values (?) | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@1}, 2={Vehicle.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Car(model, id) values (?, ?) | {1={Car.model=Renault, Car.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Wheel(model, serialNumber) values (?, ?) | {1={Wheel.model=null, Wheel.serialNumber=XYZ-ABC-01}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Vehicle_wheels(car_id, wheels_serialNumber) values (?, ?) | {1={Vehicle_wheels.car_id=o.c.s.i.PersistableIdentifier@1, Vehicle_wheels.wheels_serialNumber=XYZ-ABC-01}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Truck(color, id) values (?, ?) | {1={Truck.id=o.c.s.i.PersistableIdentifier@2, Truck.color=Color[rgb=42]}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Car set model = ? where id = ? | {1={Car.model (U)=Peugeot, Car.id (W)=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle_wheels where car_id = ? and wheels_serialNumber = ? | {1={Vehicle_wheels.car_id=o.c.s.i.PersistableIdentifier@1, Vehicle_wheels.wheels_serialNumber=XYZ-ABC-01}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Wheel(model, serialNumber) values (?, ?) | {1={Wheel.model=null, Wheel.serialNumber=XYZ-ABC-02}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Vehicle_wheels(car_id, wheels_serialNumber) values (?, ?) | {1={Vehicle_wheels.car_id=o.c.s.i.PersistableIdentifier@1, Vehicle_wheels.wheels_serialNumber=XYZ-ABC-02}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Truck set color = ? where id = ? | {1={Truck.id (W)=o.c.s.i.PersistableIdentifier@2, Truck.color (U)=Color[rgb=99]}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle_wheels where car_id = ? and wheels_serialNumber = ? | {1={Vehicle_wheels.car_id=o.c.s.i.PersistableIdentifier@1, Vehicle_wheels.wheels_serialNumber=XYZ-ABC-02}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Car where id = ? | {1={Car.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Truck where id = ? | {1={Truck.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle_wheels where car_id = ? and wheels_serialNumber = ? | {1={Vehicle_wheels.car_id=o.c.s.i.PersistableIdentifier@1, Vehicle_wheels.wheels_serialNumber=XYZ-ABC-02}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Car where id = ? | {1={Car.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Truck where id = ? | {1={Truck.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 2 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@1}, 2={Vehicle.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:13	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@2]
2026-05-19 05:31:13	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Truck.color as Truck_color, Truck.id as Truck_id, Car.model as Car_model, Car.id as Car_id, Car_Vehicle_wheels_Wheel.model as Car_Vehicle_wheels_Wheel_model, Car_Vehicle_wheels_Wheel.serialNumber as Car_Vehicle_wheels_Wheel_serialNumber from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id left outer join Vehicle_wheels as Car_Vehicle_wheels on Car.id = Car_Vehicle_wheels.car_id left outer join Wheel as Car_Vehicle_wheels_Wheel on Car_Vehicle_wheels.wheels_serialNumber = Car_Vehicle_wheels_Wheel.serialNumber where Vehicle.id in (?) | {1=o.c.s.i.PersistableIdentifier@2}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Truck
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
2026-05-19 05:31:13	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Truck.color as Truck_color, Truck.id as Truck_id, Car.model as Car_model, Car.id as Car_id, Car_Vehicle_wheels_Wheel.model as Car_Vehicle_wheels_Wheel_model, Car_Vehicle_wheels_Wheel.serialNumber as Car_Vehicle_wheels_Wheel_serialNumber from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id left outer join Vehicle_wheels as Car_Vehicle_wheels on Car.id = Car_Vehicle_wheels.car_id left outer join Wheel as Car_Vehicle_wheels_Wheel on Car_Vehicle_wheels.wheels_serialNumber = Car_Vehicle_wheels_Wheel.serialNumber where Vehicle.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Car
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@1, o.c.s.i.PersistableIdentifier@2]
2026-05-19 05:31:13	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Truck.color as Truck_color, Truck.id as Truck_id, Car.model as Car_model, Car.id as Car_id, Car_Vehicle_wheels_Wheel.model as Car_Vehicle_wheels_Wheel_model, Car_Vehicle_wheels_Wheel.serialNumber as Car_Vehicle_wheels_Wheel_serialNumber from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id left outer join Vehicle_wheels as Car_Vehicle_wheels on Car.id = Car_Vehicle_wheels.car_id left outer join Wheel as Car_Vehicle_wheels_Wheel on Car_Vehicle_wheels.wheels_serialNumber = Car_Vehicle_wheels_Wheel.serialNumber where Vehicle.id in (?, ?) | {1=o.c.s.i.PersistableIdentifier@1, 2=o.c.s.i.PersistableIdentifier@2}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Car
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Truck
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
]]></system-out>
  </testcase>
  <testcase name="crud_polymorphism_subClassHasOneToMany(String, EntityPersister, ConnectionProvider)[4]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.021">
    <system-out><![CDATA[2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 2 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Vehicle(id) values (?) | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@1}, 2={Vehicle.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Car(model, id) values (?, ?) | {1={Car.model=Renault, Car.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Wheel(model, serialNumber, vehicleId, idx) values (?, ?, ?, ?) | {1={Wheel.idx=1, Wheel.model=null, Wheel.vehicleId=o.c.s.i.PersistableIdentifier@1, Wheel.serialNumber=XYZ-ABC-01}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Truck(color, id) values (?, ?) | {1={Truck.id=o.c.s.i.PersistableIdentifier@2, Truck.color=Color[rgb=42]}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Car set model = ? where id = ? | {1={Car.model (U)=Peugeot, Car.id (W)=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Wheel set model = ?, vehicleId = ?, idx = ? where serialNumber = ? | {1={Wheel.idx (U)=null, Wheel.model (U)=null, Wheel.vehicleId (U)=null, Wheel.serialNumber (W)=XYZ-ABC-01}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Wheel(model, serialNumber, vehicleId, idx) values (?, ?, ?, ?) | {1={Wheel.idx=1, Wheel.model=null, Wheel.vehicleId=o.c.s.i.PersistableIdentifier@1, Wheel.serialNumber=XYZ-ABC-02}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Truck set color = ? where id = ? | {1={Truck.id (W)=o.c.s.i.PersistableIdentifier@2, Truck.color (U)=Color[rgb=99]}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Wheel set model = ?, vehicleId = ?, idx = ? where serialNumber = ? | {1={Wheel.idx (U)=null, Wheel.model (U)=null, Wheel.vehicleId (U)=null, Wheel.serialNumber (W)=XYZ-ABC-02}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Car where id = ? | {1={Car.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Truck where id = ? | {1={Truck.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Wheel set model = ?, vehicleId = ?, idx = ? where serialNumber = ? | {1={Wheel.idx (U)=null, Wheel.model (U)=null, Wheel.vehicleId (U)=null, Wheel.serialNumber (W)=XYZ-ABC-02}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Car where id = ? | {1={Car.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Truck where id = ? | {1={Truck.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 2 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@1}, 2={Vehicle.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:13	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@2]
2026-05-19 05:31:13	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Truck.color as Truck_color, Truck.id as Truck_id, Car.model as Car_model, Car.id as Car_id, Car_Wheel.model as Car_Wheel_model, Car_Wheel.serialNumber as Car_Wheel_serialNumber, Car_Wheel.idx as Car_Wheel_idx from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id left outer join Wheel as Car_Wheel on Car.id = Car_Wheel.vehicleId where Vehicle.id in (?) | {1=o.c.s.i.PersistableIdentifier@2}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Truck
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
2026-05-19 05:31:13	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Truck.color as Truck_color, Truck.id as Truck_id, Car.model as Car_model, Car.id as Car_id, Car_Wheel.model as Car_Wheel_model, Car_Wheel.serialNumber as Car_Wheel_serialNumber, Car_Wheel.idx as Car_Wheel_idx from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id left outer join Wheel as Car_Wheel on Car.id = Car_Wheel.vehicleId where Vehicle.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Car
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@1, o.c.s.i.PersistableIdentifier@2]
2026-05-19 05:31:13	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Truck.color as Truck_color, Truck.id as Truck_id, Car.model as Car_model, Car.id as Car_id, Car_Wheel.model as Car_Wheel_model, Car_Wheel.serialNumber as Car_Wheel_serialNumber, Car_Wheel.idx as Car_Wheel_idx from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id left outer join Wheel as Car_Wheel on Car.id = Car_Wheel.vehicleId where Vehicle.id in (?, ?) | {1=o.c.s.i.PersistableIdentifier@1, 2=o.c.s.i.PersistableIdentifier@2}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Car
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Truck
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
]]></system-out>
  </testcase>
  <testcase name="crud_polymorphism_subClassHasOneToMany(String, EntityPersister, ConnectionProvider)[5]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.022">
    <system-out><![CDATA[2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 2 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Vehicle(id) values (?) | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@1}, 2={Vehicle.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Car(model, id) values (?, ?) | {1={Car.id=o.c.s.i.PersistableIdentifier@1, Car.model=Renault}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Truck(color, id) values (?, ?) | {1={Truck.color=Color[rgb=42], Truck.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Wheel(model, serialNumber, vehicleId, idx) values (?, ?, ?, ?) | {1={Wheel.serialNumber=XYZ-ABC-01, Wheel.idx=1, Wheel.model=null, Wheel.vehicleId=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Car set model = ? where id = ? | {1={Car.id (W)=o.c.s.i.PersistableIdentifier@1, Car.model (U)=Peugeot}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Wheel set model = ?, vehicleId = ?, idx = ? where serialNumber = ? | {1={Wheel.serialNumber (W)=XYZ-ABC-01, Wheel.idx (U)=null, Wheel.model (U)=null, Wheel.vehicleId (U)=null}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Wheel(model, serialNumber, vehicleId, idx) values (?, ?, ?, ?) | {1={Wheel.serialNumber=XYZ-ABC-02, Wheel.idx=1, Wheel.model=null, Wheel.vehicleId=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Truck set color = ? where id = ? | {1={Truck.color (U)=Color[rgb=99], Truck.id (W)=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Wheel set model = ?, vehicleId = ?, idx = ? where serialNumber = ? | {1={Wheel.serialNumber (W)=XYZ-ABC-02, Wheel.idx (U)=null, Wheel.model (U)=null, Wheel.vehicleId (U)=null}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Car where id = ? | {1={Car.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Truck where id = ? | {1={Truck.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Wheel set model = ?, vehicleId = ?, idx = ? where serialNumber = ? | {1={Wheel.serialNumber (W)=XYZ-ABC-02, Wheel.idx (U)=null, Wheel.model (U)=null, Wheel.vehicleId (U)=null}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Car where id = ? | {1={Car.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Truck where id = ? | {1={Truck.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 2 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@1}, 2={Vehicle.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:13	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@2]
2026-05-19 05:31:13	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Truck.color as Truck_color, Truck.id as Truck_id, Car.model as Car_model, Car.id as Car_id, Wheel.model as Wheel_model, Wheel.serialNumber as Wheel_serialNumber, Wheel.idx as Wheel_idx from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id left outer join Wheel as Wheel on Vehicle.id = Wheel.vehicleId where Vehicle.id in (?) | {1=o.c.s.i.PersistableIdentifier@2}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Truck
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
2026-05-19 05:31:13	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Truck.color as Truck_color, Truck.id as Truck_id, Car.model as Car_model, Car.id as Car_id, Wheel.model as Wheel_model, Wheel.serialNumber as Wheel_serialNumber, Wheel.idx as Wheel_idx from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id left outer join Wheel as Wheel on Vehicle.id = Wheel.vehicleId where Vehicle.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Car
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@1, o.c.s.i.PersistableIdentifier@2]
2026-05-19 05:31:13	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Truck.color as Truck_color, Truck.id as Truck_id, Car.model as Car_model, Car.id as Car_id, Wheel.model as Wheel_model, Wheel.serialNumber as Wheel_serialNumber, Wheel.idx as Wheel_idx from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id left outer join Wheel as Wheel on Vehicle.id = Wheel.vehicleId where Vehicle.id in (?, ?) | {1=o.c.s.i.PersistableIdentifier@1, 2=o.c.s.i.PersistableIdentifier@2}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Car
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Truck
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
]]></system-out>
  </testcase>
  <testcase name="crud_polymorphism_subClassHasOneToMany(String, EntityPersister, ConnectionProvider)[6]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.023">
    <system-out><![CDATA[2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Car(model, id) values (?, ?) | {1={Car.model=Renault, Car.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Wheel(model, serialNumber) values (?, ?) | {1={Wheel.model=null, Wheel.serialNumber=XYZ-ABC-01}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Vehicle_wheels(car_id, wheels_serialNumber) values (?, ?) | {1={Vehicle_wheels.car_id=o.c.s.i.PersistableIdentifier@1, Vehicle_wheels.wheels_serialNumber=XYZ-ABC-01}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Truck(color, id) values (?, ?) | {1={Truck.id=o.c.s.i.PersistableIdentifier@2, Truck.color=Color[rgb=42]}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Car set model = ? where id = ? | {1={Car.model (U)=Peugeot, Car.id (W)=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle_wheels where car_id = ? and wheels_serialNumber = ? | {1={Vehicle_wheels.car_id=o.c.s.i.PersistableIdentifier@1, Vehicle_wheels.wheels_serialNumber=XYZ-ABC-01}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Wheel(model, serialNumber) values (?, ?) | {1={Wheel.model=null, Wheel.serialNumber=XYZ-ABC-02}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Vehicle_wheels(car_id, wheels_serialNumber) values (?, ?) | {1={Vehicle_wheels.car_id=o.c.s.i.PersistableIdentifier@1, Vehicle_wheels.wheels_serialNumber=XYZ-ABC-02}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Truck set color = ? where id = ? | {1={Truck.id (W)=o.c.s.i.PersistableIdentifier@2, Truck.color (U)=Color[rgb=99]}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle_wheels where car_id = ? and wheels_serialNumber = ? | {1={Vehicle_wheels.car_id=o.c.s.i.PersistableIdentifier@1, Vehicle_wheels.wheels_serialNumber=XYZ-ABC-02}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Car where id = ? | {1={Car.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Truck where id = ? | {1={Truck.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle_wheels where car_id = ? and wheels_serialNumber = ? | {1={Vehicle_wheels.car_id=o.c.s.i.PersistableIdentifier@1, Vehicle_wheels.wheels_serialNumber=XYZ-ABC-02}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Car where id = ? | {1={Car.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Truck where id = ? | {1={Truck.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:13	DEBUG	TablePerClassPolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@2]
2026-05-19 05:31:13	DEBUG	TablePerClassPolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND org.codefilarete.stalactite.query.api.QueryStatement$PseudoColumn@7c8962aa In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Vehicle.DISCRIMINATOR as Vehicle_DISCRIMINATOR, Car.model as Car_model, Car.id as Car_id, Truck.color as Truck_color, Truck.id as Truck_id, Car_Vehicle_wheels_Wheel.model as Car_Vehicle_wheels_Wheel_model, Car_Vehicle_wheels_Wheel.serialNumber as Car_Vehicle_wheels_Wheel_serialNumber from (select Truck.id as id, 'Truck' as DISCRIMINATOR from Truck union all select Car.id as id, 'Car' as DISCRIMINATOR from Car) as Vehicle left outer join Car as Car on Vehicle.id = Car.id left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Vehicle_wheels as Car_Vehicle_wheels on Car.id = Car_Vehicle_wheels.car_id left outer join Wheel as Car_Vehicle_wheels_Wheel on Car_Vehicle_wheels.wheels_serialNumber = Car_Vehicle_wheels_Wheel.serialNumber where Vehicle.id in (?) | {1=o.c.s.i.PersistableIdentifier@2}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.TablePerClassRootJoinNode$TablePerClassPolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
2026-05-19 05:31:13	DEBUG	TablePerClassPolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	DEBUG	TablePerClassPolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND org.codefilarete.stalactite.query.api.QueryStatement$PseudoColumn@7c8962aa In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Vehicle.DISCRIMINATOR as Vehicle_DISCRIMINATOR, Car.model as Car_model, Car.id as Car_id, Truck.color as Truck_color, Truck.id as Truck_id, Car_Vehicle_wheels_Wheel.model as Car_Vehicle_wheels_Wheel_model, Car_Vehicle_wheels_Wheel.serialNumber as Car_Vehicle_wheels_Wheel_serialNumber from (select Truck.id as id, 'Truck' as DISCRIMINATOR from Truck union all select Car.id as id, 'Car' as DISCRIMINATOR from Car) as Vehicle left outer join Car as Car on Vehicle.id = Car.id left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Vehicle_wheels as Car_Vehicle_wheels on Car.id = Car_Vehicle_wheels.car_id left outer join Wheel as Car_Vehicle_wheels_Wheel on Car_Vehicle_wheels.wheels_serialNumber = Car_Vehicle_wheels_Wheel.serialNumber where Vehicle.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.TablePerClassRootJoinNode$TablePerClassPolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	TablePerClassPolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@1, o.c.s.i.PersistableIdentifier@2]
2026-05-19 05:31:13	DEBUG	TablePerClassPolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND org.codefilarete.stalactite.query.api.QueryStatement$PseudoColumn@7c8962aa In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Vehicle.DISCRIMINATOR as Vehicle_DISCRIMINATOR, Car.model as Car_model, Car.id as Car_id, Truck.color as Truck_color, Truck.id as Truck_id, Car_Vehicle_wheels_Wheel.model as Car_Vehicle_wheels_Wheel_model, Car_Vehicle_wheels_Wheel.serialNumber as Car_Vehicle_wheels_Wheel_serialNumber from (select Truck.id as id, 'Truck' as DISCRIMINATOR from Truck union all select Car.id as id, 'Car' as DISCRIMINATOR from Car) as Vehicle left outer join Car as Car on Vehicle.id = Car.id left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Vehicle_wheels as Car_Vehicle_wheels on Car.id = Car_Vehicle_wheels.car_id left outer join Wheel as Car_Vehicle_wheels_Wheel on Car_Vehicle_wheels.wheels_serialNumber = Car_Vehicle_wheels_Wheel.serialNumber where Vehicle.id in (?, ?) | {1=o.c.s.i.PersistableIdentifier@1, 2=o.c.s.i.PersistableIdentifier@2}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.TablePerClassRootJoinNode$TablePerClassPolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.TablePerClassRootJoinNode$TablePerClassPolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
]]></system-out>
  </testcase>
  <testcase name="crud_polymorphism_subClassHasOneToMany(String, EntityPersister, ConnectionProvider)[7]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.02">
    <system-out><![CDATA[2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Car(model, id) values (?, ?) | {1={Car.model=Renault, Car.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Wheel(model, serialNumber, vehicleId, idx) values (?, ?, ?, ?) | {1={Wheel.idx=1, Wheel.serialNumber=XYZ-ABC-01, Wheel.model=null, Wheel.vehicleId=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Truck(color, id) values (?, ?) | {1={Truck.color=Color[rgb=42], Truck.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Car set model = ? where id = ? | {1={Car.model (U)=Peugeot, Car.id (W)=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Wheel set model = ?, vehicleId = ?, idx = ? where serialNumber = ? | {1={Wheel.idx (U)=null, Wheel.serialNumber (W)=XYZ-ABC-01, Wheel.model (U)=null, Wheel.vehicleId (U)=null}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Wheel(model, serialNumber, vehicleId, idx) values (?, ?, ?, ?) | {1={Wheel.idx=1, Wheel.serialNumber=XYZ-ABC-02, Wheel.model=null, Wheel.vehicleId=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Truck set color = ? where id = ? | {1={Truck.color (U)=Color[rgb=99], Truck.id (W)=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Wheel set model = ?, vehicleId = ?, idx = ? where serialNumber = ? | {1={Wheel.idx (U)=null, Wheel.serialNumber (W)=XYZ-ABC-02, Wheel.model (U)=null, Wheel.vehicleId (U)=null}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Car where id = ? | {1={Car.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Truck where id = ? | {1={Truck.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Wheel set model = ?, vehicleId = ?, idx = ? where serialNumber = ? | {1={Wheel.idx (U)=null, Wheel.serialNumber (W)=XYZ-ABC-02, Wheel.model (U)=null, Wheel.vehicleId (U)=null}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Car where id = ? | {1={Car.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Truck where id = ? | {1={Truck.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:13	DEBUG	TablePerClassPolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@2]
2026-05-19 05:31:13	DEBUG	TablePerClassPolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND org.codefilarete.stalactite.query.api.QueryStatement$PseudoColumn@714245ff In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Vehicle.DISCRIMINATOR as Vehicle_DISCRIMINATOR, Car.model as Car_model, Car.id as Car_id, Truck.color as Truck_color, Truck.id as Truck_id, Car_Wheel.model as Car_Wheel_model, Car_Wheel.serialNumber as Car_Wheel_serialNumber, Car_Wheel.idx as Car_Wheel_idx from (select Truck.id as id, 'Truck' as DISCRIMINATOR from Truck union all select Car.id as id, 'Car' as DISCRIMINATOR from Car) as Vehicle left outer join Car as Car on Vehicle.id = Car.id left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Wheel as Car_Wheel on Car.id = Car_Wheel.vehicleId where Vehicle.id in (?) | {1=o.c.s.i.PersistableIdentifier@2}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.TablePerClassRootJoinNode$TablePerClassPolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
2026-05-19 05:31:13	DEBUG	TablePerClassPolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	DEBUG	TablePerClassPolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND org.codefilarete.stalactite.query.api.QueryStatement$PseudoColumn@714245ff In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Vehicle.DISCRIMINATOR as Vehicle_DISCRIMINATOR, Car.model as Car_model, Car.id as Car_id, Truck.color as Truck_color, Truck.id as Truck_id, Car_Wheel.model as Car_Wheel_model, Car_Wheel.serialNumber as Car_Wheel_serialNumber, Car_Wheel.idx as Car_Wheel_idx from (select Truck.id as id, 'Truck' as DISCRIMINATOR from Truck union all select Car.id as id, 'Car' as DISCRIMINATOR from Car) as Vehicle left outer join Car as Car on Vehicle.id = Car.id left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Wheel as Car_Wheel on Car.id = Car_Wheel.vehicleId where Vehicle.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.TablePerClassRootJoinNode$TablePerClassPolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	TablePerClassPolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@1, o.c.s.i.PersistableIdentifier@2]
2026-05-19 05:31:13	DEBUG	TablePerClassPolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND org.codefilarete.stalactite.query.api.QueryStatement$PseudoColumn@714245ff In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Vehicle.DISCRIMINATOR as Vehicle_DISCRIMINATOR, Car.model as Car_model, Car.id as Car_id, Truck.color as Truck_color, Truck.id as Truck_id, Car_Wheel.model as Car_Wheel_model, Car_Wheel.serialNumber as Car_Wheel_serialNumber, Car_Wheel.idx as Car_Wheel_idx from (select Truck.id as id, 'Truck' as DISCRIMINATOR from Truck union all select Car.id as id, 'Car' as DISCRIMINATOR from Car) as Vehicle left outer join Car as Car on Vehicle.id = Car.id left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Wheel as Car_Wheel on Car.id = Car_Wheel.vehicleId where Vehicle.id in (?, ?) | {1=o.c.s.i.PersistableIdentifier@1, 2=o.c.s.i.PersistableIdentifier@2}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.TablePerClassRootJoinNode$TablePerClassPolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.TablePerClassRootJoinNode$TablePerClassPolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
]]></system-out>
  </testcase>
  <testcase name="crud_polymorphism_subClassHasOneToOne(String, EntityPersister, ConnectionProvider)[1]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.021">
    <system-out><![CDATA[2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Engine(id int not null, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Radio(model varchar(255), serialNumber varchar(255) not null, carId int, unique (serialNumber))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Vehicle(id int not null, engineId int, model varchar(255), color int, DTYPE varchar(255) not null, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table Radio add constraint FK_Radio_carId_Vehicle_id foreign key(carId) references Vehicle(id)
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table Vehicle add constraint FK_Vehicle_engineId_Engine_id foreign key(engineId) references Engine(id)
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Car(model varchar(255), id int not null, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Radio(model varchar(255), serialNumber varchar(255) not null, carId int, unique (serialNumber))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Truck(color int, id int not null, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Vehicle(id int not null, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table Car add constraint FK_Car_id_Vehicle_id foreign key(id) references Vehicle(id)
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table Radio add constraint FK_Radio_carId_Car_id foreign key(carId) references Car(id)
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table Truck add constraint FK_Truck_id_Vehicle_id foreign key(id) references Vehicle(id)
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Car(model varchar(255), id int not null, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Radio(model varchar(255), serialNumber varchar(255) not null, carId int, unique (serialNumber))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Truck(color int, id int not null, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table Radio add constraint FK_Radio_carId_Car_id foreign key(carId) references Car(id)
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Vehicle(model, id, engineId, DTYPE) values (?, ?, ?, ?) | {1={Vehicle.DTYPE=CAR, Vehicle.id=o.c.s.i.PersistableIdentifier@1, Vehicle.engineId=null, Vehicle.model=Renault}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Radio(model, serialNumber, carId) values (?, ?, ?) | {1={Radio.model=null, Radio.carId=o.c.s.i.PersistableIdentifier@1, Radio.serialNumber=XYZ-ABC-01}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Vehicle(color, id, engineId, DTYPE) values (?, ?, ?, ?) | {1={Vehicle.DTYPE=TRUCK, Vehicle.id=o.c.s.i.PersistableIdentifier@2, Vehicle.engineId=null, Vehicle.color=Color[rgb=42]}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Vehicle set model = ?, engineId = ? where id = ? | {1={Vehicle.id (W)=o.c.s.i.PersistableIdentifier@1, Vehicle.engineId (U)=null, Vehicle.model (U)=Peugeot}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Radio(model, serialNumber, carId) values (?, ?, ?) | {1={Radio.model=null, Radio.carId=o.c.s.i.PersistableIdentifier@1, Radio.serialNumber=XYZ-ABC-02}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Radio set model = ?, carId = ? where serialNumber = ? | {1={Radio.model (U)=null, Radio.carId (U)=null, Radio.serialNumber (W)=XYZ-ABC-01}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Vehicle set color = ?, engineId = ? where id = ? | {1={Vehicle.id (W)=o.c.s.i.PersistableIdentifier@2, Vehicle.engineId (U)=null, Vehicle.color (U)=Color[rgb=99]}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Radio set model = ?, carId = ? where serialNumber = ? | {1={Radio.model (U)=null, Radio.carId (U)=null, Radio.serialNumber (W)=XYZ-ABC-02}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Radio set model = ?, carId = ? where serialNumber = ? | {1={Radio.model (U)=null, Radio.carId (U)=null, Radio.serialNumber (W)=XYZ-ABC-02}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@2]
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Vehicle.engineId as Vehicle_engineId, Vehicle.model as Vehicle_model, Vehicle.color as Vehicle_color, Vehicle.DTYPE as Vehicle_DTYPE, engine.id as engine_id, radio.model as radio_model, radio.serialNumber as radio_serialNumber from Vehicle left outer join Engine as engine on Vehicle.engineId = engine.id left outer join Radio as radio on Vehicle.id = radio.carId where Vehicle.id in (?) | {1=o.c.s.i.PersistableIdentifier@2}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.SingleTableRootJoinNode$SingleTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Vehicle.engineId as Vehicle_engineId, Vehicle.model as Vehicle_model, Vehicle.color as Vehicle_color, Vehicle.DTYPE as Vehicle_DTYPE, engine.id as engine_id, radio.model as radio_model, radio.serialNumber as radio_serialNumber from Vehicle left outer join Engine as engine on Vehicle.engineId = engine.id left outer join Radio as radio on Vehicle.id = radio.carId where Vehicle.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.SingleTableRootJoinNode$SingleTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@1, o.c.s.i.PersistableIdentifier@2]
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Vehicle.engineId as Vehicle_engineId, Vehicle.model as Vehicle_model, Vehicle.color as Vehicle_color, Vehicle.DTYPE as Vehicle_DTYPE, engine.id as engine_id, radio.model as radio_model, radio.serialNumber as radio_serialNumber from Vehicle left outer join Engine as engine on Vehicle.engineId = engine.id left outer join Radio as radio on Vehicle.id = radio.carId where Vehicle.id in (?, ?) | {1=o.c.s.i.PersistableIdentifier@1, 2=o.c.s.i.PersistableIdentifier@2}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.SingleTableRootJoinNode$SingleTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.SingleTableRootJoinNode$SingleTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
]]></system-out>
  </testcase>
  <testcase name="crud_polymorphism_subClassHasOneToOne(String, EntityPersister, ConnectionProvider)[2]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.018">
    <system-out><![CDATA[2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 2 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Vehicle(id) values (?) | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@1}, 2={Vehicle.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Car(model, id) values (?, ?) | {1={Car.model=Renault, Car.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Radio(model, serialNumber, carId) values (?, ?, ?) | {1={Radio.carId=o.c.s.i.PersistableIdentifier@1, Radio.model=null, Radio.serialNumber=XYZ-ABC-01}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Truck(color, id) values (?, ?) | {1={Truck.color=Color[rgb=42], Truck.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Car set model = ? where id = ? | {1={Car.model (U)=Peugeot, Car.id (W)=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Radio(model, serialNumber, carId) values (?, ?, ?) | {1={Radio.carId=o.c.s.i.PersistableIdentifier@1, Radio.model=null, Radio.serialNumber=XYZ-ABC-02}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Radio set model = ?, carId = ? where serialNumber = ? | {1={Radio.carId (U)=null, Radio.model (U)=null, Radio.serialNumber (W)=XYZ-ABC-01}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Truck set color = ? where id = ? | {1={Truck.color (U)=Color[rgb=99], Truck.id (W)=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Radio set model = ?, carId = ? where serialNumber = ? | {1={Radio.carId (U)=null, Radio.model (U)=null, Radio.serialNumber (W)=XYZ-ABC-02}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Car where id = ? | {1={Car.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Truck where id = ? | {1={Truck.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Radio set model = ?, carId = ? where serialNumber = ? | {1={Radio.carId (U)=null, Radio.model (U)=null, Radio.serialNumber (W)=XYZ-ABC-02}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Car where id = ? | {1={Car.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Truck where id = ? | {1={Truck.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 2 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@1}, 2={Vehicle.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:13	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@2]
2026-05-19 05:31:13	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Truck.color as Truck_color, Truck.id as Truck_id, Car.model as Car_model, Car.id as Car_id, Car_radio.model as Car_radio_model, Car_radio.serialNumber as Car_radio_serialNumber from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id left outer join Radio as Car_radio on Car.id = Car_radio.carId where Vehicle.id in (?) | {1=o.c.s.i.PersistableIdentifier@2}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Truck
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
2026-05-19 05:31:13	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Truck.color as Truck_color, Truck.id as Truck_id, Car.model as Car_model, Car.id as Car_id, Car_radio.model as Car_radio_model, Car_radio.serialNumber as Car_radio_serialNumber from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id left outer join Radio as Car_radio on Car.id = Car_radio.carId where Vehicle.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Car
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@1, o.c.s.i.PersistableIdentifier@2]
2026-05-19 05:31:13	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Truck.color as Truck_color, Truck.id as Truck_id, Car.model as Car_model, Car.id as Car_id, Car_radio.model as Car_radio_model, Car_radio.serialNumber as Car_radio_serialNumber from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id left outer join Radio as Car_radio on Car.id = Car_radio.carId where Vehicle.id in (?, ?) | {1=o.c.s.i.PersistableIdentifier@1, 2=o.c.s.i.PersistableIdentifier@2}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Car
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Truck
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
]]></system-out>
  </testcase>
  <testcase name="crud_polymorphism_subClassHasOneToOne(String, EntityPersister, ConnectionProvider)[3]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.016">
    <system-out><![CDATA[2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Car(model, id) values (?, ?) | {1={Car.model=Renault, Car.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Radio(model, serialNumber, carId) values (?, ?, ?) | {1={Radio.model=null, Radio.serialNumber=XYZ-ABC-01, Radio.carId=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Truck(color, id) values (?, ?) | {1={Truck.id=o.c.s.i.PersistableIdentifier@2, Truck.color=Color[rgb=42]}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Car set model = ? where id = ? | {1={Car.model (U)=Peugeot, Car.id (W)=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Radio(model, serialNumber, carId) values (?, ?, ?) | {1={Radio.model=null, Radio.serialNumber=XYZ-ABC-02, Radio.carId=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Radio set model = ?, carId = ? where serialNumber = ? | {1={Radio.model (U)=null, Radio.serialNumber (W)=XYZ-ABC-01, Radio.carId (U)=null}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Truck set color = ? where id = ? | {1={Truck.id (W)=o.c.s.i.PersistableIdentifier@2, Truck.color (U)=Color[rgb=99]}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Radio set model = ?, carId = ? where serialNumber = ? | {1={Radio.model (U)=null, Radio.serialNumber (W)=XYZ-ABC-02, Radio.carId (U)=null}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Car where id = ? | {1={Car.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Truck where id = ? | {1={Truck.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Radio set model = ?, carId = ? where serialNumber = ? | {1={Radio.model (U)=null, Radio.serialNumber (W)=XYZ-ABC-02, Radio.carId (U)=null}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Car where id = ? | {1={Car.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Truck where id = ? | {1={Truck.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:13	DEBUG	TablePerClassPolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@2]
2026-05-19 05:31:13	DEBUG	TablePerClassPolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND org.codefilarete.stalactite.query.api.QueryStatement$PseudoColumn@f25634b In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Vehicle.DISCRIMINATOR as Vehicle_DISCRIMINATOR, Car.model as Car_model, Car.id as Car_id, Truck.color as Truck_color, Truck.id as Truck_id, Car_radio.model as Car_radio_model, Car_radio.serialNumber as Car_radio_serialNumber from (select Truck.id as id, 'Truck' as DISCRIMINATOR from Truck union all select Car.id as id, 'Car' as DISCRIMINATOR from Car) as Vehicle left outer join Car as Car on Vehicle.id = Car.id left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Radio as Car_radio on Car.id = Car_radio.carId where Vehicle.id in (?) | {1=o.c.s.i.PersistableIdentifier@2}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.TablePerClassRootJoinNode$TablePerClassPolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
2026-05-19 05:31:13	DEBUG	TablePerClassPolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	DEBUG	TablePerClassPolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND org.codefilarete.stalactite.query.api.QueryStatement$PseudoColumn@f25634b In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Vehicle.DISCRIMINATOR as Vehicle_DISCRIMINATOR, Car.model as Car_model, Car.id as Car_id, Truck.color as Truck_color, Truck.id as Truck_id, Car_radio.model as Car_radio_model, Car_radio.serialNumber as Car_radio_serialNumber from (select Truck.id as id, 'Truck' as DISCRIMINATOR from Truck union all select Car.id as id, 'Car' as DISCRIMINATOR from Car) as Vehicle left outer join Car as Car on Vehicle.id = Car.id left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Radio as Car_radio on Car.id = Car_radio.carId where Vehicle.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.TablePerClassRootJoinNode$TablePerClassPolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	TablePerClassPolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@1, o.c.s.i.PersistableIdentifier@2]
2026-05-19 05:31:13	DEBUG	TablePerClassPolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND org.codefilarete.stalactite.query.api.QueryStatement$PseudoColumn@f25634b In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Vehicle.DISCRIMINATOR as Vehicle_DISCRIMINATOR, Car.model as Car_model, Car.id as Car_id, Truck.color as Truck_color, Truck.id as Truck_id, Car_radio.model as Car_radio_model, Car_radio.serialNumber as Car_radio_serialNumber from (select Truck.id as id, 'Truck' as DISCRIMINATOR from Truck union all select Car.id as id, 'Car' as DISCRIMINATOR from Car) as Vehicle left outer join Car as Car on Vehicle.id = Car.id left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Radio as Car_radio on Car.id = Car_radio.carId where Vehicle.id in (?, ?) | {1=o.c.s.i.PersistableIdentifier@1, 2=o.c.s.i.PersistableIdentifier@2}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.TablePerClassRootJoinNode$TablePerClassPolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.TablePerClassRootJoinNode$TablePerClassPolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
]]></system-out>
  </testcase>
  <testcase name="oneToPolymorphicMany_crud(String, EntityPersister, PersistenceContext, boolean, boolean)[1]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.047">
    <system-out><![CDATA[2026-05-19 05:31:13	DEBUG	DDLDeployer	create table City(name varchar(255), id int not null, barCount integer, discotecCount integer, DTYPE varchar(255) not null, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Country(name varchar(255), creationDate timestamp, modificationDate timestamp, id int not null, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Country_cities(country_id int not null, cities_id int not null, unique (country_id, cities_id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table Country_cities add constraint FK_Country_cities_cities_id_City_id foreign key(cities_id) references City(id)
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table Country_cities add constraint FK_Country_cities_country_id_Country_id foreign key(country_id) references Country(id)
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Country(name, modificationDate, creationDate, id) values (?, ?, ?, ?) | {1={Country.name=null, Country.creationDate=null, Country.id=o.c.s.i.PersistableIdentifier@1, Country.modificationDate=null}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into City(barCount, name, id, DTYPE) values (?, ?, ?, ?) | {1={City.barCount=0, City.DTYPE=V, City.name=Grenoble, City.id=o.c.s.i.PersistableIdentifier@42}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Country_cities(country_id, cities_id) values (?, ?) | {1={Country_cities.cities_id=o.c.s.i.PersistableIdentifier@42, Country_cities.country_id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Country.name as Country_name, Country.modificationDate as Country_modificationDate, Country.creationDate as Country_creationDate, Country.id as Country_id, Country_cities_City.DTYPE as Country_cities_City_DTYPE, Country_cities_City.id as Country_cities_City_id from Country left outer join Country_cities as Country_cities on Country.id = Country_cities.country_id left outer join City as Country_cities_City on Country_cities.cities_id = Country_cities_City.id where Country.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Country
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistedIdentifier@42]
2026-05-19 05:31:13	TRACE	SQLOperation	select City.barCount as City_barCount, City.name as City_name, City.id as City_id from City where City.id in (?) | {1=o.c.s.i.PersistedIdentifier@42}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Village
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update City set barCount = ?, name = ? where id = ? | {1={City.barCount (U)=51, City.name (U)=Grenoble, City.id (W)=o.c.s.i.PersistedIdentifier@42}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into City(discotecCount, name, id, DTYPE) values (?, ?, ?, ?) | {1={City.DTYPE=T, City.discotecCount=123, City.name=Lyon, City.id=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Country_cities(country_id, cities_id) values (?, ?) | {1={Country_cities.cities_id=o.c.s.i.PersistableIdentifier@17, Country_cities.country_id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Country.name as Country_name, Country.modificationDate as Country_modificationDate, Country.creationDate as Country_creationDate, Country.id as Country_id, Country_cities_City.DTYPE as Country_cities_City_DTYPE, Country_cities_City.id as Country_cities_City_id from Country left outer join Country_cities as Country_cities on Country.id = Country_cities.country_id left outer join City as Country_cities_City on Country_cities.cities_id = Country_cities_City.id where Country.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Country
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Country
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistedIdentifier@42]
2026-05-19 05:31:13	TRACE	SQLOperation	select City.barCount as City_barCount, City.name as City_name, City.id as City_id from City where City.id in (?) | {1=o.c.s.i.PersistedIdentifier@42}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Village
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistedIdentifier@17]
2026-05-19 05:31:13	TRACE	SQLOperation	select City.discotecCount as City_discotecCount, City.name as City_name, City.id as City_id from City where City.id in (?) | {1=o.c.s.i.PersistedIdentifier@17}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Town
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Country_cities where country_id = ? and cities_id = ? | {1={Country_cities.cities_id=o.c.s.i.PersistableIdentifier@17, Country_cities.country_id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	TRACE	SQLOperation	select Country_Id from Country_cities | {}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Country_cities where country_id = ? and cities_id = ? | {1={Country_cities.cities_id=o.c.s.i.PersistableIdentifier@42, Country_cities.country_id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Country where id = ? | {1={Country.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	TRACE	SQLOperation	select * from City | {}
]]></system-out>
  </testcase>
  <testcase name="oneToPolymorphicMany_crud(String, EntityPersister, PersistenceContext, boolean, boolean)[2]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.026">
    <system-out><![CDATA[2026-05-19 05:31:13	DEBUG	DDLDeployer	create table City(name varchar(255), id int not null, barCount integer, discotecCount integer, DTYPE varchar(255) not null, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Country(name varchar(255), creationDate timestamp, modificationDate timestamp, id int not null, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Country_cities(country_id int not null, cities_id int not null, unique (country_id, cities_id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table Country_cities add constraint FK_Country_cities_country_id_Country_id foreign key(country_id) references Country(id)
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table Country_cities add constraint FK_Country_cities_cities_id_City_id foreign key(cities_id) references City(id)
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Country(name, modificationDate, creationDate, id) values (?, ?, ?, ?) | {1={Country.modificationDate=null, Country.id=o.c.s.i.PersistableIdentifier@1, Country.name=null, Country.creationDate=null}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into City(barCount, name, id, DTYPE) values (?, ?, ?, ?) | {1={City.DTYPE=V, City.barCount=0, City.name=Grenoble, City.id=o.c.s.i.PersistableIdentifier@42}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Country_cities(country_id, cities_id) values (?, ?) | {1={Country_cities.country_id=o.c.s.i.PersistableIdentifier@1, Country_cities.cities_id=o.c.s.i.PersistableIdentifier@42}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Country.name as Country_name, Country.modificationDate as Country_modificationDate, Country.creationDate as Country_creationDate, Country.id as Country_id, Country_cities_City.name as Country_cities_City_name, Country_cities_City.id as Country_cities_City_id, Country_cities_City.barCount as Country_cities_City_barCount, Country_cities_City.discotecCount as Country_cities_City_discotecCount, Country_cities_City.DTYPE as Country_cities_City_DTYPE from Country left outer join Country_cities as Country_cities on Country.id = Country_cities.country_id left outer join City as Country_cities_City on Country_cities.cities_id = Country_cities_City.id where Country.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Country
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.SingleTablePolymorphicRelationJoinNode$SingleTablePolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update City set barCount = ?, name = ? where id = ? | {1={City.barCount (U)=51, City.name (U)=Grenoble, City.id (W)=o.c.s.i.PersistedIdentifier@42}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into City(discotecCount, name, id, DTYPE) values (?, ?, ?, ?) | {1={City.DTYPE=T, City.name=Lyon, City.id=o.c.s.i.PersistableIdentifier@17, City.discotecCount=123}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Country_cities(country_id, cities_id) values (?, ?) | {1={Country_cities.country_id=o.c.s.i.PersistableIdentifier@1, Country_cities.cities_id=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Country.name as Country_name, Country.modificationDate as Country_modificationDate, Country.creationDate as Country_creationDate, Country.id as Country_id, Country_cities_City.name as Country_cities_City_name, Country_cities_City.id as Country_cities_City_id, Country_cities_City.barCount as Country_cities_City_barCount, Country_cities_City.discotecCount as Country_cities_City_discotecCount, Country_cities_City.DTYPE as Country_cities_City_DTYPE from Country left outer join Country_cities as Country_cities on Country.id = Country_cities.country_id left outer join City as Country_cities_City on Country_cities.cities_id = Country_cities_City.id where Country.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Country
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.SingleTablePolymorphicRelationJoinNode$SingleTablePolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Country
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.SingleTablePolymorphicRelationJoinNode$SingleTablePolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Country_cities where country_id = ? and cities_id = ? | {1={Country_cities.country_id=o.c.s.i.PersistableIdentifier@1, Country_cities.cities_id=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:13	TRACE	SQLOperation	select Country_Id from Country_cities | {}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Country_cities where country_id = ? and cities_id = ? | {1={Country_cities.country_id=o.c.s.i.PersistableIdentifier@1, Country_cities.cities_id=o.c.s.i.PersistableIdentifier@42}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Country where id = ? | {1={Country.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	TRACE	SQLOperation	select * from City | {}
]]></system-out>
  </testcase>
  <testcase name="oneToPolymorphicMany_crud(String, EntityPersister, PersistenceContext, boolean, boolean)[3]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.027">
    <system-out><![CDATA[2026-05-19 05:31:13	DEBUG	DDLDeployer	create table City(name varchar(255), id int not null, barCount integer, discotecCount integer, DTYPE varchar(255) not null, countryId int, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Country(name varchar(255), creationDate timestamp, modificationDate timestamp, id int not null, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table City add constraint FK_City_countryId_Country_id foreign key(countryId) references Country(id)
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Country(name, modificationDate, creationDate, id) values (?, ?, ?, ?) | {1={Country.name=null, Country.creationDate=null, Country.id=o.c.s.i.PersistableIdentifier@1, Country.modificationDate=null}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into City(barCount, name, id, DTYPE, countryId) values (?, ?, ?, ?, ?) | {1={City.DTYPE=V, City.id=o.c.s.i.PersistableIdentifier@42, City.barCount=0, City.name=Grenoble, City.countryId=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Country.name as Country_name, Country.modificationDate as Country_modificationDate, Country.creationDate as Country_creationDate, Country.id as Country_id, City.DTYPE as City_DTYPE, City.id as City_id from Country left outer join City as City on Country.id = City.countryId where Country.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Country
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistedIdentifier@42]
2026-05-19 05:31:13	TRACE	SQLOperation	select City.barCount as City_barCount, City.name as City_name, City.id as City_id from City where City.id in (?) | {1=o.c.s.i.PersistedIdentifier@42}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Village
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update City set barCount = ?, name = ?, countryId = ? where id = ? | {1={City.id (W)=o.c.s.i.PersistedIdentifier@42, City.barCount (U)=51, City.countryId (U)=o.c.s.i.PersistableIdentifier@1, City.name (U)=Grenoble}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into City(discotecCount, name, id, DTYPE, countryId) values (?, ?, ?, ?, ?) | {1={City.DTYPE=T, City.id=o.c.s.i.PersistableIdentifier@17, City.discotecCount=123, City.name=Lyon, City.countryId=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Country.name as Country_name, Country.modificationDate as Country_modificationDate, Country.creationDate as Country_creationDate, Country.id as Country_id, City.DTYPE as City_DTYPE, City.id as City_id from Country left outer join City as City on Country.id = City.countryId where Country.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Country
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Country
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistedIdentifier@42]
2026-05-19 05:31:13	TRACE	SQLOperation	select City.barCount as City_barCount, City.name as City_name, City.id as City_id from City where City.id in (?) | {1=o.c.s.i.PersistedIdentifier@42}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Village
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistedIdentifier@17]
2026-05-19 05:31:13	TRACE	SQLOperation	select City.discotecCount as City_discotecCount, City.name as City_name, City.id as City_id from City where City.id in (?) | {1=o.c.s.i.PersistedIdentifier@17}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Town
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update City set discotecCount = ?, name = ?, countryId = ? where id = ? | {1={City.id (W)=o.c.s.i.PersistableIdentifier@17, City.discotecCount (U)=123, City.name (U)=Lyon, City.countryId (U)=null}}
2026-05-19 05:31:13	TRACE	SQLOperation	select CountryId from City | {}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update City set barCount = ?, name = ?, countryId = ? where id = ? | {1={City.id (W)=o.c.s.i.PersistableIdentifier@42, City.barCount (U)=51, City.name (U)=Grenoble, City.countryId (U)=null}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Country where id = ? | {1={Country.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	TRACE	SQLOperation	select * from City | {}
]]></system-out>
  </testcase>
  <testcase name="oneToPolymorphicMany_crud(String, EntityPersister, PersistenceContext, boolean, boolean)[4]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.022">
    <system-out><![CDATA[2026-05-19 05:31:13	DEBUG	DDLDeployer	create table City(name varchar(255), id int not null, barCount integer, discotecCount integer, DTYPE varchar(255) not null, countryId int, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Country(name varchar(255), creationDate timestamp, modificationDate timestamp, id int not null, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table City add constraint FK_City_countryId_Country_id foreign key(countryId) references Country(id)
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Country(name, modificationDate, creationDate, id) values (?, ?, ?, ?) | {1={Country.name=null, Country.id=o.c.s.i.PersistableIdentifier@1, Country.creationDate=null, Country.modificationDate=null}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into City(barCount, name, id, DTYPE, countryId) values (?, ?, ?, ?, ?) | {1={City.countryId=o.c.s.i.PersistableIdentifier@1, City.DTYPE=V, City.name=Grenoble, City.barCount=0, City.id=o.c.s.i.PersistableIdentifier@42}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Country.name as Country_name, Country.modificationDate as Country_modificationDate, Country.creationDate as Country_creationDate, Country.id as Country_id, City.name as City_name, City.id as City_id, City.barCount as City_barCount, City.discotecCount as City_discotecCount, City.DTYPE as City_DTYPE, City.countryId as City_countryId from Country left outer join City as City on Country.id = City.countryId where Country.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Country
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.SingleTablePolymorphicRelationJoinNode$SingleTablePolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update City set barCount = ?, name = ?, countryId = ? where id = ? | {1={City.countryId (U)=o.c.s.i.PersistableIdentifier@1, City.name (U)=Grenoble, City.barCount (U)=51, City.id (W)=o.c.s.i.PersistedIdentifier@42}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into City(discotecCount, name, id, DTYPE, countryId) values (?, ?, ?, ?, ?) | {1={City.countryId=o.c.s.i.PersistableIdentifier@1, City.discotecCount=123, City.DTYPE=T, City.name=Lyon, City.id=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Country.name as Country_name, Country.modificationDate as Country_modificationDate, Country.creationDate as Country_creationDate, Country.id as Country_id, City.name as City_name, City.id as City_id, City.barCount as City_barCount, City.discotecCount as City_discotecCount, City.DTYPE as City_DTYPE, City.countryId as City_countryId from Country left outer join City as City on Country.id = City.countryId where Country.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Country
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.SingleTablePolymorphicRelationJoinNode$SingleTablePolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Country
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.SingleTablePolymorphicRelationJoinNode$SingleTablePolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update City set discotecCount = ?, name = ?, countryId = ? where id = ? | {1={City.countryId (U)=null, City.discotecCount (U)=123, City.name (U)=Lyon, City.id (W)=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:13	TRACE	SQLOperation	select CountryId from City | {}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update City set barCount = ?, name = ?, countryId = ? where id = ? | {1={City.countryId (U)=null, City.name (U)=Grenoble, City.barCount (U)=51, City.id (W)=o.c.s.i.PersistableIdentifier@42}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Country where id = ? | {1={Country.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	TRACE	SQLOperation	select * from City | {}
]]></system-out>
  </testcase>
  <testcase name="oneToPolymorphicMany_crud(String, EntityPersister, PersistenceContext, boolean, boolean)[5]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.031">
    <system-out><![CDATA[2026-05-19 05:31:13	DEBUG	DDLDeployer	create table City(name varchar(255), id int not null, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Country(name varchar(255), creationDate timestamp, modificationDate timestamp, id int not null, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Country_cities(country_id int not null, cities_id int not null, unique (country_id, cities_id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Town(discotecCount integer not null, id int not null, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Village(barCount integer not null, id int not null, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table Country_cities add constraint FK_Country_cities_country_id_Country_id foreign key(country_id) references Country(id)
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table Country_cities add constraint FK_Country_cities_cities_id_City_id foreign key(cities_id) references City(id)
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table Town add constraint FK_Town_id_City_id foreign key(id) references City(id)
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table Village add constraint FK_Village_id_City_id foreign key(id) references City(id)
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Country(name, modificationDate, creationDate, id) values (?, ?, ?, ?) | {1={Country.id=o.c.s.i.PersistableIdentifier@1, Country.name=null, Country.creationDate=null, Country.modificationDate=null}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into City(name, id) values (?, ?) | {1={City.name=Grenoble, City.id=o.c.s.i.PersistableIdentifier@42}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Village(barCount, id) values (?, ?) | {1={Village.barCount=0, Village.id=o.c.s.i.PersistableIdentifier@42}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Country_cities(country_id, cities_id) values (?, ?) | {1={Country_cities.country_id=o.c.s.i.PersistableIdentifier@1, Country_cities.cities_id=o.c.s.i.PersistableIdentifier@42}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Country.name as Country_name, Country.modificationDate as Country_modificationDate, Country.creationDate as Country_creationDate, Country.id as Country_id, Country_cities_City_Town.id as Country_cities_City_Town_id, Country_cities_City_Village.id as Country_cities_City_Village_id from Country left outer join Country_cities as Country_cities on Country.id = Country_cities.country_id left outer join City as Country_cities_City on Country_cities.cities_id = Country_cities_City.id left outer join Town as Country_cities_City_Town on Country_cities_City.id = Country_cities_City_Town.id left outer join Village as Country_cities_City_Village on Country_cities_City.id = Country_cities_City_Village.id where Country.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Country
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@42]
2026-05-19 05:31:13	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND City.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select City.name as City_name, City.id as City_id, Town.discotecCount as Town_discotecCount, Town.id as Town_id, Village.barCount as Village_barCount, Village.id as Village_id from City left outer join Town as Town on City.id = Town.id left outer join Village as Village on City.id = Village.id where City.id in (?) | {1=o.c.s.i.PersistedIdentifier@42}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Village
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Village#o.c.s.i.PersistedIdentifier@42
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Village set barCount = ? where id = ? | {1={Village.barCount (U)=51, Village.id (W)=o.c.s.i.PersistedIdentifier@42}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into City(name, id) values (?, ?) | {1={City.name=Lyon, City.id=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Town(discotecCount, id) values (?, ?) | {1={Town.discotecCount=123, Town.id=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Country_cities(country_id, cities_id) values (?, ?) | {1={Country_cities.country_id=o.c.s.i.PersistableIdentifier@1, Country_cities.cities_id=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Country.name as Country_name, Country.modificationDate as Country_modificationDate, Country.creationDate as Country_creationDate, Country.id as Country_id, Country_cities_City_Town.id as Country_cities_City_Town_id, Country_cities_City_Village.id as Country_cities_City_Village_id from Country left outer join Country_cities as Country_cities on Country.id = Country_cities.country_id left outer join City as Country_cities_City on Country_cities.cities_id = Country_cities_City.id left outer join Town as Country_cities_City_Town on Country_cities_City.id = Country_cities_City_Town.id left outer join Village as Country_cities_City_Village on Country_cities_City.id = Country_cities_City_Village.id where Country.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Country
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Country
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@17, o.c.s.i.PersistedIdentifier@42]
2026-05-19 05:31:13	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND City.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select City.name as City_name, City.id as City_id, Town.discotecCount as Town_discotecCount, Town.id as Town_id, Village.barCount as Village_barCount, Village.id as Village_id from City left outer join Town as Town on City.id = Town.id left outer join Village as Village on City.id = Village.id where City.id in (?, ?) | {1=o.c.s.i.PersistedIdentifier@17, 2=o.c.s.i.PersistedIdentifier@42}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Town
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Town#o.c.s.i.PersistedIdentifier@17
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Village
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Village#o.c.s.i.PersistedIdentifier@42
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Country_cities where country_id = ? and cities_id = ? | {1={Country_cities.country_id=o.c.s.i.PersistableIdentifier@1, Country_cities.cities_id=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:13	TRACE	SQLOperation	select Country_Id from Country_cities | {}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Country_cities where country_id = ? and cities_id = ? | {1={Country_cities.country_id=o.c.s.i.PersistableIdentifier@1, Country_cities.cities_id=o.c.s.i.PersistableIdentifier@42}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Country where id = ? | {1={Country.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	TRACE	SQLOperation	select * from City | {}
]]></system-out>
  </testcase>
  <testcase name="oneToPolymorphicMany_crud(String, EntityPersister, PersistenceContext, boolean, boolean)[6]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.027">
    <system-out><![CDATA[2026-05-19 05:31:13	DEBUG	DDLDeployer	create table City(name varchar(255), id int not null, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Country(name varchar(255), creationDate timestamp, modificationDate timestamp, id int not null, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Country_cities(country_id int not null, cities_id int not null, unique (country_id, cities_id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Town(discotecCount integer not null, id int not null, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Village(barCount integer not null, id int not null, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table Country_cities add constraint FK_Country_cities_cities_id_City_id foreign key(cities_id) references City(id)
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table Country_cities add constraint FK_Country_cities_country_id_Country_id foreign key(country_id) references Country(id)
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table Town add constraint FK_Town_id_City_id foreign key(id) references City(id)
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table Village add constraint FK_Village_id_City_id foreign key(id) references City(id)
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Country(name, modificationDate, creationDate, id) values (?, ?, ?, ?) | {1={Country.modificationDate=null, Country.name=null, Country.creationDate=null, Country.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into City(name, id) values (?, ?) | {1={City.id=o.c.s.i.PersistableIdentifier@42, City.name=Grenoble}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Village(barCount, id) values (?, ?) | {1={Village.barCount=0, Village.id=o.c.s.i.PersistableIdentifier@42}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Country_cities(country_id, cities_id) values (?, ?) | {1={Country_cities.country_id=o.c.s.i.PersistableIdentifier@1, Country_cities.cities_id=o.c.s.i.PersistableIdentifier@42}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Country.name as Country_name, Country.modificationDate as Country_modificationDate, Country.creationDate as Country_creationDate, Country.id as Country_id, Country_cities_City.name as Country_cities_City_name, Country_cities_City.id as Country_cities_City_id, Country_cities_City_Village.barCount as Country_cities_City_Village_barCount, Country_cities_City_Village.id as Country_cities_City_Village_id, Country_cities_City_Town.discotecCount as Country_cities_City_Town_discotecCount, Country_cities_City_Town.id as Country_cities_City_Town_id from Country left outer join Country_cities as Country_cities on Country.id = Country_cities.country_id left outer join City as Country_cities_City on Country_cities.cities_id = Country_cities_City.id left outer join Village as Country_cities_City_Village on Country_cities_City.id = Country_cities_City_Village.id left outer join Town as Country_cities_City_Town on Country_cities_City.id = Country_cities_City_Town.id where Country.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Country
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.JoinTablePolymorphicRelationJoinNode$JoinTablePolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PolymorphicMergeJoinRowConsumer on object o.c.s.e.m.Village#o.c.s.i.PersistedIdentifier@42
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Village set barCount = ? where id = ? | {1={Village.barCount (U)=51, Village.id (W)=o.c.s.i.PersistedIdentifier@42}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into City(name, id) values (?, ?) | {1={City.id=o.c.s.i.PersistableIdentifier@17, City.name=Lyon}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Town(discotecCount, id) values (?, ?) | {1={Town.discotecCount=123, Town.id=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Country_cities(country_id, cities_id) values (?, ?) | {1={Country_cities.country_id=o.c.s.i.PersistableIdentifier@1, Country_cities.cities_id=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Country.name as Country_name, Country.modificationDate as Country_modificationDate, Country.creationDate as Country_creationDate, Country.id as Country_id, Country_cities_City.name as Country_cities_City_name, Country_cities_City.id as Country_cities_City_id, Country_cities_City_Village.barCount as Country_cities_City_Village_barCount, Country_cities_City_Village.id as Country_cities_City_Village_id, Country_cities_City_Town.discotecCount as Country_cities_City_Town_discotecCount, Country_cities_City_Town.id as Country_cities_City_Town_id from Country left outer join Country_cities as Country_cities on Country.id = Country_cities.country_id left outer join City as Country_cities_City on Country_cities.cities_id = Country_cities_City.id left outer join Village as Country_cities_City_Village on Country_cities_City.id = Country_cities_City_Village.id left outer join Town as Country_cities_City_Town on Country_cities_City.id = Country_cities_City_Town.id where Country.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Country
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.JoinTablePolymorphicRelationJoinNode$JoinTablePolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PolymorphicMergeJoinRowConsumer on object o.c.s.e.m.Town#o.c.s.i.PersistedIdentifier@17
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Country
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.JoinTablePolymorphicRelationJoinNode$JoinTablePolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PolymorphicMergeJoinRowConsumer on object o.c.s.e.m.Village#o.c.s.i.PersistedIdentifier@42
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Country_cities where country_id = ? and cities_id = ? | {1={Country_cities.cities_id=o.c.s.i.PersistableIdentifier@17, Country_cities.country_id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	TRACE	SQLOperation	select Country_Id from Country_cities | {}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Country_cities where country_id = ? and cities_id = ? | {1={Country_cities.cities_id=o.c.s.i.PersistableIdentifier@42, Country_cities.country_id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Country where id = ? | {1={Country.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	TRACE	SQLOperation	select * from City | {}
]]></system-out>
  </testcase>
  <testcase name="oneToPolymorphicMany_crud(String, EntityPersister, PersistenceContext, boolean, boolean)[7]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.03">
    <system-out><![CDATA[2026-05-19 05:31:13	DEBUG	DDLDeployer	create table City(name varchar(255), id int not null, countryId int, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Country(name varchar(255), creationDate timestamp, modificationDate timestamp, id int not null, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Town(discotecCount integer not null, id int not null, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Village(barCount integer not null, id int not null, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table City add constraint FK_City_countryId_Country_id foreign key(countryId) references Country(id)
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table Town add constraint FK_Town_id_City_id foreign key(id) references City(id)
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table Village add constraint FK_Village_id_City_id foreign key(id) references City(id)
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Country(name, modificationDate, creationDate, id) values (?, ?, ?, ?) | {1={Country.name=null, Country.id=o.c.s.i.PersistableIdentifier@1, Country.modificationDate=null, Country.creationDate=null}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into City(name, id, countryId) values (?, ?, ?) | {1={City.id=o.c.s.i.PersistableIdentifier@42, City.name=Grenoble, City.countryId=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Village(barCount, id) values (?, ?) | {1={Village.barCount=0, Village.id=o.c.s.i.PersistableIdentifier@42}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Country.name as Country_name, Country.modificationDate as Country_modificationDate, Country.creationDate as Country_creationDate, Country.id as Country_id, City_Town.id as City_Town_id, City_Village.id as City_Village_id from Country left outer join City as City on Country.id = City.countryId left outer join Town as City_Town on City.id = City_Town.id left outer join Village as City_Village on City.id = City_Village.id where Country.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Country
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@42]
2026-05-19 05:31:13	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND City.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select City.name as City_name, City.id as City_id, Town.discotecCount as Town_discotecCount, Town.id as Town_id, Village.barCount as Village_barCount, Village.id as Village_id from City left outer join Town as Town on City.id = Town.id left outer join Village as Village on City.id = Village.id where City.id in (?) | {1=o.c.s.i.PersistedIdentifier@42}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Village
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Village#o.c.s.i.PersistedIdentifier@42
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update City set name = ?, countryId = ? where id = ? | {1={City.id (W)=o.c.s.i.PersistedIdentifier@42, City.name (U)=Grenoble, City.countryId (U)=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Village set barCount = ? where id = ? | {1={Village.barCount (U)=51, Village.id (W)=o.c.s.i.PersistedIdentifier@42}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into City(name, id, countryId) values (?, ?, ?) | {1={City.id=o.c.s.i.PersistableIdentifier@17, City.name=Lyon, City.countryId=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Town(discotecCount, id) values (?, ?) | {1={Town.discotecCount=123, Town.id=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Country.name as Country_name, Country.modificationDate as Country_modificationDate, Country.creationDate as Country_creationDate, Country.id as Country_id, City_Town.id as City_Town_id, City_Village.id as City_Village_id from Country left outer join City as City on Country.id = City.countryId left outer join Town as City_Town on City.id = City_Town.id left outer join Village as City_Village on City.id = City_Village.id where Country.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Country
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Country
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@17, o.c.s.i.PersistedIdentifier@42]
2026-05-19 05:31:13	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND City.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select City.name as City_name, City.id as City_id, Town.discotecCount as Town_discotecCount, Town.id as Town_id, Village.barCount as Village_barCount, Village.id as Village_id from City left outer join Town as Town on City.id = Town.id left outer join Village as Village on City.id = Village.id where City.id in (?, ?) | {1=o.c.s.i.PersistedIdentifier@17, 2=o.c.s.i.PersistedIdentifier@42}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Town
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Town#o.c.s.i.PersistedIdentifier@17
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Village
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Village#o.c.s.i.PersistedIdentifier@42
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update City set name = ?, countryId = ? where id = ? | {1={City.id (W)=o.c.s.i.PersistableIdentifier@17, City.name (U)=Lyon, City.countryId (U)=null}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Town set discotecCount = ? where id = ? | {1={Town.discotecCount (U)=123, Town.id (W)=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:13	TRACE	SQLOperation	select CountryId from City | {}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update City set name = ?, countryId = ? where id = ? | {1={City.id (W)=o.c.s.i.PersistableIdentifier@42, City.name (U)=Grenoble, City.countryId (U)=null}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Village set barCount = ? where id = ? | {1={Village.barCount (U)=51, Village.id (W)=o.c.s.i.PersistableIdentifier@42}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Country where id = ? | {1={Country.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	TRACE	SQLOperation	select * from City | {}
]]></system-out>
  </testcase>
  <testcase name="oneToPolymorphicMany_crud(String, EntityPersister, PersistenceContext, boolean, boolean)[8]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.025">
    <system-out><![CDATA[2026-05-19 05:31:13	DEBUG	DDLDeployer	create table City(name varchar(255), id int not null, countryId int, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Country(name varchar(255), creationDate timestamp, modificationDate timestamp, id int not null, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Town(discotecCount integer not null, id int not null, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Village(barCount integer not null, id int not null, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table City add constraint FK_City_countryId_Country_id foreign key(countryId) references Country(id)
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table Town add constraint FK_Town_id_City_id foreign key(id) references City(id)
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table Village add constraint FK_Village_id_City_id foreign key(id) references City(id)
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Country(name, modificationDate, creationDate, id) values (?, ?, ?, ?) | {1={Country.creationDate=null, Country.modificationDate=null, Country.name=null, Country.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into City(name, id, countryId) values (?, ?, ?) | {1={City.countryId=o.c.s.i.PersistableIdentifier@1, City.id=o.c.s.i.PersistableIdentifier@42, City.name=Grenoble}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Village(barCount, id) values (?, ?) | {1={Village.barCount=0, Village.id=o.c.s.i.PersistableIdentifier@42}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Country.name as Country_name, Country.modificationDate as Country_modificationDate, Country.creationDate as Country_creationDate, Country.id as Country_id, City.name as City_name, City.id as City_id, City.countryId as City_countryId, City_Town.discotecCount as City_Town_discotecCount, City_Town.id as City_Town_id, City_Village.barCount as City_Village_barCount, City_Village.id as City_Village_id from Country left outer join City as City on Country.id = City.countryId left outer join Town as City_Town on City.id = City_Town.id left outer join Village as City_Village on City.id = City_Village.id where Country.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Country
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.JoinTablePolymorphicRelationJoinNode$JoinTablePolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PolymorphicMergeJoinRowConsumer on object o.c.s.e.m.Village#o.c.s.i.PersistedIdentifier@42
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update City set name = ?, countryId = ? where id = ? | {1={City.countryId (U)=o.c.s.i.PersistableIdentifier@1, City.id (W)=o.c.s.i.PersistedIdentifier@42, City.name (U)=Grenoble}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Village set barCount = ? where id = ? | {1={Village.barCount (U)=51, Village.id (W)=o.c.s.i.PersistedIdentifier@42}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into City(name, id, countryId) values (?, ?, ?) | {1={City.countryId=o.c.s.i.PersistableIdentifier@1, City.id=o.c.s.i.PersistableIdentifier@17, City.name=Lyon}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Town(discotecCount, id) values (?, ?) | {1={Town.id=o.c.s.i.PersistableIdentifier@17, Town.discotecCount=123}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Country.name as Country_name, Country.modificationDate as Country_modificationDate, Country.creationDate as Country_creationDate, Country.id as Country_id, City.name as City_name, City.id as City_id, City.countryId as City_countryId, City_Town.discotecCount as City_Town_discotecCount, City_Town.id as City_Town_id, City_Village.barCount as City_Village_barCount, City_Village.id as City_Village_id from Country left outer join City as City on Country.id = City.countryId left outer join Town as City_Town on City.id = City_Town.id left outer join Village as City_Village on City.id = City_Village.id where Country.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Country
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.JoinTablePolymorphicRelationJoinNode$JoinTablePolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PolymorphicMergeJoinRowConsumer on object o.c.s.e.m.Village#o.c.s.i.PersistedIdentifier@42
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Country
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.JoinTablePolymorphicRelationJoinNode$JoinTablePolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PolymorphicMergeJoinRowConsumer on object o.c.s.e.m.Town#o.c.s.i.PersistedIdentifier@17
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update City set name = ?, countryId = ? where id = ? | {1={City.countryId (U)=null, City.id (W)=o.c.s.i.PersistableIdentifier@17, City.name (U)=Lyon}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Town set discotecCount = ? where id = ? | {1={Town.id (W)=o.c.s.i.PersistableIdentifier@17, Town.discotecCount (U)=123}}
2026-05-19 05:31:13	TRACE	SQLOperation	select CountryId from City | {}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update City set name = ?, countryId = ? where id = ? | {1={City.countryId (U)=null, City.id (W)=o.c.s.i.PersistableIdentifier@42, City.name (U)=Grenoble}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Village set barCount = ? where id = ? | {1={Village.barCount (U)=51, Village.id (W)=o.c.s.i.PersistableIdentifier@42}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Country where id = ? | {1={Country.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	TRACE	SQLOperation	select * from City | {}
]]></system-out>
  </testcase>
  <testcase name="oneToPolymorphicMany_crud(String, EntityPersister, PersistenceContext, boolean, boolean)[9]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.022">
    <system-out><![CDATA[2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Country(name varchar(255), creationDate timestamp, modificationDate timestamp, id int not null, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Country_cities(country_id int not null, cities_id int not null, unique (country_id, cities_id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Town(discotecCount integer not null, id int not null, name varchar(255), unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Village(barCount integer not null, id int not null, name varchar(255), unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table Country_cities add constraint FK_Country_cities_country_id_Country_id foreign key(country_id) references Country(id)
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Country(name, modificationDate, creationDate, id) values (?, ?, ?, ?) | {1={Country.creationDate=null, Country.name=null, Country.id=o.c.s.i.PersistableIdentifier@1, Country.modificationDate=null}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Village(barCount, name, id) values (?, ?, ?) | {1={Village.barCount=0, Village.id=o.c.s.i.PersistableIdentifier@42, Village.name=Grenoble}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Country_cities(country_id, cities_id) values (?, ?) | {1={Country_cities.cities_id=o.c.s.i.PersistableIdentifier@42, Country_cities.country_id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Country.name as Country_name, Country.modificationDate as Country_modificationDate, Country.creationDate as Country_creationDate, Country.id as Country_id, Country_cities_Town.id as Country_cities_Town_id, Country_cities_Village.id as Country_cities_Village_id from Country left outer join Country_cities as Country_cities on Country.id = Country_cities.country_id left outer join Town as Country_cities_Town on Country_cities.cities_id = Country_cities_Town.id left outer join Village as Country_cities_Village on Country_cities.cities_id = Country_cities_Village.id where Country.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Country
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	TablePerClassPolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@42]
2026-05-19 05:31:13	DEBUG	TablePerClassPolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND org.codefilarete.stalactite.query.api.QueryStatement$PseudoColumn@15d0cd8c In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select City.name as City_name, City.id as City_id, City.DISCRIMINATOR as City_DISCRIMINATOR, Town.discotecCount as Town_discotecCount, Town.name as Town_name, Town.id as Town_id, Village.barCount as Village_barCount, Village.name as Village_name, Village.id as Village_id from (select Town.name as name, Town.id as id, 'Town' as DISCRIMINATOR from Town union all select Village.name as name, Village.id as id, 'Village' as DISCRIMINATOR from Village) as City left outer join Town as Town on City.id = Town.id left outer join Village as Village on City.id = Village.id where City.id in (?) | {1=o.c.s.i.PersistedIdentifier@42}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.TablePerClassRootJoinNode$TablePerClassPolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Village#o.c.s.i.PersistedIdentifier@42
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Village set barCount = ?, name = ? where id = ? | {1={Village.barCount (U)=51, Village.id (W)=o.c.s.i.PersistedIdentifier@42, Village.name (U)=Grenoble}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Town(discotecCount, name, id) values (?, ?, ?) | {1={Town.id=o.c.s.i.PersistableIdentifier@17, Town.name=Lyon, Town.discotecCount=123}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Country_cities(country_id, cities_id) values (?, ?) | {1={Country_cities.cities_id=o.c.s.i.PersistableIdentifier@17, Country_cities.country_id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Country.name as Country_name, Country.modificationDate as Country_modificationDate, Country.creationDate as Country_creationDate, Country.id as Country_id, Country_cities_Town.id as Country_cities_Town_id, Country_cities_Village.id as Country_cities_Village_id from Country left outer join Country_cities as Country_cities on Country.id = Country_cities.country_id left outer join Town as Country_cities_Town on Country_cities.cities_id = Country_cities_Town.id left outer join Village as Country_cities_Village on Country_cities.cities_id = Country_cities_Village.id where Country.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Country
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Country
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	TablePerClassPolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@17, o.c.s.i.PersistedIdentifier@42]
2026-05-19 05:31:13	DEBUG	TablePerClassPolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND org.codefilarete.stalactite.query.api.QueryStatement$PseudoColumn@15d0cd8c In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select City.name as City_name, City.id as City_id, City.DISCRIMINATOR as City_DISCRIMINATOR, Town.discotecCount as Town_discotecCount, Town.name as Town_name, Town.id as Town_id, Village.barCount as Village_barCount, Village.name as Village_name, Village.id as Village_id from (select Town.name as name, Town.id as id, 'Town' as DISCRIMINATOR from Town union all select Village.name as name, Village.id as id, 'Village' as DISCRIMINATOR from Village) as City left outer join Town as Town on City.id = Town.id left outer join Village as Village on City.id = Village.id where City.id in (?, ?) | {1=o.c.s.i.PersistedIdentifier@17, 2=o.c.s.i.PersistedIdentifier@42}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.TablePerClassRootJoinNode$TablePerClassPolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Town#o.c.s.i.PersistedIdentifier@17
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.TablePerClassRootJoinNode$TablePerClassPolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Village#o.c.s.i.PersistedIdentifier@42
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Country_cities where country_id = ? and cities_id = ? | {1={Country_cities.cities_id=o.c.s.i.PersistableIdentifier@17, Country_cities.country_id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	TRACE	SQLOperation	select Country_Id from Country_cities | {}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Country_cities where country_id = ? and cities_id = ? | {1={Country_cities.cities_id=o.c.s.i.PersistableIdentifier@42, Country_cities.country_id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Country where id = ? | {1={Country.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	TRACE	SQLOperation	select * from Town union select * from Village | {}
]]></system-out>
  </testcase>
  <testcase name="oneToPolymorphicMany_crud(String, EntityPersister, PersistenceContext, boolean, boolean)[10]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.024">
    <system-out><![CDATA[2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Country(name varchar(255), creationDate timestamp, modificationDate timestamp, id int not null, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Country_cities(country_id int not null, cities_id int not null, unique (country_id, cities_id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Town(discotecCount integer not null, id int not null, name varchar(255), unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Village(barCount integer not null, id int not null, name varchar(255), unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table Country_cities add constraint FK_Country_cities_country_id_Country_id foreign key(country_id) references Country(id)
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Country(name, modificationDate, creationDate, id) values (?, ?, ?, ?) | {1={Country.creationDate=null, Country.name=null, Country.modificationDate=null, Country.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Village(barCount, name, id) values (?, ?, ?) | {1={Village.id=o.c.s.i.PersistableIdentifier@42, Village.barCount=0, Village.name=Grenoble}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Country_cities(country_id, cities_id) values (?, ?) | {1={Country_cities.country_id=o.c.s.i.PersistableIdentifier@1, Country_cities.cities_id=o.c.s.i.PersistableIdentifier@42}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Country.name as Country_name, Country.modificationDate as Country_modificationDate, Country.creationDate as Country_creationDate, Country.id as Country_id, Country_cities_City.clazz_ as Country_cities_City_clazz_, Country_cities_City.name as Country_cities_City_name, Country_cities_City.id as Country_cities_City_id, Country_cities_City.barCount as Country_cities_City_barCount, Country_cities_City.discotecCount as Country_cities_City_discotecCount, Country_cities_City_Village.barCount as Country_cities_City_Village_barCount, Country_cities_City_Village.name as Country_cities_City_Village_name, Country_cities_City_Village.id as Country_cities_City_Village_id, Country_cities_City_Town.discotecCount as Country_cities_City_Town_discotecCount, Country_cities_City_Town.name as Country_cities_City_Town_name, Country_cities_City_Town.id as Country_cities_City_Town_id from Country left outer join Country_cities as Country_cities on Country.id = Country_cities.country_id left outer join (select 1 as clazz_, name, id, barCount as barCount, cast(null as integer) as discotecCount from Village union all select 2 as clazz_, name, id, cast(null as integer) as barCount, discotecCount as discotecCount from Town) as Country_cities_City on Country_cities.cities_id = Country_cities_City.id left outer join Village as Country_cities_City_Village on Country_cities_City.id = Country_cities_City_Village.id left outer join Town as Country_cities_City_Town on Country_cities_City.id = Country_cities_City_Town.id where Country.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Country
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.TablePerClassPolymorphicRelationJoinNode$TablePerClassPolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PolymorphicMergeJoinRowConsumer on object o.c.s.e.m.Village#o.c.s.i.PersistedIdentifier@42
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Village set barCount = ?, name = ? where id = ? | {1={Village.id (W)=o.c.s.i.PersistedIdentifier@42, Village.barCount (U)=51, Village.name (U)=Grenoble}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Town(discotecCount, name, id) values (?, ?, ?) | {1={Town.discotecCount=123, Town.name=Lyon, Town.id=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Country_cities(country_id, cities_id) values (?, ?) | {1={Country_cities.country_id=o.c.s.i.PersistableIdentifier@1, Country_cities.cities_id=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Country.name as Country_name, Country.modificationDate as Country_modificationDate, Country.creationDate as Country_creationDate, Country.id as Country_id, Country_cities_City.clazz_ as Country_cities_City_clazz_, Country_cities_City.name as Country_cities_City_name, Country_cities_City.id as Country_cities_City_id, Country_cities_City.barCount as Country_cities_City_barCount, Country_cities_City.discotecCount as Country_cities_City_discotecCount, Country_cities_City_Village.barCount as Country_cities_City_Village_barCount, Country_cities_City_Village.name as Country_cities_City_Village_name, Country_cities_City_Village.id as Country_cities_City_Village_id, Country_cities_City_Town.discotecCount as Country_cities_City_Town_discotecCount, Country_cities_City_Town.name as Country_cities_City_Town_name, Country_cities_City_Town.id as Country_cities_City_Town_id from Country left outer join Country_cities as Country_cities on Country.id = Country_cities.country_id left outer join (select 1 as clazz_, name, id, barCount as barCount, cast(null as integer) as discotecCount from Village union all select 2 as clazz_, name, id, cast(null as integer) as barCount, discotecCount as discotecCount from Town) as Country_cities_City on Country_cities.cities_id = Country_cities_City.id left outer join Village as Country_cities_City_Village on Country_cities_City.id = Country_cities_City_Village.id left outer join Town as Country_cities_City_Town on Country_cities_City.id = Country_cities_City_Town.id where Country.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Country
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.TablePerClassPolymorphicRelationJoinNode$TablePerClassPolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PolymorphicMergeJoinRowConsumer on object o.c.s.e.m.Town#o.c.s.i.PersistedIdentifier@17
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Country
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.TablePerClassPolymorphicRelationJoinNode$TablePerClassPolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PolymorphicMergeJoinRowConsumer on object o.c.s.e.m.Village#o.c.s.i.PersistedIdentifier@42
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Country_cities where country_id = ? and cities_id = ? | {1={Country_cities.country_id=o.c.s.i.PersistableIdentifier@1, Country_cities.cities_id=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:13	TRACE	SQLOperation	select Country_Id from Country_cities | {}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Country_cities where country_id = ? and cities_id = ? | {1={Country_cities.country_id=o.c.s.i.PersistableIdentifier@1, Country_cities.cities_id=o.c.s.i.PersistableIdentifier@42}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Country where id = ? | {1={Country.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	TRACE	SQLOperation	select * from Town union select * from Village | {}
]]></system-out>
  </testcase>
  <testcase name="oneToPolymorphicMany_crud(String, EntityPersister, PersistenceContext, boolean, boolean)[11]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.027">
    <system-out><![CDATA[2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Country(name varchar(255), creationDate timestamp, modificationDate timestamp, id int not null, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Town(discotecCount integer not null, id int not null, name varchar(255), countryId int, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Village(barCount integer not null, id int not null, name varchar(255), countryId int, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table Town add constraint FK_Town_countryId_Country_id foreign key(countryId) references Country(id)
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table Village add constraint FK_Village_countryId_Country_id foreign key(countryId) references Country(id)
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Country(name, modificationDate, creationDate, id) values (?, ?, ?, ?) | {1={Country.id=o.c.s.i.PersistableIdentifier@1, Country.modificationDate=null, Country.creationDate=null, Country.name=null}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Village(barCount, name, id, countryId) values (?, ?, ?, ?) | {1={Village.countryId=o.c.s.i.PersistableIdentifier@1, Village.id=o.c.s.i.PersistableIdentifier@42, Village.name=Grenoble, Village.barCount=0}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Country.name as Country_name, Country.modificationDate as Country_modificationDate, Country.creationDate as Country_creationDate, Country.id as Country_id, Town.id as Town_id, Village.id as Village_id from Country left outer join Town as Town on Country.id = Town.countryId left outer join Village as Village on Country.id = Village.countryId where Country.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Country
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	TablePerClassPolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@42]
2026-05-19 05:31:13	DEBUG	TablePerClassPolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND org.codefilarete.stalactite.query.api.QueryStatement$PseudoColumn@13d98e0 In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select City.name as City_name, City.id as City_id, City.DISCRIMINATOR as City_DISCRIMINATOR, Town.discotecCount as Town_discotecCount, Town.name as Town_name, Town.id as Town_id, Village.barCount as Village_barCount, Village.name as Village_name, Village.id as Village_id from (select Town.name as name, Town.id as id, 'Town' as DISCRIMINATOR from Town union all select Village.name as name, Village.id as id, 'Village' as DISCRIMINATOR from Village) as City left outer join Town as Town on City.id = Town.id left outer join Village as Village on City.id = Village.id where City.id in (?) | {1=o.c.s.i.PersistedIdentifier@42}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.TablePerClassRootJoinNode$TablePerClassPolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Village#o.c.s.i.PersistedIdentifier@42
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Village set barCount = ?, name = ?, countryId = ? where id = ? | {1={Village.countryId (U)=o.c.s.i.PersistableIdentifier@1, Village.id (W)=o.c.s.i.PersistedIdentifier@42, Village.name (U)=Grenoble, Village.barCount (U)=51}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Town(discotecCount, name, id, countryId) values (?, ?, ?, ?) | {1={Town.name=Lyon, Town.id=o.c.s.i.PersistableIdentifier@17, Town.discotecCount=123, Town.countryId=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Country.name as Country_name, Country.modificationDate as Country_modificationDate, Country.creationDate as Country_creationDate, Country.id as Country_id, Town.id as Town_id, Village.id as Village_id from Country left outer join Town as Town on Country.id = Town.countryId left outer join Village as Village on Country.id = Village.countryId where Country.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Country
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	TablePerClassPolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@17, o.c.s.i.PersistedIdentifier@42]
2026-05-19 05:31:13	DEBUG	TablePerClassPolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND org.codefilarete.stalactite.query.api.QueryStatement$PseudoColumn@13d98e0 In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select City.name as City_name, City.id as City_id, City.DISCRIMINATOR as City_DISCRIMINATOR, Town.discotecCount as Town_discotecCount, Town.name as Town_name, Town.id as Town_id, Village.barCount as Village_barCount, Village.name as Village_name, Village.id as Village_id from (select Town.name as name, Town.id as id, 'Town' as DISCRIMINATOR from Town union all select Village.name as name, Village.id as id, 'Village' as DISCRIMINATOR from Village) as City left outer join Town as Town on City.id = Town.id left outer join Village as Village on City.id = Village.id where City.id in (?, ?) | {1=o.c.s.i.PersistedIdentifier@17, 2=o.c.s.i.PersistedIdentifier@42}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.TablePerClassRootJoinNode$TablePerClassPolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Town#o.c.s.i.PersistedIdentifier@17
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.TablePerClassRootJoinNode$TablePerClassPolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Village#o.c.s.i.PersistedIdentifier@42
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Town set discotecCount = ?, name = ?, countryId = ? where id = ? | {1={Town.name (U)=Lyon, Town.id (W)=o.c.s.i.PersistableIdentifier@17, Town.discotecCount (U)=123, Town.countryId (U)=null}}
2026-05-19 05:31:13	TRACE	SQLOperation	select CountryId from Town union all select CountryId from Village | {}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Village set barCount = ?, name = ?, countryId = ? where id = ? | {1={Village.countryId (U)=null, Village.id (W)=o.c.s.i.PersistableIdentifier@42, Village.name (U)=Grenoble, Village.barCount (U)=51}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Country where id = ? | {1={Country.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	TRACE	SQLOperation	select * from Town union select * from Village | {}
]]></system-out>
  </testcase>
  <testcase name="oneToPolymorphicMany_crud(String, EntityPersister, PersistenceContext, boolean, boolean)[12]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.023">
    <system-out><![CDATA[2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Country(name varchar(255), creationDate timestamp, modificationDate timestamp, id int not null, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Town(discotecCount integer not null, id int not null, name varchar(255), countryId int, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Village(barCount integer not null, id int not null, name varchar(255), countryId int, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table Town add constraint FK_Town_countryId_Country_id foreign key(countryId) references Country(id)
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table Village add constraint FK_Village_countryId_Country_id foreign key(countryId) references Country(id)
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Country(name, modificationDate, creationDate, id) values (?, ?, ?, ?) | {1={Country.creationDate=null, Country.modificationDate=null, Country.name=null, Country.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Village(barCount, name, id, countryId) values (?, ?, ?, ?) | {1={Village.name=Grenoble, Village.countryId=o.c.s.i.PersistableIdentifier@1, Village.barCount=0, Village.id=o.c.s.i.PersistableIdentifier@42}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Country.name as Country_name, Country.modificationDate as Country_modificationDate, Country.creationDate as Country_creationDate, Country.id as Country_id, City.clazz_ as City_clazz_, City.name as City_name, City.id as City_id, City.countryId as City_countryId, City.barCount as City_barCount, City.discotecCount as City_discotecCount, City_Village.barCount as City_Village_barCount, City_Village.name as City_Village_name, City_Village.countryId as City_Village_countryId, City_Village.id as City_Village_id, City_Town.discotecCount as City_Town_discotecCount, City_Town.name as City_Town_name, City_Town.countryId as City_Town_countryId, City_Town.id as City_Town_id from Country left outer join (select 1 as clazz_, name, id, countryId, barCount as barCount, cast(null as integer) as discotecCount from Village union all select 2 as clazz_, name, id, countryId, cast(null as integer) as barCount, discotecCount as discotecCount from Town) as City on Country.id = City.countryId left outer join Village as City_Village on City.id = City_Village.id left outer join Town as City_Town on City.id = City_Town.id where Country.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Country
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.TablePerClassPolymorphicRelationJoinNode$TablePerClassPolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PolymorphicMergeJoinRowConsumer on object o.c.s.e.m.Village#o.c.s.i.PersistedIdentifier@42
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Village set barCount = ?, name = ?, countryId = ? where id = ? | {1={Village.name (U)=Grenoble, Village.countryId (U)=o.c.s.i.PersistableIdentifier@1, Village.barCount (U)=51, Village.id (W)=o.c.s.i.PersistedIdentifier@42}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Town(discotecCount, name, id, countryId) values (?, ?, ?, ?) | {1={Town.countryId=o.c.s.i.PersistableIdentifier@1, Town.name=Lyon, Town.discotecCount=123, Town.id=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Country.name as Country_name, Country.modificationDate as Country_modificationDate, Country.creationDate as Country_creationDate, Country.id as Country_id, City.clazz_ as City_clazz_, City.name as City_name, City.id as City_id, City.countryId as City_countryId, City.barCount as City_barCount, City.discotecCount as City_discotecCount, City_Village.barCount as City_Village_barCount, City_Village.name as City_Village_name, City_Village.countryId as City_Village_countryId, City_Village.id as City_Village_id, City_Town.discotecCount as City_Town_discotecCount, City_Town.name as City_Town_name, City_Town.countryId as City_Town_countryId, City_Town.id as City_Town_id from Country left outer join (select 1 as clazz_, name, id, countryId, barCount as barCount, cast(null as integer) as discotecCount from Village union all select 2 as clazz_, name, id, countryId, cast(null as integer) as barCount, discotecCount as discotecCount from Town) as City on Country.id = City.countryId left outer join Village as City_Village on City.id = City_Village.id left outer join Town as City_Town on City.id = City_Town.id where Country.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Country
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.TablePerClassPolymorphicRelationJoinNode$TablePerClassPolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PolymorphicMergeJoinRowConsumer on object o.c.s.e.m.Village#o.c.s.i.PersistedIdentifier@42
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Country
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.TablePerClassPolymorphicRelationJoinNode$TablePerClassPolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PolymorphicMergeJoinRowConsumer on object o.c.s.e.m.Town#o.c.s.i.PersistedIdentifier@17
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Town set discotecCount = ?, name = ?, countryId = ? where id = ? | {1={Town.countryId (U)=null, Town.name (U)=Lyon, Town.discotecCount (U)=123, Town.id (W)=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:13	TRACE	SQLOperation	select CountryId from Town union all select CountryId from Village | {}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Village set barCount = ?, name = ?, countryId = ? where id = ? | {1={Village.name (U)=Grenoble, Village.countryId (U)=null, Village.barCount (U)=51, Village.id (W)=o.c.s.i.PersistableIdentifier@42}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Country where id = ? | {1={Country.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	TRACE	SQLOperation	select * from Town union select * from Village | {}
]]></system-out>
  </testcase>
  <testcase name="oneToPolymorphicOne_crud(String, EntityPersister, PersistenceContext, boolean, boolean)[1]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.048">
    <system-out><![CDATA[2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Person(name varchar(255), creationDate timestamp, modificationDate timestamp, id int not null, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Vehicle(color int, id int not null, DTYPE varchar(255) not null, ownerId int, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table Vehicle add constraint FK_Vehicle_ownerId_Person_id foreign key(ownerId) references Person(id)
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Person(creationDate, modificationDate, name, id) values (?, ?, ?, ?) | {1={Person.name=null, Person.id=o.c.s.i.PersistableIdentifier@1, Person.modificationDate=null, Person.creationDate=null}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Vehicle(color, id, DTYPE, ownerId) values (?, ?, ?, ?) | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@42, Vehicle.color=Color[rgb=17], Vehicle.DTYPE=C, Vehicle.ownerId=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.id as Vehicle_id, Vehicle.DTYPE as Vehicle_DTYPE from Person left outer join Vehicle as Vehicle on Person.id = Vehicle.ownerId where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistedIdentifier@42]
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id from Vehicle where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@42}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Car
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Person set creationDate = ?, modificationDate = ?, name = ? where id = ? | {1={Person.name (U)=null, Person.id (W)=o.c.s.i.PersistedIdentifier@1, Person.modificationDate (U)=Tue May 19 05:31:13 UTC 2026, Person.creationDate (U)=Tue May 19 05:31:13 UTC 2026}}
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@42]
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.DTYPE as Vehicle_DTYPE from Vehicle where Vehicle.id in (?) | {1=o.c.s.i.PersistableIdentifier@42}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.SingleTableRootJoinNode$SingleTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Vehicle set color = ?, ownerId = ? where id = ? | {1={Vehicle.id (W)=o.c.s.i.PersistedIdentifier@42, Vehicle.color (U)=Color[rgb=17], Vehicle.ownerId (U)=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.id as Vehicle_id, Vehicle.DTYPE as Vehicle_DTYPE from Person left outer join Vehicle as Vehicle on Person.id = Vehicle.ownerId where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistedIdentifier@42]
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id from Vehicle where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@42}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Car
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistedIdentifier@42}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Vehicle(color, id, DTYPE, ownerId) values (?, ?, ?, ?) | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@666, Vehicle.color=null, Vehicle.DTYPE=T, Vehicle.ownerId=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.id as Vehicle_id, Vehicle.DTYPE as Vehicle_DTYPE from Person left outer join Vehicle as Vehicle on Person.id = Vehicle.ownerId where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistedIdentifier@666]
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id from Vehicle where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@666}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Truck
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@42]
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.DTYPE as Vehicle_DTYPE from Vehicle where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@42}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistedIdentifier@666}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.id as Vehicle_id, Vehicle.DTYPE as Vehicle_DTYPE from Person left outer join Vehicle as Vehicle on Person.id = Vehicle.ownerId where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@666]
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.DTYPE as Vehicle_DTYPE from Vehicle where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@666}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Vehicle(color, id, DTYPE, ownerId) values (?, ?, ?, ?) | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@17, Vehicle.color=null, Vehicle.DTYPE=T, Vehicle.ownerId=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.id as Vehicle_id, Vehicle.DTYPE as Vehicle_DTYPE from Person left outer join Vehicle as Vehicle on Person.id = Vehicle.ownerId where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistedIdentifier@17]
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id from Vehicle where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@17}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Truck
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Person where id = ? | {1={Person.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.id as Vehicle_id, Vehicle.DTYPE as Vehicle_DTYPE from Person left outer join Vehicle as Vehicle on Person.id = Vehicle.ownerId where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@17]
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.DTYPE as Vehicle_DTYPE from Vehicle where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@17}
]]></system-out>
  </testcase>
  <testcase name="oneToPolymorphicOne_crud(String, EntityPersister, PersistenceContext, boolean, boolean)[2]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.021">
    <system-out><![CDATA[2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Person(name varchar(255), creationDate timestamp, modificationDate timestamp, id int not null, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Vehicle(color int, id int not null, DTYPE varchar(255) not null, ownerId int, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table Vehicle add constraint FK_Vehicle_ownerId_Person_id foreign key(ownerId) references Person(id)
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Person(creationDate, modificationDate, name, id) values (?, ?, ?, ?) | {1={Person.modificationDate=null, Person.name=null, Person.creationDate=null, Person.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Vehicle(color, id, DTYPE, ownerId) values (?, ?, ?, ?) | {1={Vehicle.DTYPE=C, Vehicle.color=Color[rgb=17], Vehicle.ownerId=o.c.s.i.PersistableIdentifier@1, Vehicle.id=o.c.s.i.PersistableIdentifier@42}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.DTYPE as Vehicle_DTYPE, Vehicle.ownerId as Vehicle_ownerId from Person left outer join Vehicle as Vehicle on Person.id = Vehicle.ownerId where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.SingleTablePolymorphicRelationJoinNode$SingleTablePolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Person set creationDate = ?, modificationDate = ?, name = ? where id = ? | {1={Person.modificationDate (U)=Tue May 19 05:31:13 UTC 2026, Person.name (U)=null, Person.creationDate (U)=Tue May 19 05:31:13 UTC 2026, Person.id (W)=o.c.s.i.PersistedIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@42]
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.DTYPE as Vehicle_DTYPE from Vehicle where Vehicle.id in (?) | {1=o.c.s.i.PersistableIdentifier@42}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.SingleTableRootJoinNode$SingleTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Vehicle set color = ?, ownerId = ? where id = ? | {1={Vehicle.color (U)=Color[rgb=17], Vehicle.ownerId (U)=o.c.s.i.PersistableIdentifier@1, Vehicle.id (W)=o.c.s.i.PersistedIdentifier@42}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.DTYPE as Vehicle_DTYPE, Vehicle.ownerId as Vehicle_ownerId from Person left outer join Vehicle as Vehicle on Person.id = Vehicle.ownerId where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.SingleTablePolymorphicRelationJoinNode$SingleTablePolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistedIdentifier@42}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Vehicle(color, id, DTYPE, ownerId) values (?, ?, ?, ?) | {1={Vehicle.DTYPE=T, Vehicle.color=null, Vehicle.ownerId=o.c.s.i.PersistableIdentifier@1, Vehicle.id=o.c.s.i.PersistableIdentifier@666}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.DTYPE as Vehicle_DTYPE, Vehicle.ownerId as Vehicle_ownerId from Person left outer join Vehicle as Vehicle on Person.id = Vehicle.ownerId where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.SingleTablePolymorphicRelationJoinNode$SingleTablePolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@42]
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.DTYPE as Vehicle_DTYPE from Vehicle where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@42}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistedIdentifier@666}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.DTYPE as Vehicle_DTYPE, Vehicle.ownerId as Vehicle_ownerId from Person left outer join Vehicle as Vehicle on Person.id = Vehicle.ownerId where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.SingleTablePolymorphicRelationJoinNode$SingleTablePolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@666]
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.DTYPE as Vehicle_DTYPE from Vehicle where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@666}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Vehicle(color, id, DTYPE, ownerId) values (?, ?, ?, ?) | {1={Vehicle.DTYPE=T, Vehicle.color=null, Vehicle.ownerId=o.c.s.i.PersistableIdentifier@1, Vehicle.id=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.DTYPE as Vehicle_DTYPE, Vehicle.ownerId as Vehicle_ownerId from Person left outer join Vehicle as Vehicle on Person.id = Vehicle.ownerId where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.SingleTablePolymorphicRelationJoinNode$SingleTablePolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Person where id = ? | {1={Person.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.DTYPE as Vehicle_DTYPE, Vehicle.ownerId as Vehicle_ownerId from Person left outer join Vehicle as Vehicle on Person.id = Vehicle.ownerId where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@17]
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.DTYPE as Vehicle_DTYPE from Vehicle where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@17}
]]></system-out>
  </testcase>
  <testcase name="oneToPolymorphicOne_crud(String, EntityPersister, PersistenceContext, boolean, boolean)[3]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.029">
    <system-out><![CDATA[2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Person(name varchar(255), creationDate timestamp, modificationDate timestamp, id int not null, vehicleId int, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Vehicle(color int, id int not null, DTYPE varchar(255) not null, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table Person add constraint FK_Person_vehicleId_Vehicle_id foreign key(vehicleId) references Vehicle(id)
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Vehicle(color, id, DTYPE) values (?, ?, ?) | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@42, Vehicle.DTYPE=C, Vehicle.color=Color[rgb=17]}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Person(creationDate, modificationDate, name, id, vehicleId) values (?, ?, ?, ?, ?) | {1={Person.id=o.c.s.i.PersistableIdentifier@1, Person.creationDate=null, Person.modificationDate=null, Person.vehicleId=o.c.s.i.PersistableIdentifier@42, Person.name=null}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.id as Vehicle_id, Vehicle.DTYPE as Vehicle_DTYPE from Person left outer join Vehicle as Vehicle on Person.vehicleId = Vehicle.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistedIdentifier@42]
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id from Vehicle where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@42}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Car
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Person set creationDate = ?, modificationDate = ?, name = ?, vehicleId = ? where id = ? | {1={Person.id (W)=o.c.s.i.PersistedIdentifier@1, Person.creationDate (U)=Tue May 19 05:31:13 UTC 2026, Person.modificationDate (U)=Tue May 19 05:31:13 UTC 2026, Person.vehicleId (U)=o.c.s.i.PersistableIdentifier@42, Person.name (U)=null}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.id as Vehicle_id, Vehicle.DTYPE as Vehicle_DTYPE from Person left outer join Vehicle as Vehicle on Person.vehicleId = Vehicle.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistedIdentifier@42]
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id from Vehicle where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@42}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Car
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Vehicle(color, id, DTYPE) values (?, ?, ?) | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@666, Vehicle.DTYPE=T, Vehicle.color=null}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Person set creationDate = ?, modificationDate = ?, name = ?, vehicleId = ? where id = ? | {1={Person.id (W)=o.c.s.i.PersistedIdentifier@1, Person.creationDate (U)=Tue May 19 05:31:13 UTC 2026, Person.modificationDate (U)=Tue May 19 05:31:13 UTC 2026, Person.vehicleId (U)=o.c.s.i.PersistableIdentifier@666, Person.name (U)=null}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistedIdentifier@42}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.id as Vehicle_id, Vehicle.DTYPE as Vehicle_DTYPE from Person left outer join Vehicle as Vehicle on Person.vehicleId = Vehicle.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistedIdentifier@666]
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id from Vehicle where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@666}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Truck
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@42]
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.DTYPE as Vehicle_DTYPE from Vehicle where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@42}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Person set creationDate = ?, modificationDate = ?, name = ?, vehicleId = ? where id = ? | {1={Person.id (W)=o.c.s.i.PersistedIdentifier@1, Person.creationDate (U)=Tue May 19 05:31:13 UTC 2026, Person.modificationDate (U)=Tue May 19 05:31:13 UTC 2026, Person.vehicleId (U)=null, Person.name (U)=null}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistedIdentifier@666}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.id as Vehicle_id, Vehicle.DTYPE as Vehicle_DTYPE from Person left outer join Vehicle as Vehicle on Person.vehicleId = Vehicle.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@666]
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.DTYPE as Vehicle_DTYPE from Vehicle where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@666}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Vehicle(color, id, DTYPE) values (?, ?, ?) | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@17, Vehicle.DTYPE=T, Vehicle.color=null}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Person set creationDate = ?, modificationDate = ?, name = ?, vehicleId = ? where id = ? | {1={Person.id (W)=o.c.s.i.PersistedIdentifier@1, Person.creationDate (U)=Tue May 19 05:31:13 UTC 2026, Person.modificationDate (U)=Tue May 19 05:31:13 UTC 2026, Person.vehicleId (U)=o.c.s.i.PersistableIdentifier@17, Person.name (U)=null}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Vehicle set color = ? where id = ? | {1={Vehicle.color (U)=null, Vehicle.id (W)=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.id as Vehicle_id, Vehicle.DTYPE as Vehicle_DTYPE from Person left outer join Vehicle as Vehicle on Person.vehicleId = Vehicle.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistedIdentifier@17]
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id from Vehicle where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@17}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Truck
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Person where id = ? | {1={Person.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.id as Vehicle_id, Vehicle.DTYPE as Vehicle_DTYPE from Person left outer join Vehicle as Vehicle on Person.vehicleId = Vehicle.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@17]
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.DTYPE as Vehicle_DTYPE from Vehicle where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@17}
]]></system-out>
  </testcase>
  <testcase name="oneToPolymorphicOne_crud(String, EntityPersister, PersistenceContext, boolean, boolean)[4]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.026">
    <system-out><![CDATA[2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Person(name varchar(255), creationDate timestamp, modificationDate timestamp, id int not null, vehicleId int, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Vehicle(color int, id int not null, DTYPE varchar(255) not null, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table Person add constraint FK_Person_vehicleId_Vehicle_id foreign key(vehicleId) references Vehicle(id)
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Vehicle(color, id, DTYPE) values (?, ?, ?) | {1={Vehicle.color=Color[rgb=17], Vehicle.id=o.c.s.i.PersistableIdentifier@42, Vehicle.DTYPE=C}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Person(creationDate, modificationDate, name, id, vehicleId) values (?, ?, ?, ?, ?) | {1={Person.creationDate=null, Person.vehicleId=o.c.s.i.PersistableIdentifier@42, Person.modificationDate=null, Person.id=o.c.s.i.PersistableIdentifier@1, Person.name=null}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.DTYPE as Vehicle_DTYPE from Person left outer join Vehicle as Vehicle on Person.vehicleId = Vehicle.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.SingleTablePolymorphicRelationJoinNode$SingleTablePolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Person set creationDate = ?, modificationDate = ?, name = ?, vehicleId = ? where id = ? | {1={Person.creationDate (U)=Tue May 19 05:31:13 UTC 2026, Person.vehicleId (U)=o.c.s.i.PersistableIdentifier@42, Person.modificationDate (U)=Tue May 19 05:31:13 UTC 2026, Person.id (W)=o.c.s.i.PersistedIdentifier@1, Person.name (U)=null}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.DTYPE as Vehicle_DTYPE from Person left outer join Vehicle as Vehicle on Person.vehicleId = Vehicle.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.SingleTablePolymorphicRelationJoinNode$SingleTablePolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Vehicle(color, id, DTYPE) values (?, ?, ?) | {1={Vehicle.color=null, Vehicle.id=o.c.s.i.PersistableIdentifier@666, Vehicle.DTYPE=T}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Person set creationDate = ?, modificationDate = ?, name = ?, vehicleId = ? where id = ? | {1={Person.vehicleId (U)=o.c.s.i.PersistableIdentifier@666, Person.creationDate (U)=Tue May 19 05:31:13 UTC 2026, Person.modificationDate (U)=Tue May 19 05:31:13 UTC 2026, Person.id (W)=o.c.s.i.PersistedIdentifier@1, Person.name (U)=null}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistedIdentifier@42}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.DTYPE as Vehicle_DTYPE from Person left outer join Vehicle as Vehicle on Person.vehicleId = Vehicle.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.SingleTablePolymorphicRelationJoinNode$SingleTablePolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@42]
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.DTYPE as Vehicle_DTYPE from Vehicle where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@42}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Person set creationDate = ?, modificationDate = ?, name = ?, vehicleId = ? where id = ? | {1={Person.vehicleId (U)=null, Person.creationDate (U)=Tue May 19 05:31:13 UTC 2026, Person.modificationDate (U)=Tue May 19 05:31:13 UTC 2026, Person.id (W)=o.c.s.i.PersistedIdentifier@1, Person.name (U)=null}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistedIdentifier@666}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.DTYPE as Vehicle_DTYPE from Person left outer join Vehicle as Vehicle on Person.vehicleId = Vehicle.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.SingleTablePolymorphicRelationJoinNode$SingleTablePolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@666]
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.DTYPE as Vehicle_DTYPE from Vehicle where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@666}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Vehicle(color, id, DTYPE) values (?, ?, ?) | {1={Vehicle.color=null, Vehicle.id=o.c.s.i.PersistableIdentifier@17, Vehicle.DTYPE=T}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Person set creationDate = ?, modificationDate = ?, name = ?, vehicleId = ? where id = ? | {1={Person.vehicleId (U)=o.c.s.i.PersistableIdentifier@17, Person.creationDate (U)=Tue May 19 05:31:13 UTC 2026, Person.modificationDate (U)=Tue May 19 05:31:13 UTC 2026, Person.id (W)=o.c.s.i.PersistedIdentifier@1, Person.name (U)=null}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Vehicle set color = ? where id = ? | {1={Vehicle.color (U)=null, Vehicle.id (W)=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.DTYPE as Vehicle_DTYPE from Person left outer join Vehicle as Vehicle on Person.vehicleId = Vehicle.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.SingleTablePolymorphicRelationJoinNode$SingleTablePolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Person where id = ? | {1={Person.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.DTYPE as Vehicle_DTYPE from Person left outer join Vehicle as Vehicle on Person.vehicleId = Vehicle.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@17]
2026-05-19 05:31:13	DEBUG	SingleTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.DTYPE as Vehicle_DTYPE from Vehicle where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@17}
]]></system-out>
  </testcase>
  <testcase name="oneToPolymorphicOne_crud(String, EntityPersister, PersistenceContext, boolean, boolean)[5]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.03">
    <system-out><![CDATA[2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Car(id int not null, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Person(name varchar(255), creationDate timestamp, modificationDate timestamp, id int not null, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Truck(id int not null, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	create table Vehicle(color int, id int not null, ownerId int, unique (id))
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table Car add constraint FK_Car_id_Vehicle_id foreign key(id) references Vehicle(id)
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table Truck add constraint FK_Truck_id_Vehicle_id foreign key(id) references Vehicle(id)
2026-05-19 05:31:13	DEBUG	DDLDeployer	alter table Vehicle add constraint FK_Vehicle_ownerId_Person_id foreign key(ownerId) references Person(id)
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Person(creationDate, modificationDate, name, id) values (?, ?, ?, ?) | {1={Person.name=null, Person.creationDate=null, Person.modificationDate=null, Person.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Vehicle(color, id, ownerId) values (?, ?, ?) | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@42, Vehicle.color=Color[rgb=17], Vehicle.ownerId=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	insert into Car(id) values (?) | {1={Car.id=o.c.s.i.PersistableIdentifier@42}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.ownerId as Vehicle_ownerId, Vehicle_Truck.id as Vehicle_Truck_id, Vehicle_Car.id as Vehicle_Car_id from Person left outer join Vehicle as Vehicle on Person.id = Vehicle.ownerId left outer join Truck as Vehicle_Truck on Vehicle.id = Vehicle_Truck.id left outer join Car as Vehicle_Car on Vehicle.id = Vehicle_Car.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:13	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@42]
2026-05-19 05:31:13	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Truck.id as Truck_id, Car.id as Car_id from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@42}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Car
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@42
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Person set creationDate = ?, modificationDate = ?, name = ? where id = ? | {1={Person.name (U)=null, Person.creationDate (U)=Tue May 19 05:31:13 UTC 2026, Person.modificationDate (U)=Tue May 19 05:31:13 UTC 2026, Person.id (W)=o.c.s.i.PersistedIdentifier@1}}
2026-05-19 05:31:13	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@42]
2026-05-19 05:31:13	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:13	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Truck.id as Truck_id, Car.id as Car_id from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id where Vehicle.id in (?) | {1=o.c.s.i.PersistableIdentifier@42}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:13	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Car
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@42
2026-05-19 05:31:13	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:13	TRACE	SQLOperation	update Vehicle set color = ?, ownerId = ? where id = ? | {1={Vehicle.id (W)=o.c.s.i.PersistedIdentifier@42, Vehicle.color (U)=Color[rgb=17], Vehicle.ownerId (U)=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:13	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:13	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.ownerId as Vehicle_ownerId, Vehicle_Truck.id as Vehicle_Truck_id, Vehicle_Car.id as Vehicle_Car_id from Person left outer join Vehicle as Vehicle on Person.id = Vehicle.ownerId left outer join Truck as Vehicle_Truck on Vehicle.id = Vehicle_Truck.id left outer join Car as Vehicle_Car on Vehicle.id = Vehicle_Car.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:13	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@42]
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Truck.id as Truck_id, Car.id as Car_id from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@42}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Car
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@42
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Car where id = ? | {1={Car.id=o.c.s.i.PersistedIdentifier@42}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistedIdentifier@42}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Vehicle(color, id, ownerId) values (?, ?, ?) | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@666, Vehicle.color=null, Vehicle.ownerId=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Truck(id) values (?) | {1={Truck.id=o.c.s.i.PersistableIdentifier@666}}
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.ownerId as Vehicle_ownerId, Vehicle_Truck.id as Vehicle_Truck_id, Vehicle_Car.id as Vehicle_Car_id from Person left outer join Vehicle as Vehicle on Person.id = Vehicle.ownerId left outer join Truck as Vehicle_Truck on Vehicle.id = Vehicle_Truck.id left outer join Car as Vehicle_Car on Vehicle.id = Vehicle_Car.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@666]
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Truck.id as Truck_id, Car.id as Car_id from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@666}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Truck
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@666
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@42]
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Truck.id as Truck_id, Car.id as Car_id from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@42}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Truck where id = ? | {1={Truck.id=o.c.s.i.PersistedIdentifier@666}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistedIdentifier@666}}
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.ownerId as Vehicle_ownerId, Vehicle_Truck.id as Vehicle_Truck_id, Vehicle_Car.id as Vehicle_Car_id from Person left outer join Vehicle as Vehicle on Person.id = Vehicle.ownerId left outer join Truck as Vehicle_Truck on Vehicle.id = Vehicle_Truck.id left outer join Car as Vehicle_Car on Vehicle.id = Vehicle_Car.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@666]
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Truck.id as Truck_id, Car.id as Car_id from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@666}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Vehicle(color, id, ownerId) values (?, ?, ?) | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@17, Vehicle.color=null, Vehicle.ownerId=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Truck(id) values (?) | {1={Truck.id=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.ownerId as Vehicle_ownerId, Vehicle_Truck.id as Vehicle_Truck_id, Vehicle_Car.id as Vehicle_Car_id from Person left outer join Vehicle as Vehicle on Person.id = Vehicle.ownerId left outer join Truck as Vehicle_Truck on Vehicle.id = Vehicle_Truck.id left outer join Car as Vehicle_Car on Vehicle.id = Vehicle_Car.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@17]
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Truck.id as Truck_id, Car.id as Car_id from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@17}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Truck
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@17
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Truck where id = ? | {1={Truck.id=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Person where id = ? | {1={Person.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.ownerId as Vehicle_ownerId, Vehicle_Truck.id as Vehicle_Truck_id, Vehicle_Car.id as Vehicle_Car_id from Person left outer join Vehicle as Vehicle on Person.id = Vehicle.ownerId left outer join Truck as Vehicle_Truck on Vehicle.id = Vehicle_Truck.id left outer join Car as Vehicle_Car on Vehicle.id = Vehicle_Car.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@17]
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Truck.id as Truck_id, Car.id as Car_id from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@17}
]]></system-out>
  </testcase>
  <testcase name="oneToPolymorphicOne_crud(String, EntityPersister, PersistenceContext, boolean, boolean)[6]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.025">
    <system-out><![CDATA[2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Car(id int not null, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Person(name varchar(255), creationDate timestamp, modificationDate timestamp, id int not null, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Truck(id int not null, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Vehicle(color int, id int not null, ownerId int, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	alter table Car add constraint FK_Car_id_Vehicle_id foreign key(id) references Vehicle(id)
2026-05-19 05:31:14	DEBUG	DDLDeployer	alter table Truck add constraint FK_Truck_id_Vehicle_id foreign key(id) references Vehicle(id)
2026-05-19 05:31:14	DEBUG	DDLDeployer	alter table Vehicle add constraint FK_Vehicle_ownerId_Person_id foreign key(ownerId) references Person(id)
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Person(creationDate, modificationDate, name, id) values (?, ?, ?, ?) | {1={Person.modificationDate=null, Person.id=o.c.s.i.PersistableIdentifier@1, Person.creationDate=null, Person.name=null}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Vehicle(color, id, ownerId) values (?, ?, ?) | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@42, Vehicle.ownerId=o.c.s.i.PersistableIdentifier@1, Vehicle.color=Color[rgb=17]}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Car(id) values (?) | {1={Car.id=o.c.s.i.PersistableIdentifier@42}}
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.ownerId as Vehicle_ownerId, Vehicle_Truck.id as Vehicle_Truck_id, Vehicle_Car.id as Vehicle_Car_id from Person left outer join Vehicle as Vehicle on Person.id = Vehicle.ownerId left outer join Truck as Vehicle_Truck on Vehicle.id = Vehicle_Truck.id left outer join Car as Vehicle_Car on Vehicle.id = Vehicle_Car.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.JoinTablePolymorphicRelationJoinNode$JoinTablePolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PolymorphicMergeJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@42
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	update Person set creationDate = ?, modificationDate = ?, name = ? where id = ? | {1={Person.modificationDate (U)=Tue May 19 05:31:14 UTC 2026, Person.id (W)=o.c.s.i.PersistedIdentifier@1, Person.creationDate (U)=Tue May 19 05:31:14 UTC 2026, Person.name (U)=null}}
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@42]
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Truck.id as Truck_id, Car.id as Car_id from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id where Vehicle.id in (?) | {1=o.c.s.i.PersistableIdentifier@42}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Car
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@42
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	update Vehicle set color = ?, ownerId = ? where id = ? | {1={Vehicle.id (W)=o.c.s.i.PersistedIdentifier@42, Vehicle.ownerId (U)=o.c.s.i.PersistableIdentifier@1, Vehicle.color (U)=Color[rgb=17]}}
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.ownerId as Vehicle_ownerId, Vehicle_Truck.id as Vehicle_Truck_id, Vehicle_Car.id as Vehicle_Car_id from Person left outer join Vehicle as Vehicle on Person.id = Vehicle.ownerId left outer join Truck as Vehicle_Truck on Vehicle.id = Vehicle_Truck.id left outer join Car as Vehicle_Car on Vehicle.id = Vehicle_Car.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.JoinTablePolymorphicRelationJoinNode$JoinTablePolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PolymorphicMergeJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@42
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Car where id = ? | {1={Car.id=o.c.s.i.PersistedIdentifier@42}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistedIdentifier@42}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Vehicle(color, id, ownerId) values (?, ?, ?) | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@666, Vehicle.ownerId=o.c.s.i.PersistableIdentifier@1, Vehicle.color=null}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Truck(id) values (?) | {1={Truck.id=o.c.s.i.PersistableIdentifier@666}}
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.ownerId as Vehicle_ownerId, Vehicle_Truck.id as Vehicle_Truck_id, Vehicle_Car.id as Vehicle_Car_id from Person left outer join Vehicle as Vehicle on Person.id = Vehicle.ownerId left outer join Truck as Vehicle_Truck on Vehicle.id = Vehicle_Truck.id left outer join Car as Vehicle_Car on Vehicle.id = Vehicle_Car.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.JoinTablePolymorphicRelationJoinNode$JoinTablePolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PolymorphicMergeJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@666
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@42]
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Truck.id as Truck_id, Car.id as Car_id from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@42}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Truck where id = ? | {1={Truck.id=o.c.s.i.PersistedIdentifier@666}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistedIdentifier@666}}
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.ownerId as Vehicle_ownerId, Vehicle_Truck.id as Vehicle_Truck_id, Vehicle_Car.id as Vehicle_Car_id from Person left outer join Vehicle as Vehicle on Person.id = Vehicle.ownerId left outer join Truck as Vehicle_Truck on Vehicle.id = Vehicle_Truck.id left outer join Car as Vehicle_Car on Vehicle.id = Vehicle_Car.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.JoinTablePolymorphicRelationJoinNode$JoinTablePolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@666]
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Truck.id as Truck_id, Car.id as Car_id from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@666}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Vehicle(color, id, ownerId) values (?, ?, ?) | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@17, Vehicle.ownerId=o.c.s.i.PersistableIdentifier@1, Vehicle.color=null}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Truck(id) values (?) | {1={Truck.id=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.ownerId as Vehicle_ownerId, Vehicle_Truck.id as Vehicle_Truck_id, Vehicle_Car.id as Vehicle_Car_id from Person left outer join Vehicle as Vehicle on Person.id = Vehicle.ownerId left outer join Truck as Vehicle_Truck on Vehicle.id = Vehicle_Truck.id left outer join Car as Vehicle_Car on Vehicle.id = Vehicle_Car.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.JoinTablePolymorphicRelationJoinNode$JoinTablePolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PolymorphicMergeJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@17
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Truck where id = ? | {1={Truck.id=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Person where id = ? | {1={Person.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.ownerId as Vehicle_ownerId, Vehicle_Truck.id as Vehicle_Truck_id, Vehicle_Car.id as Vehicle_Car_id from Person left outer join Vehicle as Vehicle on Person.id = Vehicle.ownerId left outer join Truck as Vehicle_Truck on Vehicle.id = Vehicle_Truck.id left outer join Car as Vehicle_Car on Vehicle.id = Vehicle_Car.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@17]
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Truck.id as Truck_id, Car.id as Car_id from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@17}
]]></system-out>
  </testcase>
  <testcase name="oneToPolymorphicOne_crud(String, EntityPersister, PersistenceContext, boolean, boolean)[7]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.028">
    <system-out><![CDATA[2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Car(id int not null, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Person(name varchar(255), creationDate timestamp, modificationDate timestamp, id int not null, vehicleId int, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Truck(id int not null, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Vehicle(color int, id int not null, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	alter table Car add constraint FK_Car_id_Vehicle_id foreign key(id) references Vehicle(id)
2026-05-19 05:31:14	DEBUG	DDLDeployer	alter table Person add constraint FK_Person_vehicleId_Vehicle_id foreign key(vehicleId) references Vehicle(id)
2026-05-19 05:31:14	DEBUG	DDLDeployer	alter table Truck add constraint FK_Truck_id_Vehicle_id foreign key(id) references Vehicle(id)
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Vehicle(color, id) values (?, ?) | {1={Vehicle.color=Color[rgb=17], Vehicle.id=o.c.s.i.PersistableIdentifier@42}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Car(id) values (?) | {1={Car.id=o.c.s.i.PersistableIdentifier@42}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Person(creationDate, modificationDate, name, id, vehicleId) values (?, ?, ?, ?, ?) | {1={Person.id=o.c.s.i.PersistableIdentifier@1, Person.modificationDate=null, Person.name=null, Person.vehicleId=o.c.s.i.PersistableIdentifier@42, Person.creationDate=null}}
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.id as Vehicle_id, Vehicle_Truck.id as Vehicle_Truck_id, Vehicle_Car.id as Vehicle_Car_id from Person left outer join Vehicle as Vehicle on Person.vehicleId = Vehicle.id left outer join Truck as Vehicle_Truck on Vehicle.id = Vehicle_Truck.id left outer join Car as Vehicle_Car on Vehicle.id = Vehicle_Car.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@42]
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Truck.id as Truck_id, Car.id as Car_id from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@42}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Car
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@42
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	update Person set creationDate = ?, modificationDate = ?, name = ?, vehicleId = ? where id = ? | {1={Person.id (W)=o.c.s.i.PersistedIdentifier@1, Person.modificationDate (U)=Tue May 19 05:31:14 UTC 2026, Person.name (U)=null, Person.vehicleId (U)=o.c.s.i.PersistableIdentifier@42, Person.creationDate (U)=Tue May 19 05:31:14 UTC 2026}}
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.id as Vehicle_id, Vehicle_Truck.id as Vehicle_Truck_id, Vehicle_Car.id as Vehicle_Car_id from Person left outer join Vehicle as Vehicle on Person.vehicleId = Vehicle.id left outer join Truck as Vehicle_Truck on Vehicle.id = Vehicle_Truck.id left outer join Car as Vehicle_Car on Vehicle.id = Vehicle_Car.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@42]
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Truck.id as Truck_id, Car.id as Car_id from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@42}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Car
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@42
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Vehicle(color, id) values (?, ?) | {1={Vehicle.color=null, Vehicle.id=o.c.s.i.PersistableIdentifier@666}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Truck(id) values (?) | {1={Truck.id=o.c.s.i.PersistableIdentifier@666}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	update Person set creationDate = ?, modificationDate = ?, name = ?, vehicleId = ? where id = ? | {1={Person.id (W)=o.c.s.i.PersistedIdentifier@1, Person.modificationDate (U)=Tue May 19 05:31:14 UTC 2026, Person.name (U)=null, Person.vehicleId (U)=o.c.s.i.PersistableIdentifier@666, Person.creationDate (U)=Tue May 19 05:31:14 UTC 2026}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Car where id = ? | {1={Car.id=o.c.s.i.PersistedIdentifier@42}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistedIdentifier@42}}
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.id as Vehicle_id, Vehicle_Truck.id as Vehicle_Truck_id, Vehicle_Car.id as Vehicle_Car_id from Person left outer join Vehicle as Vehicle on Person.vehicleId = Vehicle.id left outer join Truck as Vehicle_Truck on Vehicle.id = Vehicle_Truck.id left outer join Car as Vehicle_Car on Vehicle.id = Vehicle_Car.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@666]
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Truck.id as Truck_id, Car.id as Car_id from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@666}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Truck
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@666
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@42]
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Truck.id as Truck_id, Car.id as Car_id from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@42}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	update Person set creationDate = ?, modificationDate = ?, name = ?, vehicleId = ? where id = ? | {1={Person.id (W)=o.c.s.i.PersistedIdentifier@1, Person.modificationDate (U)=Tue May 19 05:31:14 UTC 2026, Person.name (U)=null, Person.vehicleId (U)=null, Person.creationDate (U)=Tue May 19 05:31:14 UTC 2026}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Truck where id = ? | {1={Truck.id=o.c.s.i.PersistedIdentifier@666}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistedIdentifier@666}}
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.id as Vehicle_id, Vehicle_Truck.id as Vehicle_Truck_id, Vehicle_Car.id as Vehicle_Car_id from Person left outer join Vehicle as Vehicle on Person.vehicleId = Vehicle.id left outer join Truck as Vehicle_Truck on Vehicle.id = Vehicle_Truck.id left outer join Car as Vehicle_Car on Vehicle.id = Vehicle_Car.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@666]
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Truck.id as Truck_id, Car.id as Car_id from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@666}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Vehicle(color, id) values (?, ?) | {1={Vehicle.color=null, Vehicle.id=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Truck(id) values (?) | {1={Truck.id=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	update Person set creationDate = ?, modificationDate = ?, name = ?, vehicleId = ? where id = ? | {1={Person.id (W)=o.c.s.i.PersistedIdentifier@1, Person.modificationDate (U)=Tue May 19 05:31:14 UTC 2026, Person.name (U)=null, Person.vehicleId (U)=o.c.s.i.PersistableIdentifier@17, Person.creationDate (U)=Tue May 19 05:31:14 UTC 2026}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	update Vehicle set color = ? where id = ? | {1={Vehicle.color (U)=null, Vehicle.id (W)=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.id as Vehicle_id, Vehicle_Truck.id as Vehicle_Truck_id, Vehicle_Car.id as Vehicle_Car_id from Person left outer join Vehicle as Vehicle on Person.vehicleId = Vehicle.id left outer join Truck as Vehicle_Truck on Vehicle.id = Vehicle_Truck.id left outer join Car as Vehicle_Car on Vehicle.id = Vehicle_Car.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PassiveJoinNode$PassiveJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@17]
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Truck.id as Truck_id, Car.id as Car_id from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@17}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Truck
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@17
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Person where id = ? | {1={Person.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Truck where id = ? | {1={Truck.id=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.id as Vehicle_id, Vehicle_Truck.id as Vehicle_Truck_id, Vehicle_Car.id as Vehicle_Car_id from Person left outer join Vehicle as Vehicle on Person.vehicleId = Vehicle.id left outer join Truck as Vehicle_Truck on Vehicle.id = Vehicle_Truck.id left outer join Car as Vehicle_Car on Vehicle.id = Vehicle_Car.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@17]
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Truck.id as Truck_id, Car.id as Car_id from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@17}
]]></system-out>
  </testcase>
  <testcase name="oneToPolymorphicOne_crud(String, EntityPersister, PersistenceContext, boolean, boolean)[8]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.024">
    <system-out><![CDATA[2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Car(id int not null, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Person(name varchar(255), creationDate timestamp, modificationDate timestamp, id int not null, vehicleId int, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Truck(id int not null, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Vehicle(color int, id int not null, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	alter table Car add constraint FK_Car_id_Vehicle_id foreign key(id) references Vehicle(id)
2026-05-19 05:31:14	DEBUG	DDLDeployer	alter table Person add constraint FK_Person_vehicleId_Vehicle_id foreign key(vehicleId) references Vehicle(id)
2026-05-19 05:31:14	DEBUG	DDLDeployer	alter table Truck add constraint FK_Truck_id_Vehicle_id foreign key(id) references Vehicle(id)
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Vehicle(color, id) values (?, ?) | {1={Vehicle.color=Color[rgb=17], Vehicle.id=o.c.s.i.PersistableIdentifier@42}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Car(id) values (?) | {1={Car.id=o.c.s.i.PersistableIdentifier@42}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Person(creationDate, modificationDate, name, id, vehicleId) values (?, ?, ?, ?, ?) | {1={Person.creationDate=null, Person.id=o.c.s.i.PersistableIdentifier@1, Person.modificationDate=null, Person.vehicleId=o.c.s.i.PersistableIdentifier@42, Person.name=null}}
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle_Car.id as Vehicle_Car_id, Vehicle_Truck.id as Vehicle_Truck_id from Person left outer join Vehicle as Vehicle on Person.vehicleId = Vehicle.id left outer join Car as Vehicle_Car on Vehicle.id = Vehicle_Car.id left outer join Truck as Vehicle_Truck on Vehicle.id = Vehicle_Truck.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.JoinTablePolymorphicRelationJoinNode$JoinTablePolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PolymorphicMergeJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@42
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	update Person set creationDate = ?, modificationDate = ?, name = ?, vehicleId = ? where id = ? | {1={Person.creationDate (U)=Tue May 19 05:31:14 UTC 2026, Person.id (W)=o.c.s.i.PersistedIdentifier@1, Person.modificationDate (U)=Tue May 19 05:31:14 UTC 2026, Person.vehicleId (U)=o.c.s.i.PersistableIdentifier@42, Person.name (U)=null}}
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle_Car.id as Vehicle_Car_id, Vehicle_Truck.id as Vehicle_Truck_id from Person left outer join Vehicle as Vehicle on Person.vehicleId = Vehicle.id left outer join Car as Vehicle_Car on Vehicle.id = Vehicle_Car.id left outer join Truck as Vehicle_Truck on Vehicle.id = Vehicle_Truck.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.JoinTablePolymorphicRelationJoinNode$JoinTablePolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PolymorphicMergeJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@42
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Vehicle(color, id) values (?, ?) | {1={Vehicle.color=null, Vehicle.id=o.c.s.i.PersistableIdentifier@666}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Truck(id) values (?) | {1={Truck.id=o.c.s.i.PersistableIdentifier@666}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	update Person set creationDate = ?, modificationDate = ?, name = ?, vehicleId = ? where id = ? | {1={Person.creationDate (U)=Tue May 19 05:31:14 UTC 2026, Person.id (W)=o.c.s.i.PersistedIdentifier@1, Person.modificationDate (U)=Tue May 19 05:31:14 UTC 2026, Person.vehicleId (U)=o.c.s.i.PersistableIdentifier@666, Person.name (U)=null}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Car where id = ? | {1={Car.id=o.c.s.i.PersistedIdentifier@42}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistedIdentifier@42}}
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle_Car.id as Vehicle_Car_id, Vehicle_Truck.id as Vehicle_Truck_id from Person left outer join Vehicle as Vehicle on Person.vehicleId = Vehicle.id left outer join Car as Vehicle_Car on Vehicle.id = Vehicle_Car.id left outer join Truck as Vehicle_Truck on Vehicle.id = Vehicle_Truck.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.JoinTablePolymorphicRelationJoinNode$JoinTablePolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PolymorphicMergeJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@666
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@42]
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Truck.id as Truck_id, Car.id as Car_id from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@42}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	update Person set creationDate = ?, modificationDate = ?, name = ?, vehicleId = ? where id = ? | {1={Person.creationDate (U)=Tue May 19 05:31:14 UTC 2026, Person.id (W)=o.c.s.i.PersistedIdentifier@1, Person.modificationDate (U)=Tue May 19 05:31:14 UTC 2026, Person.vehicleId (U)=null, Person.name (U)=null}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Truck where id = ? | {1={Truck.id=o.c.s.i.PersistedIdentifier@666}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistedIdentifier@666}}
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle_Car.id as Vehicle_Car_id, Vehicle_Truck.id as Vehicle_Truck_id from Person left outer join Vehicle as Vehicle on Person.vehicleId = Vehicle.id left outer join Car as Vehicle_Car on Vehicle.id = Vehicle_Car.id left outer join Truck as Vehicle_Truck on Vehicle.id = Vehicle_Truck.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.JoinTablePolymorphicRelationJoinNode$JoinTablePolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@666]
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Truck.id as Truck_id, Car.id as Car_id from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@666}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Vehicle(color, id) values (?, ?) | {1={Vehicle.color=null, Vehicle.id=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Truck(id) values (?) | {1={Truck.id=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	update Person set creationDate = ?, modificationDate = ?, name = ?, vehicleId = ? where id = ? | {1={Person.creationDate (U)=Tue May 19 05:31:14 UTC 2026, Person.id (W)=o.c.s.i.PersistedIdentifier@1, Person.modificationDate (U)=Tue May 19 05:31:14 UTC 2026, Person.vehicleId (U)=o.c.s.i.PersistableIdentifier@17, Person.name (U)=null}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	update Vehicle set color = ? where id = ? | {1={Vehicle.color (U)=null, Vehicle.id (W)=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle_Car.id as Vehicle_Car_id, Vehicle_Truck.id as Vehicle_Truck_id from Person left outer join Vehicle as Vehicle on Person.vehicleId = Vehicle.id left outer join Car as Vehicle_Car on Vehicle.id = Vehicle_Car.id left outer join Truck as Vehicle_Truck on Vehicle.id = Vehicle_Truck.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.JoinTablePolymorphicRelationJoinNode$JoinTablePolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PolymorphicMergeJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@17
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Person where id = ? | {1={Person.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Truck where id = ? | {1={Truck.id=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle_Car.id as Vehicle_Car_id, Vehicle_Truck.id as Vehicle_Truck_id from Person left outer join Vehicle as Vehicle on Person.vehicleId = Vehicle.id left outer join Car as Vehicle_Car on Vehicle.id = Vehicle_Car.id left outer join Truck as Vehicle_Truck on Vehicle.id = Vehicle_Truck.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@17]
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Truck.id as Truck_id, Car.id as Car_id from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@17}
]]></system-out>
  </testcase>
  <testcase name="oneToPolymorphicOne_crud(String, EntityPersister, PersistenceContext, boolean, boolean)[9]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.03">
    <system-out><![CDATA[2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Car(id int not null, color int, ownerId int, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Person(name varchar(255), creationDate timestamp, modificationDate timestamp, id int not null, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Truck(id int not null, color int, ownerId int, unique (id))
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Person(creationDate, modificationDate, name, id) values (?, ?, ?, ?) | {1={Person.name=null, Person.creationDate=null, Person.modificationDate=null, Person.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Car(color, id, ownerId) values (?, ?, ?) | {1={Car.color=Color[rgb=17], Car.ownerId=o.c.s.i.PersistableIdentifier@1, Car.id=o.c.s.i.PersistableIdentifier@42}}
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, unioned_Vehicle.clazz_ as unioned_Vehicle_clazz_, unioned_Vehicle.id as unioned_Vehicle_id from Person left outer join (select 1 as clazz_, ownerId, id from Truck union all select 2 as clazz_, ownerId, id from Car) as unioned_Vehicle on Person.id = unioned_Vehicle.ownerId where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistedIdentifier@42]
2026-05-19 05:31:14	TRACE	SQLOperation	select Car.color as Car_color, Car.id as Car_id from Car where Car.id in (?) | {1=o.c.s.i.PersistedIdentifier@42}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Car
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	update Person set creationDate = ?, modificationDate = ?, name = ? where id = ? | {1={Person.name (U)=null, Person.creationDate (U)=Tue May 19 05:31:14 UTC 2026, Person.modificationDate (U)=Tue May 19 05:31:14 UTC 2026, Person.id (W)=o.c.s.i.PersistedIdentifier@1}}
2026-05-19 05:31:14	DEBUG	TablePerClassPolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@42]
2026-05-19 05:31:14	DEBUG	TablePerClassPolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND org.codefilarete.stalactite.query.api.QueryStatement$PseudoColumn@4d42465e In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.DISCRIMINATOR as Vehicle_DISCRIMINATOR, Car.color as Car_color, Car.id as Car_id, Truck.color as Truck_color, Truck.id as Truck_id from (select Truck.color as color, Truck.id as id, 'Truck' as DISCRIMINATOR from Truck union all select Car.color as color, Car.id as id, 'Car' as DISCRIMINATOR from Car) as Vehicle left outer join Car as Car on Vehicle.id = Car.id left outer join Truck as Truck on Vehicle.id = Truck.id where Vehicle.id in (?) | {1=o.c.s.i.PersistableIdentifier@42}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.TablePerClassRootJoinNode$TablePerClassPolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@42
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	update Car set color = ?, ownerId = ? where id = ? | {1={Car.ownerId (U)=o.c.s.i.PersistableIdentifier@1, Car.color (U)=Color[rgb=17], Car.id (W)=o.c.s.i.PersistedIdentifier@42}}
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, unioned_Vehicle.clazz_ as unioned_Vehicle_clazz_, unioned_Vehicle.id as unioned_Vehicle_id from Person left outer join (select 1 as clazz_, ownerId, id from Truck union all select 2 as clazz_, ownerId, id from Car) as unioned_Vehicle on Person.id = unioned_Vehicle.ownerId where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistedIdentifier@42]
2026-05-19 05:31:14	TRACE	SQLOperation	select Car.color as Car_color, Car.id as Car_id from Car where Car.id in (?) | {1=o.c.s.i.PersistedIdentifier@42}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Car
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Car where id = ? | {1={Car.id=o.c.s.i.PersistedIdentifier@42}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Truck(color, id, ownerId) values (?, ?, ?) | {1={Truck.color=null, Truck.ownerId=o.c.s.i.PersistableIdentifier@1, Truck.id=o.c.s.i.PersistableIdentifier@666}}
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, unioned_Vehicle.clazz_ as unioned_Vehicle_clazz_, unioned_Vehicle.id as unioned_Vehicle_id from Person left outer join (select 1 as clazz_, ownerId, id from Truck union all select 2 as clazz_, ownerId, id from Car) as unioned_Vehicle on Person.id = unioned_Vehicle.ownerId where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistedIdentifier@666]
2026-05-19 05:31:14	TRACE	SQLOperation	select Truck.color as Truck_color, Truck.id as Truck_id from Truck where Truck.id in (?) | {1=o.c.s.i.PersistedIdentifier@666}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Truck
2026-05-19 05:31:14	DEBUG	TablePerClassPolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@42]
2026-05-19 05:31:14	DEBUG	TablePerClassPolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND org.codefilarete.stalactite.query.api.QueryStatement$PseudoColumn@1913cde9 In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.DISCRIMINATOR as Vehicle_DISCRIMINATOR, Car.color as Car_color, Car.id as Car_id, Truck.color as Truck_color, Truck.id as Truck_id from (select Truck.color as color, Truck.id as id, 'Truck' as DISCRIMINATOR from Truck union all select Car.color as color, Car.id as id, 'Car' as DISCRIMINATOR from Car) as Vehicle left outer join Car as Car on Vehicle.id = Car.id left outer join Truck as Truck on Vehicle.id = Truck.id where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@42}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Truck where id = ? | {1={Truck.id=o.c.s.i.PersistedIdentifier@666}}
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, unioned_Vehicle.clazz_ as unioned_Vehicle_clazz_, unioned_Vehicle.id as unioned_Vehicle_id from Person left outer join (select 1 as clazz_, ownerId, id from Truck union all select 2 as clazz_, ownerId, id from Car) as unioned_Vehicle on Person.id = unioned_Vehicle.ownerId where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	TablePerClassPolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@666]
2026-05-19 05:31:14	DEBUG	TablePerClassPolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND org.codefilarete.stalactite.query.api.QueryStatement$PseudoColumn@1913cde9 In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.DISCRIMINATOR as Vehicle_DISCRIMINATOR, Car.color as Car_color, Car.id as Car_id, Truck.color as Truck_color, Truck.id as Truck_id from (select Truck.color as color, Truck.id as id, 'Truck' as DISCRIMINATOR from Truck union all select Car.color as color, Car.id as id, 'Car' as DISCRIMINATOR from Car) as Vehicle left outer join Car as Car on Vehicle.id = Car.id left outer join Truck as Truck on Vehicle.id = Truck.id where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@666}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Truck(color, id, ownerId) values (?, ?, ?) | {1={Truck.color=null, Truck.ownerId=o.c.s.i.PersistableIdentifier@1, Truck.id=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, unioned_Vehicle.clazz_ as unioned_Vehicle_clazz_, unioned_Vehicle.id as unioned_Vehicle_id from Person left outer join (select 1 as clazz_, ownerId, id from Truck union all select 2 as clazz_, ownerId, id from Car) as unioned_Vehicle on Person.id = unioned_Vehicle.ownerId where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistedIdentifier@17]
2026-05-19 05:31:14	TRACE	SQLOperation	select Truck.color as Truck_color, Truck.id as Truck_id from Truck where Truck.id in (?) | {1=o.c.s.i.PersistedIdentifier@17}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Truck
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Truck where id = ? | {1={Truck.id=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Person where id = ? | {1={Person.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, unioned_Vehicle.clazz_ as unioned_Vehicle_clazz_, unioned_Vehicle.id as unioned_Vehicle_id from Person left outer join (select 1 as clazz_, ownerId, id from Truck union all select 2 as clazz_, ownerId, id from Car) as unioned_Vehicle on Person.id = unioned_Vehicle.ownerId where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	TablePerClassPolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@17]
2026-05-19 05:31:14	DEBUG	TablePerClassPolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND org.codefilarete.stalactite.query.api.QueryStatement$PseudoColumn@1913cde9 In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.DISCRIMINATOR as Vehicle_DISCRIMINATOR, Car.color as Car_color, Car.id as Car_id, Truck.color as Truck_color, Truck.id as Truck_id from (select Truck.color as color, Truck.id as id, 'Truck' as DISCRIMINATOR from Truck union all select Car.color as color, Car.id as id, 'Car' as DISCRIMINATOR from Car) as Vehicle left outer join Car as Car on Vehicle.id = Car.id left outer join Truck as Truck on Vehicle.id = Truck.id where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@17}
]]></system-out>
  </testcase>
  <testcase name="oneToPolymorphicOne_crud(String, EntityPersister, PersistenceContext, boolean, boolean)[10]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.024">
    <system-out><![CDATA[2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Car(id int not null, color int, ownerId int, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Person(name varchar(255), creationDate timestamp, modificationDate timestamp, id int not null, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Truck(id int not null, color int, ownerId int, unique (id))
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Person(creationDate, modificationDate, name, id) values (?, ?, ?, ?) | {1={Person.modificationDate=null, Person.name=null, Person.id=o.c.s.i.PersistableIdentifier@1, Person.creationDate=null}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Car(color, id, ownerId) values (?, ?, ?) | {1={Car.id=o.c.s.i.PersistableIdentifier@42, Car.color=Color[rgb=17], Car.ownerId=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.clazz_ as Vehicle_clazz_, Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.ownerId as Vehicle_ownerId, Vehicle_Car.color as Vehicle_Car_color, Vehicle_Car.id as Vehicle_Car_id, Vehicle_Truck.color as Vehicle_Truck_color, Vehicle_Truck.id as Vehicle_Truck_id from Person left outer join (select 1 as clazz_, color, id, ownerId from Car union all select 2 as clazz_, color, id, ownerId from Truck) as Vehicle on Person.id = Vehicle.ownerId left outer join Car as Vehicle_Car on Vehicle.id = Vehicle_Car.id left outer join Truck as Vehicle_Truck on Vehicle.id = Vehicle_Truck.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.TablePerClassPolymorphicRelationJoinNode$TablePerClassPolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PolymorphicMergeJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@42
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	update Person set creationDate = ?, modificationDate = ?, name = ? where id = ? | {1={Person.modificationDate (U)=Tue May 19 05:31:14 UTC 2026, Person.name (U)=null, Person.id (W)=o.c.s.i.PersistedIdentifier@1, Person.creationDate (U)=Tue May 19 05:31:14 UTC 2026}}
2026-05-19 05:31:14	DEBUG	TablePerClassPolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@42]
2026-05-19 05:31:14	DEBUG	TablePerClassPolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND org.codefilarete.stalactite.query.api.QueryStatement$PseudoColumn@5049c718 In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.DISCRIMINATOR as Vehicle_DISCRIMINATOR, Car.color as Car_color, Car.id as Car_id, Truck.color as Truck_color, Truck.id as Truck_id from (select Truck.color as color, Truck.id as id, 'Truck' as DISCRIMINATOR from Truck union all select Car.color as color, Car.id as id, 'Car' as DISCRIMINATOR from Car) as Vehicle left outer join Car as Car on Vehicle.id = Car.id left outer join Truck as Truck on Vehicle.id = Truck.id where Vehicle.id in (?) | {1=o.c.s.i.PersistableIdentifier@42}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.TablePerClassRootJoinNode$TablePerClassPolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@42
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	update Car set color = ?, ownerId = ? where id = ? | {1={Car.id (W)=o.c.s.i.PersistedIdentifier@42, Car.ownerId (U)=o.c.s.i.PersistableIdentifier@1, Car.color (U)=Color[rgb=17]}}
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.clazz_ as Vehicle_clazz_, Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.ownerId as Vehicle_ownerId, Vehicle_Car.color as Vehicle_Car_color, Vehicle_Car.id as Vehicle_Car_id, Vehicle_Truck.color as Vehicle_Truck_color, Vehicle_Truck.id as Vehicle_Truck_id from Person left outer join (select 1 as clazz_, color, id, ownerId from Car union all select 2 as clazz_, color, id, ownerId from Truck) as Vehicle on Person.id = Vehicle.ownerId left outer join Car as Vehicle_Car on Vehicle.id = Vehicle_Car.id left outer join Truck as Vehicle_Truck on Vehicle.id = Vehicle_Truck.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.TablePerClassPolymorphicRelationJoinNode$TablePerClassPolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PolymorphicMergeJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@42
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Car where id = ? | {1={Car.id=o.c.s.i.PersistedIdentifier@42}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Truck(color, id, ownerId) values (?, ?, ?) | {1={Truck.id=o.c.s.i.PersistableIdentifier@666, Truck.ownerId=o.c.s.i.PersistableIdentifier@1, Truck.color=null}}
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.clazz_ as Vehicle_clazz_, Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.ownerId as Vehicle_ownerId, Vehicle_Car.color as Vehicle_Car_color, Vehicle_Car.id as Vehicle_Car_id, Vehicle_Truck.color as Vehicle_Truck_color, Vehicle_Truck.id as Vehicle_Truck_id from Person left outer join (select 1 as clazz_, color, id, ownerId from Car union all select 2 as clazz_, color, id, ownerId from Truck) as Vehicle on Person.id = Vehicle.ownerId left outer join Car as Vehicle_Car on Vehicle.id = Vehicle_Car.id left outer join Truck as Vehicle_Truck on Vehicle.id = Vehicle_Truck.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.TablePerClassPolymorphicRelationJoinNode$TablePerClassPolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PolymorphicMergeJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@666
2026-05-19 05:31:14	DEBUG	TablePerClassPolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@42]
2026-05-19 05:31:14	DEBUG	TablePerClassPolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND org.codefilarete.stalactite.query.api.QueryStatement$PseudoColumn@34d5a168 In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.DISCRIMINATOR as Vehicle_DISCRIMINATOR, Car.color as Car_color, Car.id as Car_id, Truck.color as Truck_color, Truck.id as Truck_id from (select Truck.color as color, Truck.id as id, 'Truck' as DISCRIMINATOR from Truck union all select Car.color as color, Car.id as id, 'Car' as DISCRIMINATOR from Car) as Vehicle left outer join Car as Car on Vehicle.id = Car.id left outer join Truck as Truck on Vehicle.id = Truck.id where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@42}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Truck where id = ? | {1={Truck.id=o.c.s.i.PersistedIdentifier@666}}
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.clazz_ as Vehicle_clazz_, Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.ownerId as Vehicle_ownerId, Vehicle_Car.color as Vehicle_Car_color, Vehicle_Car.id as Vehicle_Car_id, Vehicle_Truck.color as Vehicle_Truck_color, Vehicle_Truck.id as Vehicle_Truck_id from Person left outer join (select 1 as clazz_, color, id, ownerId from Car union all select 2 as clazz_, color, id, ownerId from Truck) as Vehicle on Person.id = Vehicle.ownerId left outer join Car as Vehicle_Car on Vehicle.id = Vehicle_Car.id left outer join Truck as Vehicle_Truck on Vehicle.id = Vehicle_Truck.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.TablePerClassPolymorphicRelationJoinNode$TablePerClassPolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	TablePerClassPolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@666]
2026-05-19 05:31:14	DEBUG	TablePerClassPolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND org.codefilarete.stalactite.query.api.QueryStatement$PseudoColumn@34d5a168 In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.DISCRIMINATOR as Vehicle_DISCRIMINATOR, Car.color as Car_color, Car.id as Car_id, Truck.color as Truck_color, Truck.id as Truck_id from (select Truck.color as color, Truck.id as id, 'Truck' as DISCRIMINATOR from Truck union all select Car.color as color, Car.id as id, 'Car' as DISCRIMINATOR from Car) as Vehicle left outer join Car as Car on Vehicle.id = Car.id left outer join Truck as Truck on Vehicle.id = Truck.id where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@666}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Truck(color, id, ownerId) values (?, ?, ?) | {1={Truck.id=o.c.s.i.PersistableIdentifier@17, Truck.ownerId=o.c.s.i.PersistableIdentifier@1, Truck.color=null}}
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.clazz_ as Vehicle_clazz_, Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.ownerId as Vehicle_ownerId, Vehicle_Car.color as Vehicle_Car_color, Vehicle_Car.id as Vehicle_Car_id, Vehicle_Truck.color as Vehicle_Truck_color, Vehicle_Truck.id as Vehicle_Truck_id from Person left outer join (select 1 as clazz_, color, id, ownerId from Car union all select 2 as clazz_, color, id, ownerId from Truck) as Vehicle on Person.id = Vehicle.ownerId left outer join Car as Vehicle_Car on Vehicle.id = Vehicle_Car.id left outer join Truck as Vehicle_Truck on Vehicle.id = Vehicle_Truck.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Person
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.TablePerClassPolymorphicRelationJoinNode$TablePerClassPolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Person#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PolymorphicMergeJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@17
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Truck where id = ? | {1={Truck.id=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Person where id = ? | {1={Person.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	TRACE	SQLOperation	select Person.creationDate as Person_creationDate, Person.modificationDate as Person_modificationDate, Person.name as Person_name, Person.id as Person_id, Vehicle.clazz_ as Vehicle_clazz_, Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.ownerId as Vehicle_ownerId, Vehicle_Car.color as Vehicle_Car_color, Vehicle_Car.id as Vehicle_Car_id, Vehicle_Truck.color as Vehicle_Truck_color, Vehicle_Truck.id as Vehicle_Truck_id from Person left outer join (select 1 as clazz_, color, id, ownerId from Car union all select 2 as clazz_, color, id, ownerId from Truck) as Vehicle on Person.id = Vehicle.ownerId left outer join Car as Vehicle_Car on Vehicle.id = Vehicle_Car.id left outer join Truck as Vehicle_Truck on Vehicle.id = Vehicle_Truck.id where Person.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	TablePerClassPolymorphismPersister	selecting entities [o.c.s.i.PersistedIdentifier@17]
2026-05-19 05:31:14	DEBUG	TablePerClassPolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND org.codefilarete.stalactite.query.api.QueryStatement$PseudoColumn@34d5a168 In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.color as Vehicle_color, Vehicle.id as Vehicle_id, Vehicle.DISCRIMINATOR as Vehicle_DISCRIMINATOR, Car.color as Car_color, Car.id as Car_id, Truck.color as Truck_color, Truck.id as Truck_id from (select Truck.color as color, Truck.id as id, 'Truck' as DISCRIMINATOR from Truck union all select Car.color as color, Car.id as id, 'Car' as DISCRIMINATOR from Car) as Vehicle left outer join Car as Car on Vehicle.id = Car.id left outer join Truck as Truck on Vehicle.id = Truck.id where Vehicle.id in (?) | {1=o.c.s.i.PersistedIdentifier@17}
]]></system-out>
  </testcase>
  <testcase name="crudPolymorphicOneToOne(String, EntityPersister, ConnectionProvider)[1]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.008">
    <system-out><![CDATA[2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Engine(id int not null, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Vehicle(id int not null, engineId int, model varchar(255), color int, DTYPE varchar(255) not null, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	alter table Vehicle add constraint FK_Vehicle_engineId_Engine_id foreign key(engineId) references Engine(id)
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Car(model varchar(255), id int not null, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Engine(id int not null, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Truck(color int, id int not null, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Vehicle(id int not null, engineId int, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	alter table Car add constraint FK_Car_id_Vehicle_id foreign key(id) references Vehicle(id)
2026-05-19 05:31:14	DEBUG	DDLDeployer	alter table Truck add constraint FK_Truck_id_Vehicle_id foreign key(id) references Vehicle(id)
2026-05-19 05:31:14	DEBUG	DDLDeployer	alter table Vehicle add constraint FK_Vehicle_engineId_Engine_id foreign key(engineId) references Engine(id)
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Car(model varchar(255), id int not null, engineId int, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Engine(id int not null, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Truck(color int, id int not null, engineId int, unique (id))
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Engine(id) values (?) | {1={Engine.id=o.c.s.i.PersistableIdentifier@100}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Vehicle(model, id, engineId, DTYPE) values (?, ?, ?, ?) | {1={Vehicle.engineId=o.c.s.i.PersistableIdentifier@100, Vehicle.DTYPE=CAR, Vehicle.id=o.c.s.i.PersistableIdentifier@1, Vehicle.model=Renault}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Vehicle(color, id, engineId, DTYPE) values (?, ?, ?, ?) | {1={Vehicle.engineId=null, Vehicle.DTYPE=TRUCK, Vehicle.color=Color[rgb=42], Vehicle.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Engine(id) values (?) | {1={Engine.id=o.c.s.i.PersistableIdentifier@200}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	update Vehicle set model = ?, engineId = ? where id = ? | {1={Vehicle.engineId (U)=o.c.s.i.PersistableIdentifier@200, Vehicle.id (W)=o.c.s.i.PersistableIdentifier@1, Vehicle.model (U)=Peugeot}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	update Vehicle set color = ?, engineId = ? where id = ? | {1={Vehicle.engineId (U)=null, Vehicle.color (U)=Color[rgb=99], Vehicle.id (W)=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:14	DEBUG	SingleTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@2]
2026-05-19 05:31:14	DEBUG	SingleTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Vehicle.engineId as Vehicle_engineId, Vehicle.model as Vehicle_model, Vehicle.color as Vehicle_color, Vehicle.DTYPE as Vehicle_DTYPE, engine.id as engine_id from Vehicle left outer join Engine as engine on Vehicle.engineId = engine.id where Vehicle.id in (?) | {1=o.c.s.i.PersistableIdentifier@2}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.SingleTableRootJoinNode$SingleTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
2026-05-19 05:31:14	DEBUG	SingleTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	DEBUG	SingleTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Vehicle.engineId as Vehicle_engineId, Vehicle.model as Vehicle_model, Vehicle.color as Vehicle_color, Vehicle.DTYPE as Vehicle_DTYPE, engine.id as engine_id from Vehicle left outer join Engine as engine on Vehicle.engineId = engine.id where Vehicle.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.SingleTableRootJoinNode$SingleTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	SingleTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@1, o.c.s.i.PersistableIdentifier@2]
2026-05-19 05:31:14	DEBUG	SingleTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Vehicle.engineId as Vehicle_engineId, Vehicle.model as Vehicle_model, Vehicle.color as Vehicle_color, Vehicle.DTYPE as Vehicle_DTYPE, engine.id as engine_id from Vehicle left outer join Engine as engine on Vehicle.engineId = engine.id where Vehicle.id in (?, ?) | {1=o.c.s.i.PersistableIdentifier@1, 2=o.c.s.i.PersistableIdentifier@2}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.SingleTableRootJoinNode$SingleTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.SingleTableRootJoinNode$SingleTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
]]></system-out>
  </testcase>
  <testcase name="crudPolymorphicOneToOne(String, EntityPersister, ConnectionProvider)[2]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.01">
    <system-out><![CDATA[2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Engine(id) values (?) | {1={Engine.id=o.c.s.i.PersistableIdentifier@100}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 2 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Vehicle(id, engineId) values (?, ?) | {1={Vehicle.engineId=o.c.s.i.PersistableIdentifier@100, Vehicle.id=o.c.s.i.PersistableIdentifier@1}, 2={Vehicle.engineId=null, Vehicle.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Car(model, id) values (?, ?) | {1={Car.id=o.c.s.i.PersistableIdentifier@1, Car.model=Renault}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Truck(color, id) values (?, ?) | {1={Truck.id=o.c.s.i.PersistableIdentifier@2, Truck.color=Color[rgb=42]}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Engine(id) values (?) | {1={Engine.id=o.c.s.i.PersistableIdentifier@200}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	update Vehicle set engineId = ? where id = ? | {1={Vehicle.engineId (U)=o.c.s.i.PersistableIdentifier@200, Vehicle.id (W)=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	update Car set model = ? where id = ? | {1={Car.id (W)=o.c.s.i.PersistableIdentifier@1, Car.model (U)=Peugeot}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	update Truck set color = ? where id = ? | {1={Truck.id (W)=o.c.s.i.PersistableIdentifier@2, Truck.color (U)=Color[rgb=99]}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Car where id = ? | {1={Car.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Truck where id = ? | {1={Truck.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Car where id = ? | {1={Car.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Truck where id = ? | {1={Truck.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 2 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@1}, 2={Vehicle.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@2]
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Truck.color as Truck_color, Truck.id as Truck_id, Car.model as Car_model, Car.id as Car_id, engine.id as engine_id from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id left outer join Engine as engine on Vehicle.engineId = engine.id where Vehicle.id in (?) | {1=o.c.s.i.PersistableIdentifier@2}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Truck
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Truck.color as Truck_color, Truck.id as Truck_id, Car.model as Car_model, Car.id as Car_id, engine.id as engine_id from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id left outer join Engine as engine on Vehicle.engineId = engine.id where Vehicle.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Car
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@1, o.c.s.i.PersistableIdentifier@2]
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Truck.color as Truck_color, Truck.id as Truck_id, Car.model as Car_model, Car.id as Car_id, engine.id as engine_id from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id left outer join Engine as engine on Vehicle.engineId = engine.id where Vehicle.id in (?, ?) | {1=o.c.s.i.PersistableIdentifier@1, 2=o.c.s.i.PersistableIdentifier@2}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Car
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Truck
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
]]></system-out>
  </testcase>
  <testcase name="crudPolymorphicOneToOne(String, EntityPersister, ConnectionProvider)[3]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.009">
    <system-out><![CDATA[2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Engine(id) values (?) | {1={Engine.id=o.c.s.i.PersistableIdentifier@100}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Car(model, id, engineId) values (?, ?, ?) | {1={Car.engineId=o.c.s.i.PersistableIdentifier@100, Car.model=Renault, Car.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Truck(color, id, engineId) values (?, ?, ?) | {1={Truck.id=o.c.s.i.PersistableIdentifier@2, Truck.color=Color[rgb=42], Truck.engineId=null}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Engine(id) values (?) | {1={Engine.id=o.c.s.i.PersistableIdentifier@200}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	update Car set model = ?, engineId = ? where id = ? | {1={Car.engineId (U)=o.c.s.i.PersistableIdentifier@200, Car.model (U)=Peugeot, Car.id (W)=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	update Truck set color = ?, engineId = ? where id = ? | {1={Truck.id (W)=o.c.s.i.PersistableIdentifier@2, Truck.color (U)=Color[rgb=99], Truck.engineId (U)=null}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Car where id = ? | {1={Car.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Truck where id = ? | {1={Truck.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Car where id = ? | {1={Car.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Truck where id = ? | {1={Truck.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:14	DEBUG	TablePerClassPolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@2]
2026-05-19 05:31:14	DEBUG	TablePerClassPolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND org.codefilarete.stalactite.query.api.QueryStatement$PseudoColumn@e36e90b In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Vehicle.engineId as Vehicle_engineId, Vehicle.DISCRIMINATOR as Vehicle_DISCRIMINATOR, engine.id as engine_id, Car.model as Car_model, Car.id as Car_id, Truck.color as Truck_color, Truck.id as Truck_id from (select Truck.id as id, Truck.engineId as engineId, 'Truck' as DISCRIMINATOR from Truck union all select Car.id as id, Car.engineId as engineId, 'Car' as DISCRIMINATOR from Car) as Vehicle left outer join Engine as engine on Vehicle.engineId = engine.id left outer join Car as Car on Vehicle.id = Car.id left outer join Truck as Truck on Vehicle.id = Truck.id where Vehicle.id in (?) | {1=o.c.s.i.PersistableIdentifier@2}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.TablePerClassRootJoinNode$TablePerClassPolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
2026-05-19 05:31:14	DEBUG	TablePerClassPolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	DEBUG	TablePerClassPolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND org.codefilarete.stalactite.query.api.QueryStatement$PseudoColumn@e36e90b In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Vehicle.engineId as Vehicle_engineId, Vehicle.DISCRIMINATOR as Vehicle_DISCRIMINATOR, engine.id as engine_id, Car.model as Car_model, Car.id as Car_id, Truck.color as Truck_color, Truck.id as Truck_id from (select Truck.id as id, Truck.engineId as engineId, 'Truck' as DISCRIMINATOR from Truck union all select Car.id as id, Car.engineId as engineId, 'Car' as DISCRIMINATOR from Car) as Vehicle left outer join Engine as engine on Vehicle.engineId = engine.id left outer join Car as Car on Vehicle.id = Car.id left outer join Truck as Truck on Vehicle.id = Truck.id where Vehicle.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.TablePerClassRootJoinNode$TablePerClassPolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	TablePerClassPolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@1, o.c.s.i.PersistableIdentifier@2]
2026-05-19 05:31:14	DEBUG	TablePerClassPolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND org.codefilarete.stalactite.query.api.QueryStatement$PseudoColumn@e36e90b In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Vehicle.engineId as Vehicle_engineId, Vehicle.DISCRIMINATOR as Vehicle_DISCRIMINATOR, engine.id as engine_id, Car.model as Car_model, Car.id as Car_id, Truck.color as Truck_color, Truck.id as Truck_id from (select Truck.id as id, Truck.engineId as engineId, 'Truck' as DISCRIMINATOR from Truck union all select Car.id as id, Car.engineId as engineId, 'Car' as DISCRIMINATOR from Car) as Vehicle left outer join Engine as engine on Vehicle.engineId = engine.id left outer join Car as Car on Vehicle.id = Car.id left outer join Truck as Truck on Vehicle.id = Truck.id where Vehicle.id in (?, ?) | {1=o.c.s.i.PersistableIdentifier@1, 2=o.c.s.i.PersistableIdentifier@2}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.TablePerClassRootJoinNode$TablePerClassPolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.TablePerClassRootJoinNode$TablePerClassPolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
]]></system-out>
  </testcase>
  <testcase name="crud_polymorphism_subClassHasElementCollection(String, EntityPersister, PersistenceContext, PolymorphismType)[1]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.013">
    <system-out><![CDATA[2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Car_plates(id int, plates varchar(255), unique (id, plates))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Vehicle(id int not null, model varchar(255), color int, DTYPE varchar(255) not null, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	alter table Car_plates add constraint FK_Car_plates_id_Vehicle_id foreign key(id) references Vehicle(id)
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Car(model varchar(255), id int not null, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Car_plates(id int, plates varchar(255), unique (id, plates))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Truck(color int, id int not null, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Vehicle(id int not null, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	alter table Car add constraint FK_Car_id_Vehicle_id foreign key(id) references Vehicle(id)
2026-05-19 05:31:14	DEBUG	DDLDeployer	alter table Car_plates add constraint FK_Car_plates_id_Car_id foreign key(id) references Car(id)
2026-05-19 05:31:14	DEBUG	DDLDeployer	alter table Truck add constraint FK_Truck_id_Vehicle_id foreign key(id) references Vehicle(id)
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Car(model varchar(255), id int not null, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Car_plates(id int, plates varchar(255), unique (id, plates))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Truck(color int, id int not null, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	alter table Car_plates add constraint FK_Car_plates_id_Car_id foreign key(id) references Car(id)
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Vehicle(model, id, DTYPE) values (?, ?, ?) | {1={Vehicle.DTYPE=CAR, Vehicle.id=o.c.s.i.PersistableIdentifier@1, Vehicle.model=Renault}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Car_plates(plates, id) values (?, ?) | {1={Car_plates.plates=XYZ-ABC-01, Car_plates.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Vehicle(color, id, DTYPE) values (?, ?, ?) | {1={Vehicle.DTYPE=TRUCK, Vehicle.id=o.c.s.i.PersistableIdentifier@2, Vehicle.color=Color[rgb=42]}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	update Vehicle set model = ? where id = ? | {1={Vehicle.id (W)=o.c.s.i.PersistableIdentifier@1, Vehicle.model (U)=Peugeot}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Car_plates where id = ? and plates = ? | {1={Car_plates.plates=XYZ-ABC-01, Car_plates.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Car_plates(plates, id) values (?, ?) | {1={Car_plates.plates=XYZ-ABC-02, Car_plates.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	update Vehicle set color = ? where id = ? | {1={Vehicle.id (W)=o.c.s.i.PersistableIdentifier@2, Vehicle.color (U)=Color[rgb=99]}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Car_plates where id = ? and plates = ? | {1={Car_plates.plates=XYZ-ABC-02, Car_plates.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:14	TRACE	SQLOperation	select count(*) as cnt from Car_plates | {}
2026-05-19 05:31:14	DEBUG	SingleTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@2]
2026-05-19 05:31:14	DEBUG	SingleTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Vehicle.model as Vehicle_model, Vehicle.color as Vehicle_color, Vehicle.DTYPE as Vehicle_DTYPE, Car_plates.plates as Car_plates_plates, Car_plates.id as Car_plates_id from Vehicle left outer join Car_plates as Car_plates on Vehicle.id = Car_plates.id where Vehicle.id in (?) | {1=o.c.s.i.PersistableIdentifier@2}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.SingleTableRootJoinNode$SingleTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
2026-05-19 05:31:14	DEBUG	SingleTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	DEBUG	SingleTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Vehicle.model as Vehicle_model, Vehicle.color as Vehicle_color, Vehicle.DTYPE as Vehicle_DTYPE, Car_plates.plates as Car_plates_plates, Car_plates.id as Car_plates_id from Vehicle left outer join Car_plates as Car_plates on Vehicle.id = Car_plates.id where Vehicle.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.SingleTableRootJoinNode$SingleTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	SingleTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@1, o.c.s.i.PersistableIdentifier@2]
2026-05-19 05:31:14	DEBUG	SingleTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Vehicle.model as Vehicle_model, Vehicle.color as Vehicle_color, Vehicle.DTYPE as Vehicle_DTYPE, Car_plates.plates as Car_plates_plates, Car_plates.id as Car_plates_id from Vehicle left outer join Car_plates as Car_plates on Vehicle.id = Car_plates.id where Vehicle.id in (?, ?) | {1=o.c.s.i.PersistableIdentifier@1, 2=o.c.s.i.PersistableIdentifier@2}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.SingleTableRootJoinNode$SingleTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.SingleTableRootJoinNode$SingleTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
]]></system-out>
  </testcase>
  <testcase name="crud_polymorphism_subClassHasElementCollection(String, EntityPersister, PersistenceContext, PolymorphismType)[2]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.01">
    <system-out><![CDATA[2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 2 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Vehicle(id) values (?) | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@1}, 2={Vehicle.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Car(model, id) values (?, ?) | {1={Car.model=Renault, Car.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Car_plates(plates, id) values (?, ?) | {1={Car_plates.plates=XYZ-ABC-01, Car_plates.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Truck(color, id) values (?, ?) | {1={Truck.color=Color[rgb=42], Truck.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	update Car set model = ? where id = ? | {1={Car.model (U)=Peugeot, Car.id (W)=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Car_plates where id = ? and plates = ? | {1={Car_plates.plates=XYZ-ABC-01, Car_plates.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Car_plates(plates, id) values (?, ?) | {1={Car_plates.plates=XYZ-ABC-02, Car_plates.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	update Truck set color = ? where id = ? | {1={Truck.color (U)=Color[rgb=99], Truck.id (W)=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Car_plates where id = ? and plates = ? | {1={Car_plates.plates=XYZ-ABC-02, Car_plates.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Car where id = ? | {1={Car.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Truck where id = ? | {1={Truck.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 2 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Vehicle where id = ? | {1={Vehicle.id=o.c.s.i.PersistableIdentifier@1}, 2={Vehicle.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:14	TRACE	SQLOperation	select count(*) as cnt from Car_plates | {}
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@2]
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Truck.color as Truck_color, Truck.id as Truck_id, Car.model as Car_model, Car.id as Car_id, Car_Car_plates.plates as Car_Car_plates_plates, Car_Car_plates.id as Car_Car_plates_id from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id left outer join Car_plates as Car_Car_plates on Car.id = Car_Car_plates.id where Vehicle.id in (?) | {1=o.c.s.i.PersistableIdentifier@2}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Truck
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Truck.color as Truck_color, Truck.id as Truck_id, Car.model as Car_model, Car.id as Car_id, Car_Car_plates.plates as Car_Car_plates_plates, Car_Car_plates.id as Car_Car_plates_id from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id left outer join Car_plates as Car_Car_plates on Car.id = Car_Car_plates.id where Vehicle.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Car
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@1, o.c.s.i.PersistableIdentifier@2]
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Vehicle.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Truck.color as Truck_color, Truck.id as Truck_id, Car.model as Car_model, Car.id as Car_id, Car_Car_plates.plates as Car_Car_plates_plates, Car_Car_plates.id as Car_Car_plates_id from Vehicle left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car as Car on Vehicle.id = Car.id left outer join Car_plates as Car_Car_plates on Car.id = Car_Car_plates.id where Vehicle.id in (?, ?) | {1=o.c.s.i.PersistableIdentifier@1, 2=o.c.s.i.PersistableIdentifier@2}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Car
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.model.Truck
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
]]></system-out>
  </testcase>
  <testcase name="crud_polymorphism_subClassHasElementCollection(String, EntityPersister, PersistenceContext, PolymorphismType)[3]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.011">
    <system-out><![CDATA[2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Car(model, id) values (?, ?) | {1={Car.model=Renault, Car.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Car_plates(plates, id) values (?, ?) | {1={Car_plates.plates=XYZ-ABC-01, Car_plates.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Truck(color, id) values (?, ?) | {1={Truck.color=Color[rgb=42], Truck.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	update Car set model = ? where id = ? | {1={Car.model (U)=Peugeot, Car.id (W)=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Car_plates where id = ? and plates = ? | {1={Car_plates.plates=XYZ-ABC-01, Car_plates.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Car_plates(plates, id) values (?, ?) | {1={Car_plates.plates=XYZ-ABC-02, Car_plates.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	update Truck set color = ? where id = ? | {1={Truck.color (U)=Color[rgb=99], Truck.id (W)=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Car_plates where id = ? and plates = ? | {1={Car_plates.plates=XYZ-ABC-02, Car_plates.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Car where id = ? | {1={Car.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Truck where id = ? | {1={Truck.id=o.c.s.i.PersistableIdentifier@2}}
2026-05-19 05:31:14	TRACE	SQLOperation	select count(*) as cnt from Car_plates | {}
2026-05-19 05:31:14	DEBUG	TablePerClassPolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@2]
2026-05-19 05:31:14	DEBUG	TablePerClassPolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND org.codefilarete.stalactite.query.api.QueryStatement$PseudoColumn@314b73f0 In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Vehicle.DISCRIMINATOR as Vehicle_DISCRIMINATOR, Car.model as Car_model, Car.id as Car_id, Truck.color as Truck_color, Truck.id as Truck_id, Car_Car_plates.plates as Car_Car_plates_plates, Car_Car_plates.id as Car_Car_plates_id from (select Truck.id as id, 'Truck' as DISCRIMINATOR from Truck union all select Car.id as id, 'Car' as DISCRIMINATOR from Car) as Vehicle left outer join Car as Car on Vehicle.id = Car.id left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car_plates as Car_Car_plates on Car.id = Car_Car_plates.id where Vehicle.id in (?) | {1=o.c.s.i.PersistableIdentifier@2}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.TablePerClassRootJoinNode$TablePerClassPolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
2026-05-19 05:31:14	DEBUG	TablePerClassPolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	DEBUG	TablePerClassPolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND org.codefilarete.stalactite.query.api.QueryStatement$PseudoColumn@314b73f0 In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Vehicle.DISCRIMINATOR as Vehicle_DISCRIMINATOR, Car.model as Car_model, Car.id as Car_id, Truck.color as Truck_color, Truck.id as Truck_id, Car_Car_plates.plates as Car_Car_plates_plates, Car_Car_plates.id as Car_Car_plates_id from (select Truck.id as id, 'Truck' as DISCRIMINATOR from Truck union all select Car.id as id, 'Car' as DISCRIMINATOR from Car) as Vehicle left outer join Car as Car on Vehicle.id = Car.id left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car_plates as Car_Car_plates on Car.id = Car_Car_plates.id where Vehicle.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.TablePerClassRootJoinNode$TablePerClassPolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	TablePerClassPolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@1, o.c.s.i.PersistableIdentifier@2]
2026-05-19 05:31:14	DEBUG	TablePerClassPolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND org.codefilarete.stalactite.query.api.QueryStatement$PseudoColumn@314b73f0 In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Vehicle.id as Vehicle_id, Vehicle.DISCRIMINATOR as Vehicle_DISCRIMINATOR, Car.model as Car_model, Car.id as Car_id, Truck.color as Truck_color, Truck.id as Truck_id, Car_Car_plates.plates as Car_Car_plates_plates, Car_Car_plates.id as Car_Car_plates_id from (select Truck.id as id, 'Truck' as DISCRIMINATOR from Truck union all select Car.id as id, 'Car' as DISCRIMINATOR from Car) as Vehicle left outer join Car as Car on Vehicle.id = Car.id left outer join Truck as Truck on Vehicle.id = Truck.id left outer join Car_plates as Car_Car_plates on Car.id = Car_Car_plates.id where Vehicle.id in (?, ?) | {1=o.c.s.i.PersistableIdentifier@1, 2=o.c.s.i.PersistableIdentifier@2}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.TablePerClassRootJoinNode$TablePerClassPolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.m.Car#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.TablePerClassRootJoinNode$TablePerClassPolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.m.Truck#o.c.s.i.PersistedIdentifier@2
]]></system-out>
  </testcase>
  <testcase name="crud_polymorphism_trunkHasOneToMany(String, EntityPersister)[1]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.009">
    <system-out><![CDATA[2026-05-19 05:31:14	DEBUG	DDLDeployer	create table City(name varchar(255), id int not null, countryId int, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Country(name varchar(255), description varchar(255), id int not null, presidentId int, deputeCount integer, DTYPE varchar(255) not null, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Person(name varchar(255), id int not null, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	alter table City add constraint FK_City_countryId_Country_id foreign key(countryId) references Country(id)
2026-05-19 05:31:14	DEBUG	DDLDeployer	alter table Country add constraint FK_Country_presidentId_Person_id foreign key(presidentId) references Person(id)
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table City(name varchar(255), id int not null, countryId int, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Country(name varchar(255), description varchar(255), id int not null, presidentId int, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Person(name varchar(255), id int not null, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Republic(deputeCount integer not null, id int not null, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	alter table City add constraint FK_City_countryId_Country_id foreign key(countryId) references Country(id)
2026-05-19 05:31:14	DEBUG	DDLDeployer	alter table Country add constraint FK_Country_presidentId_Person_id foreign key(presidentId) references Person(id)
2026-05-19 05:31:14	DEBUG	DDLDeployer	alter table Republic add constraint FK_Republic_id_Country_id foreign key(id) references Country(id)
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table City(name varchar(255), id int not null, countryId int, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Person(name varchar(255), id int not null, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Republic(deputeCount integer not null, id int not null, name varchar(255), description varchar(255), presidentId int, unique (id))
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Person(name, id) values (?, ?) | {1={Person.name=French president, Person.id=o.c.s.i.PersistableIdentifier@0}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Country(deputeCount, name, description, id, presidentId, DTYPE) values (?, ?, ?, ?, ?, ?) | {1={Country.presidentId=o.c.s.i.PersistableIdentifier@0, Country.id=o.c.s.i.PersistableIdentifier@0, Country.deputeCount=250, Country.name=France, Country.DTYPE=Republic, Country.description=null}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into City(name, id, countryId) values (?, ?, ?) | {1={City.id=o.c.s.i.PersistableIdentifier@0, City.name=Paris, City.countryId=o.c.s.i.PersistableIdentifier@0}}
2026-05-19 05:31:14	DEBUG	SingleTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@0]
2026-05-19 05:31:14	DEBUG	SingleTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Country.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Country.name as Country_name, Country.description as Country_description, Country.id as Country_id, Country.presidentId as Country_presidentId, Country.deputeCount as Country_deputeCount, Country.DTYPE as Country_DTYPE, president.name as president_name, president.id as president_id, City.name as City_name, City.id as City_id from Country left outer join Person as president on Country.presidentId = president.id left outer join City as City on Country.id = City.countryId where Country.id in (?) | {1=o.c.s.i.PersistableIdentifier@0}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.SingleTableRootJoinNode$SingleTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest$Republic#o.c.s.i.PersistedIdentifier@0
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest$Republic#o.c.s.i.PersistedIdentifier@0
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	update Person set name = ? where id = ? | {1={Person.name (U)=New french president, Person.id (W)=o.c.s.i.PersistableIdentifier@0}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	update City set name = ?, countryId = ? where id = ? | {1={City.id (W)=o.c.s.i.PersistableIdentifier@0, City.name (U)=Paris, City.countryId (U)=o.c.s.i.PersistedIdentifier@0}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into City(name, id, countryId) values (?, ?, ?) | {1={City.id=o.c.s.i.PersistableIdentifier@1, City.name=Grenoble, City.countryId=o.c.s.i.PersistedIdentifier@0}}
2026-05-19 05:31:14	DEBUG	SingleTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@0]
2026-05-19 05:31:14	DEBUG	SingleTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Country.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Country.name as Country_name, Country.description as Country_description, Country.id as Country_id, Country.presidentId as Country_presidentId, Country.deputeCount as Country_deputeCount, Country.DTYPE as Country_DTYPE, president.name as president_name, president.id as president_id, City.name as City_name, City.id as City_id from Country left outer join Person as president on Country.presidentId = president.id left outer join City as City on Country.id = City.countryId where Country.id in (?) | {1=o.c.s.i.PersistableIdentifier@0}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.SingleTableRootJoinNode$SingleTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest$Republic#o.c.s.i.PersistedIdentifier@0
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest$Republic#o.c.s.i.PersistedIdentifier@0
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.SingleTableRootJoinNode$SingleTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest$Republic#o.c.s.i.PersistedIdentifier@0
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest$Republic#o.c.s.i.PersistedIdentifier@0
]]></system-out>
  </testcase>
  <testcase name="crud_polymorphism_trunkHasOneToMany(String, EntityPersister)[2]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.007">
    <system-out><![CDATA[2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Person(name, id) values (?, ?) | {1={Person.name=French president, Person.id=o.c.s.i.PersistableIdentifier@0}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Country(name, description, id, presidentId) values (?, ?, ?, ?) | {1={Country.name=France, Country.presidentId=o.c.s.i.PersistableIdentifier@0, Country.id=o.c.s.i.PersistableIdentifier@0, Country.description=null}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Republic(deputeCount, id) values (?, ?) | {1={Republic.deputeCount=250, Republic.id=o.c.s.i.PersistableIdentifier@0}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into City(name, id, countryId) values (?, ?, ?) | {1={City.id=o.c.s.i.PersistableIdentifier@0, City.name=Paris, City.countryId=o.c.s.i.PersistableIdentifier@0}}
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@0]
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Country.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Country.name as Country_name, Country.description as Country_description, Country.id as Country_id, Republic.deputeCount as Republic_deputeCount, Republic.id as Republic_id, president.name as president_name, president.id as president_id, City.name as City_name, City.id as City_id from Country left outer join Republic as Republic on Country.id = Republic.id left outer join Person as president on Country.presidentId = president.id left outer join City as City on Country.id = City.countryId where Country.id in (?) | {1=o.c.s.i.PersistableIdentifier@0}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest$Republic
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest$Republic#o.c.s.i.PersistedIdentifier@0
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest$Republic#o.c.s.i.PersistedIdentifier@0
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest$Republic#o.c.s.i.PersistedIdentifier@0
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	update Person set name = ? where id = ? | {1={Person.name (U)=New french president, Person.id (W)=o.c.s.i.PersistableIdentifier@0}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	update City set name = ?, countryId = ? where id = ? | {1={City.id (W)=o.c.s.i.PersistableIdentifier@0, City.countryId (U)=o.c.s.i.PersistedIdentifier@0, City.name (U)=Paris}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into City(name, id, countryId) values (?, ?, ?) | {1={City.id=o.c.s.i.PersistableIdentifier@1, City.name=Grenoble, City.countryId=o.c.s.i.PersistedIdentifier@0}}
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@0]
2026-05-19 05:31:14	DEBUG	JoinTablePolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND Country.id In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Country.name as Country_name, Country.description as Country_description, Country.id as Country_id, Republic.deputeCount as Republic_deputeCount, Republic.id as Republic_id, president.name as president_name, president.id as president_id, City.name as City_name, City.id as City_id from Country left outer join Republic as Republic on Country.id = Republic.id left outer join Person as president on Country.presidentId = president.id left outer join City as City on Country.id = City.countryId where Country.id in (?) | {1=o.c.s.i.PersistableIdentifier@0}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer	Instantiating entity of type class org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest$Republic
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest$Republic#o.c.s.i.PersistedIdentifier@0
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest$Republic#o.c.s.i.PersistedIdentifier@0
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest$Republic#o.c.s.i.PersistedIdentifier@0
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinTableRootJoinNode$JoinTablePolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest$Republic#o.c.s.i.PersistedIdentifier@0
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest$Republic#o.c.s.i.PersistedIdentifier@0
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest$Republic#o.c.s.i.PersistedIdentifier@0
]]></system-out>
  </testcase>
  <testcase name="crud_polymorphism_trunkHasOneToMany(String, EntityPersister)[3]" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest" time="0.008">
    <system-out><![CDATA[2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Person(name, id) values (?, ?) | {1={Person.name=French president, Person.id=o.c.s.i.PersistableIdentifier@0}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Republic(deputeCount, name, description, id, presidentId) values (?, ?, ?, ?, ?) | {1={Republic.name=France, Republic.description=null, Republic.id=o.c.s.i.PersistableIdentifier@0, Republic.deputeCount=250, Republic.presidentId=o.c.s.i.PersistableIdentifier@0}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into City(name, id, countryId) values (?, ?, ?) | {1={City.id=o.c.s.i.PersistableIdentifier@0, City.countryId=o.c.s.i.PersistableIdentifier@0, City.name=Paris}}
2026-05-19 05:31:14	DEBUG	TablePerClassPolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@0]
2026-05-19 05:31:14	DEBUG	TablePerClassPolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND org.codefilarete.stalactite.query.api.QueryStatement$PseudoColumn@2b96dc3e In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Country.name as Country_name, Country.description as Country_description, Country.id as Country_id, Country.presidentId as Country_presidentId, Country.DISCRIMINATOR as Country_DISCRIMINATOR, president.name as president_name, president.id as president_id, City.name as City_name, City.id as City_id, Republic.deputeCount as Republic_deputeCount, Republic.name as Republic_name, Republic.description as Republic_description, Republic.id as Republic_id from (select Republic.name as name, Republic.description as description, Republic.id as id, Republic.presidentId as presidentId, 'Republic' as DISCRIMINATOR from Republic) as Country left outer join Person as president on Country.presidentId = president.id left outer join City as City on Country.id = City.countryId left outer join Republic as Republic on Country.id = Republic.id where Country.id in (?) | {1=o.c.s.i.PersistableIdentifier@0}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.TablePerClassRootJoinNode$TablePerClassPolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest$Republic#o.c.s.i.PersistedIdentifier@0
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest$Republic#o.c.s.i.PersistedIdentifier@0
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest$Republic#o.c.s.i.PersistedIdentifier@0
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	update Person set name = ? where id = ? | {1={Person.name (U)=New french president, Person.id (W)=o.c.s.i.PersistableIdentifier@0}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	update City set name = ?, countryId = ? where id = ? | {1={City.id (W)=o.c.s.i.PersistableIdentifier@0, City.countryId (U)=o.c.s.i.PersistedIdentifier@0, City.name (U)=Paris}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into City(name, id, countryId) values (?, ?, ?) | {1={City.id=o.c.s.i.PersistableIdentifier@1, City.countryId=o.c.s.i.PersistedIdentifier@0, City.name=Grenoble}}
2026-05-19 05:31:14	DEBUG	TablePerClassPolymorphismPersister	selecting entities [o.c.s.i.PersistableIdentifier@0]
2026-05-19 05:31:14	DEBUG	TablePerClassPolymorphismEntityFinder	Finding entities in a single query with criteria o.c.s.e.r.q.EntityCriteriaSupportcriteria=[AND org.codefilarete.stalactite.query.api.QueryStatement$PseudoColumn@2b96dc3e In], hasCollectionCriteria=false, parent=null
2026-05-19 05:31:14	TRACE	SQLOperation	select Country.name as Country_name, Country.description as Country_description, Country.id as Country_id, Country.presidentId as Country_presidentId, Country.DISCRIMINATOR as Country_DISCRIMINATOR, president.name as president_name, president.id as president_id, City.name as City_name, City.id as City_id, Republic.deputeCount as Republic_deputeCount, Republic.name as Republic_name, Republic.description as Republic_description, Republic.id as Republic_id from (select Republic.name as name, Republic.description as description, Republic.id as id, Republic.presidentId as presidentId, 'Republic' as DISCRIMINATOR from Republic) as Country left outer join Person as president on Country.presidentId = president.id left outer join City as City on Country.id = City.countryId left outer join Republic as Republic on Country.id = Republic.id where Country.id in (?) | {1=o.c.s.i.PersistableIdentifier@0}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.TablePerClassRootJoinNode$TablePerClassPolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest$Republic#o.c.s.i.PersistedIdentifier@0
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest$Republic#o.c.s.i.PersistedIdentifier@0
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest$Republic#o.c.s.i.PersistedIdentifier@0
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.TablePerClassRootJoinNode$TablePerClassPolymorphicJoinRootRowConsumer
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.MergeJoinNode$MergeJoinRowConsumer on object o.c.s.e.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest$Republic#o.c.s.i.PersistedIdentifier@0
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest$Republic#o.c.s.i.PersistedIdentifier@0
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.RelationJoinNode$DefaultRelationJoinRowConsumer on object o.c.s.e.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest$Republic#o.c.s.i.PersistedIdentifier@0
]]></system-out>
  </testcase>
  <testcase name="oneToTablePerClass_crud_ownedByReverseSide" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest$OneToPolymorphicMany" time="0.035">
    <system-out><![CDATA[2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Country(name varchar(255), creationDate timestamp, modificationDate timestamp, id int not null, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Town(discotecCount integer not null, id int not null, name varchar(255), countryId int, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Village(barCount integer not null, id int not null, name varchar(255), countryId int, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	alter table Town add constraint FK_Town_countryId_Country_id foreign key(countryId) references Country(id)
2026-05-19 05:31:14	DEBUG	DDLDeployer	alter table Village add constraint FK_Village_countryId_Country_id foreign key(countryId) references Country(id)
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Country(name, modificationDate, creationDate, id) values (?, ?, ?, ?) | {1={Country.name=null, Country.creationDate=null, Country.id=o.c.s.i.PersistableIdentifier@1, Country.modificationDate=null}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Village(barCount, name, id, countryId) values (?, ?, ?, ?) | {1={Village.name=Grenoble, Village.countryId=o.c.s.i.PersistableIdentifier@1, Village.id=o.c.s.i.PersistableIdentifier@42, Village.barCount=0}}
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	TRACE	SQLOperation	select Country.name as Country_name, Country.modificationDate as Country_modificationDate, Country.creationDate as Country_creationDate, Country.id as Country_id, City.clazz_ as City_clazz_, City.name as City_name, City.id as City_id, City.countryId as City_countryId, City.barCount as City_barCount, City.discotecCount as City_discotecCount, City_Village.barCount as City_Village_barCount, City_Village.name as City_Village_name, City_Village.countryId as City_Village_countryId, City_Village.id as City_Village_id, City_Town.discotecCount as City_Town_discotecCount, City_Town.name as City_Town_name, City_Town.countryId as City_Town_countryId, City_Town.id as City_Town_id from Country left outer join (select 1 as clazz_, name, id, countryId, barCount as barCount, cast(null as integer) as discotecCount from Village union all select 2 as clazz_, name, id, countryId, cast(null as integer) as barCount, discotecCount as discotecCount from Town) as City on Country.id = City.countryId left outer join Village as City_Village on City.id = City_Village.id left outer join Town as City_Town on City.id = City_Town.id where Country.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Country
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.TablePerClassPolymorphicRelationJoinNode$TablePerClassPolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PolymorphicMergeJoinRowConsumer on object o.c.s.e.m.Village#o.c.s.i.PersistedIdentifier@42
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	update Village set barCount = ?, name = ?, countryId = ? where id = ? | {1={Village.countryId (U)=o.c.s.i.PersistableIdentifier@1, Village.name (U)=Grenoble, Village.id (W)=o.c.s.i.PersistedIdentifier@42, Village.barCount (U)=51}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	insert into Town(discotecCount, name, id, countryId) values (?, ?, ?, ?) | {1={Town.name=Lyon, Town.countryId=o.c.s.i.PersistableIdentifier@1, Town.discotecCount=123, Town.id=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:14	DEBUG	SimpleRelationalEntityPersister	selecting entities [o.c.s.i.PersistableIdentifier@1]
2026-05-19 05:31:14	TRACE	SQLOperation	select Country.name as Country_name, Country.modificationDate as Country_modificationDate, Country.creationDate as Country_creationDate, Country.id as Country_id, City.clazz_ as City_clazz_, City.name as City_name, City.id as City_id, City.countryId as City_countryId, City.barCount as City_barCount, City.discotecCount as City_discotecCount, City_Village.barCount as City_Village_barCount, City_Village.name as City_Village_name, City_Village.countryId as City_Village_countryId, City_Village.id as City_Village_id, City_Town.discotecCount as City_Town_discotecCount, City_Town.name as City_Town_name, City_Town.countryId as City_Town_countryId, City_Town.id as City_Town_id from Country left outer join (select 1 as clazz_, name, id, countryId, barCount as barCount, cast(null as integer) as discotecCount from Village union all select 2 as clazz_, name, id, countryId, cast(null as integer) as barCount, discotecCount as discotecCount from Town) as City on Country.id = City.countryId left outer join Village as City_Village on City.id = City_Village.id left outer join Town as City_Town on City.id = City_Town.id where Country.id in (?) | {1=o.c.s.i.PersistableIdentifier@1}
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Country
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.TablePerClassPolymorphicRelationJoinNode$TablePerClassPolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PolymorphicMergeJoinRowConsumer on object o.c.s.e.m.Village#o.c.s.i.PersistedIdentifier@42
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Creating instance with o.c.s.e.r.l.JoinRoot$JoinRootRowConsumer entityType=o.c.s.e.m.Country
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.TablePerClassPolymorphicRelationJoinNode$TablePerClassPolymorphicRelationJoinRowConsumer on object o.c.s.e.m.Country#o.c.s.i.PersistedIdentifier@1
2026-05-19 05:31:14	DEBUG	EntityTreeInflater	Consuming o.c.s.e.r.l.PolymorphicMergeJoinRowConsumer on object o.c.s.e.m.Town#o.c.s.i.PersistedIdentifier@17
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	update Town set discotecCount = ?, name = ?, countryId = ? where id = ? | {1={Town.name (U)=Lyon, Town.countryId (U)=null, Town.discotecCount (U)=123, Town.id (W)=o.c.s.i.PersistableIdentifier@17}}
2026-05-19 05:31:14	TRACE	SQLOperation	select countryId from Town union all select countryId from Village | {}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	update Village set barCount = ?, name = ?, countryId = ? where id = ? | {1={Village.name (U)=Grenoble, Village.countryId (U)=null, Village.id (W)=o.c.s.i.PersistableIdentifier@42, Village.barCount (U)=51}}
2026-05-19 05:31:14	DEBUG	SQLOperation	Batching statement 1 times
2026-05-19 05:31:14	TRACE	SQLOperation	delete from Country where id = ? | {1={Country.id=o.c.s.i.PersistableIdentifier@1}}
2026-05-19 05:31:14	TRACE	SQLOperation	select id from Town union all select id from Village | {}
]]></system-out>
  </testcase>
  <testcase name="oneToSingleTable_crud_ownedByReverseSide_foreignKeysAreCreated" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest$OneToPolymorphicMany" time="0.044">
    <system-out><![CDATA[2026-05-19 05:31:14	DEBUG	DDLDeployer	create table City(name varchar(255), id int not null, barCount integer, discotecCount integer, DTYPE varchar(255) not null, countryId int, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Country(name varchar(255), creationDate timestamp, modificationDate timestamp, id int not null, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	alter table City add constraint FK_City_countryId_Country_id foreign key(countryId) references Country(id)
]]></system-out>
  </testcase>
  <testcase name="oneToTablePerClass_crud_ownedByReverseSide_foreignKeysAreCreated" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest$OneToPolymorphicMany" time="0.021">
    <system-out><![CDATA[2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Country(name varchar(255), creationDate timestamp, modificationDate timestamp, id int not null, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Town(discotecCount integer not null, id int not null, name varchar(255), countryId int, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Village(barCount integer not null, id int not null, name varchar(255), countryId int, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	alter table Town add constraint FK_Town_countryId_Country_id foreign key(countryId) references Country(id)
2026-05-19 05:31:14	DEBUG	DDLDeployer	alter table Village add constraint FK_Village_countryId_Country_id foreign key(countryId) references Country(id)
]]></system-out>
  </testcase>
  <testcase name="oneToJoinTable_crud_ownedByReverseSide_foreignKeysAreCreated" classname="org.codefilarete.stalactite.engine.FluentEntityMappingConfigurationSupportPolymorphismWithRelationTest$OneToPolymorphicMany" time="0.024">
    <system-out><![CDATA[2026-05-19 05:31:14	DEBUG	DDLDeployer	create table City(name varchar(255), id int not null, countryId int, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Country(name varchar(255), creationDate timestamp, modificationDate timestamp, id int not null, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Town(discotecCount integer not null, id int not null, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	create table Village(barCount integer not null, id int not null, unique (id))
2026-05-19 05:31:14	DEBUG	DDLDeployer	alter table City add constraint FK_City_countryId_Country_id foreign key(countryId) references Country(id)
2026-05-19 05:31:14	DEBUG	DDLDeployer	alter table Town add constraint FK_Town_id_City_id foreign key(id) references City(id)
2026-05-19 05:31:14	DEBUG	DDLDeployer	alter table Village add constraint FK_Village_id_City_id foreign key(id) references City(id)
]]></system-out>
  </testcase>
</testsuite>