DATACASS-98 - Completed
Exit immediately if no @Id found so that we dont get to the validation which assumes an @Id exists.
This commit is contained in:
@@ -206,6 +206,7 @@ public class DefaultCassandraPersistentEntityMetadataVerifier implements Cassand
|
||||
if (idPropertyCount != 1) {
|
||||
exceptions.add(new MappingException(String.format(
|
||||
"@Table/@Persistent types must have only one @PrimaryKey attribute. Found %s.", idPropertyCount)));
|
||||
throw exceptions;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user