मैं एक कस्टम वस्तु सूचीजेपीए @Embeddable
@ElementCollection
@CollectionTable(name = "choice", joinColumns = @JoinColumn(name = "itemId"))
@OrderColumn(name = "index")
private List<Choice> choices = new ArrayList<Choice>();
मैं इस
//@Embeddable
@Table(name = "choice")
@Cacheable(false)
@Audited
public class Choice implements Serializable{
की तरह एक विकल्प वर्ग बनाया है, तो मैं @Embeddable एनोटेशन मैं org.hibernate.MappingException: Type not supported for auditing: org.hibernate.type.ComponentType
मैं जेपीए के लिए नया हूं। क्या कोई ऐसी चीज है जो मुझे याद आ रही है?
आप क्या समझते हैं? संदेश बहुत स्पष्ट है: आप एक घटक/एम्बेड करने योग्य ऑडिट नहीं कर सकते हैं। इसे एक वास्तविक इकाई बनाओ। –