How to add @Id for primary key in corda

(Viswanathan S) #1

Hi @roger,
I have tired to add @Id for primary key declaration in schema. build and ran successfully. But its shows as Class org.hibernate.AnnotationException is not annotated or on the whitelist, so cannot be used in serialization Serialization trace: cause (rx.exceptions.OnErrorNotImplementedException) throwable (rx.Notification) . i added @corda serializable too. please help me out.