If I try to generate a diff with the following classes:
@Entity
@Inheritance(strategy = InheritanceType.JOINED)
public class ClassA {
private String country;
// Getters and setters
}
@Entity
public class ClassB extends ClassA {
private String city;
// Getters and setters
}
And run the liquibase-maven-plugin with the goal liquibase:diff I get the following exception:
[ERROR] Failed to execute goal org.liquibase:liquibase-maven-plugin:3.5.3:diff (default-cli) on project database-uploader: Error setting up or running Liquibase: org.hibernate.MappingException: Unable to find column with logical name: social_security_number in org.hibernate.mapping.DenormalizedTable(ClassB) and its related supertables and secondary tables -> [Help 1]
The same with @Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)
If I try to generate a diff with the following classes:
And run the
liquibase-maven-plugin
with the goalliquibase:diff
I get the following exception:The same with
@Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)
┆Issue is synchronized with this Jira Bug by Unito