forked from derjust/spring-data-dynamodb
-
-
Notifications
You must be signed in to change notification settings - Fork 48
Closed
Description
Expected Behavior
set DynamoDBMapperConfig with the TableNamePrefix,the find result should come from table "TableNamePrefix+tablename"
Actual Behavior
the result come from table "tablename"
Steps to Reproduce the Problem
set DynamoDBMapperConfig
@Primary @Bean public DynamoDBMapperConfig dynamoDBMapperConfig() { return DynamoDBMapperConfig.builder() .withTableNameOverride( DynamoDBMapperConfig.TableNameOverride.withTableNamePrefix(tableNamePrefix) ).build(); }
add DynamoDBIndexHashKey
@DynamoDBIndexHashKey(globalSecondaryIndexName = "username-index")
use Repository do the find method
Specifications
- Spring Data DynamoDB Version: 5.2.5
- Spring Data Version:Moore-RELEASE
- AWS SDK Version:2.7.7
- Java Version: 8
- Platform Details: linux
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working