Caused by: org.hibernate.MappingException: Could not determine type for: org.axonframework.domain.DomainEventStream, at table: customer, for columns: [org.hibernate.mapping.Column(uncommittedEvents)]
at org.hibernate.mapping.SimpleValue.getType(SimpleValue.java:390)
at org.hibernate.mapping.SimpleValue.isValid(SimpleValue.java:363)
at org.hibernate.mapping.Property.isValid(Property.java:225)
.....
Hibernate is picking up the "getters" in the AbstractAggregateRoot class
and attempting to map them since they aren't annotated with @Transient.
Is there any workaround for this issue?
Thanks!
--
You received this message because you are subscribed to the Google Groups "Axon Framework Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to axonframewor...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Yes, I only use annotations, but Hibernate by default will also pick up any "getters" by convention. I've never seen a way to fix except using@Transient, however that is not possible when your @MappedSuperclass is not owned by you (AbstractAggregateRoot).