I trying to define a Nosql entity using org.eclipse.persistence.nosql libraries but I'm not able to define a unique constraint.
So, until now I've been looking for something like the following SQL syntax but for the NOSql annotation.
@Entity @Table(name="TDWC_DATASOURCE", uniqueConstraints=@UniqueConstraint(columnNames={"name", "userId"}))
Is there any param/option to have a constraint also in nosql db? Is there any alternative? Thanks in advance Andrea