Closed stephanpelikan closed 1 year ago
Currently, any workflow aggregate has to define a primary key of type java.lang.String:
java.lang.String
@Entity public class DemoAggregate { @Id String id; }
It should also be possible to define primary keys of any other type:
@Entity public class DemoAggregate { @Id Long id; }
Preconditions for those type are:
toString()
valueOf(String)
Currently, any workflow aggregate has to define a primary key of type
java.lang.String
:It should also be possible to define primary keys of any other type:
Preconditions for those type are:
toString()
to get a textual representation of the primary key.valueOf(String)
to get an object of the primary key's type based on the textual representation returned bytoString()
.