我有一个名为 TrainingMstr 的实体。我已经从表中删除了一些字段并更新了实体。但我仍然收到以下错误:
Error occurred during deployment: Exception while preparing the app : Exception [EclipseLink-0] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.IntegrityException
Descriptor Exceptions:
---------------------------------------------------------
Exception [EclipseLink-59] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: The instance variable [trngRevNo] is not defined in the domain class [com.discusit.trims.entity.TrainingMstr], or it is not accessible.
Internal Exception: java.lang.NoSuchFieldException: trngRevNo
Mapping: org.eclipse.persistence.mappings.DirectToFieldMapping[trngRevNo-->trimsdev.trimsdev.training_mstr.trng_rev_no]
Descriptor: RelationalDescriptor(com.discusit.trims.entity.TrainingMstr --> [DatabaseTable(trimsdev.trimsdev.training_mstr)])
Exception [EclipseLink-59] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: The instance variable [trngRefDocNo] is not defined in the domain class [com.discusit.trims.entity.TrainingMstr], or it is not accessible.
Internal Exception: java.lang.NoSuchFieldException: trngRefDocNo
Mapping: org.eclipse.persistence.mappings.DirectToFieldMapping[trngRefDocNo-->trimsdev.trimsdev.training_mstr.trng_ref_doc_no]
Descriptor: RelationalDescriptor(com.discusit.trims.entity.TrainingMstr --> [DatabaseTable(trimsdev.trimsdev.training_mstr)])
Exception [EclipseLink-59] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: The instance variable [trngAddLinks] is not defined in the domain class [com.discusit.trims.entity.TrainingMstr], or it is not accessible.
Internal Exception: java.lang.NoSuchFieldException: trngAddLinks
Mapping: org.eclipse.persistence.mappings.DirectToFieldMapping[trngAddLinks-->trimsdev.trimsdev.training_mstr.trng_add_links]
Descriptor: RelationalDescriptor(com.discusit.trims.entity.TrainingMstr --> [DatabaseTable(trimsdev.trimsdev.training_mstr)])
Exception [EclipseLink-59] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: The instance variable [trngNxtRevDt] is not defined in the domain class [com.discusit.trims.entity.TrainingMstr], or it is not accessible.
Internal Exception: java.lang.NoSuchFieldException: trngNxtRevDt
Mapping: org.eclipse.persistence.mappings.DirectToFieldMapping[trngNxtRevDt-->trimsdev.trimsdev.training_mstr.trng_nxt_rev_dt]
Descriptor: RelationalDescriptor(com.discusit.trims.entity.TrainingMstr --> [DatabaseTable(trimsdev.trimsdev.training_mstr)])
Exception [EclipseLink-59] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: The instance variable [trngInfo] is not defined in the domain class [com.discusit.trims.entity.TrainingMstr], or it is not accessible.
Internal Exception: java.lang.NoSuchFieldException: trngInfo
Mapping: org.eclipse.persistence.mappings.DirectToFieldMapping[trngInfo-->trimsdev.trimsdev.training_mstr.trng_info]
Descriptor: RelationalDescriptor(com.discusit.trims.entity.TrainingMstr --> [DatabaseTable(trimsdev.trimsdev.training_mstr)])
Exception [EclipseLink-59] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: The instance variable [trngEffctvDt] is not defined in the domain class [com.discusit.trims.entity.TrainingMstr], or it is not accessible.
Internal Exception: java.lang.NoSuchFieldException: trngEffctvDt
Mapping: org.eclipse.persistence.mappings.DirectToFieldMapping[trngEffctvDt-->trimsdev.trimsdev.training_mstr.trng_effctv_dt]
Descriptor: RelationalDescriptor(com.discusit.trims.entity.TrainingMstr --> [DatabaseTable(trimsdev.trimsdev.training_mstr)])
Exception [EclipseLink-59] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: The instance variable [trngValidTill] is not defined in the domain class [com.discusit.trims.entity.TrainingMstr], or it is not accessible.
Internal Exception: java.lang.NoSuchFieldException: trngValidTill
Mapping: org.eclipse.persistence.mappings.DirectToFieldMapping[trngValidTill-->trimsdev.trimsdev.training_mstr.trng_valid_till]
Descriptor: RelationalDescriptor(com.discusit.trims.entity.TrainingMstr --> [DatabaseTable(trimsdev.trimsdev.training_mstr)])
我也从所有 SessionBeans 中删除了所有相关的数据字段。
我该怎么办?