Hello Guys anyone can help me.
I need to use long as AggregateIdentifier but failed
CreatedCommand:
@TargetAggregateIdentifier
private long id;
CreatedAggregate:
@AggregateIdentifier
private long id;
Hello Guys, this is error return after running
org.axonframework.commandhandling.CommandExecutionException(OUT_OF_RANGE: [AXONIQ-2000] Invalid sequence number 0 for aggregate 0, expected 1)
I need to use long like this
Model:
@Id
@Column(name = “id”, unique = true, nullable = false)
private long id;