| I updated the test case with the latest information; still no luck. I will have a look at the SQL schema later this week.
to the best of my knowledge the attached files contain the full definition of the entities in question
They do not; here is a snippet from the ticket description:
@Entity
@Table(name = DataSourceResource.TABLE_NAME)
@Inheritance(strategy = InheritanceType.JOINED)
@DiscriminatorColumn(name = "DISCRIMINATOR", discriminatorType = DiscriminatorType.STRING)
@EntityListeners(EntityTimestampsTrackingListener.class)
@Access(AccessType.PROPERTY)
public abstract class DataSourceResource
extends JPAAccessibleResource
implements IDataResourceSettingsPojo, MutableSuggestedSettings, MutableCreationDate {
private static final long serialVersionUID = 6153963356796712902L;
public static final String TABLE_NAME = "DATA_SOURCE_RESOURCES";
...
}
and here is the corresponding code in the attached files:
@Entity
@Table(name = DataSourceResource.TABLE_NAME)
@Inheritance(strategy = InheritanceType.JOINED)
@DiscriminatorColumn(name = "DISCRIMINATOR", discriminatorType = DiscriminatorType.STRING)
@Access(AccessType.PROPERTY)
public abstract class DataSourceResource extends JPAAccessibleResource {
private static final long serialVersionUID = 3869553374672216514L;
public static final String TABLE_NAME = "DATA_SOURCE_RESOURCES";
....
Obviously part of the code was removed, in particular @EntityListeners(EntityTimestampsTrackingListener.class) and some implemented interfaces. The former in particular could be triggering the bug. |