yugabyte / spring-data-yugabytedb

Spring Data Module for YugabyteDB.
18 stars 6 forks source link

PR for Spring Data YugabyteDB #3

Closed nchandrappa closed 3 years ago

nchandrappa commented 3 years ago

Following tasks, are considered in the first iteration of the Spring Data YugabyteDB project

Spring Data YugabyteDB YSQL Implementation details

Task 1: Adding YugabyteDB Dialect ✅

Task 2: Adding YugabyteDB Specific Configuration ✅

Task 3: Adding YugabyteDB Template API using YugabyteDB datasource ✅

Task 4: YugabyteDB Specific entity mapping. Extend @Id entity annotation to support. [Spring Data JDBC doesn’t support schema generation so not sure if this is required.] ⬜️

Option 1: Add properties to existing @Id annotation to support above partitioning strategies

Option 2: Add new annotation for Partitioning which works along with @Id annotation

       @primarykeypartition(value = PartitionType.HASH)
           @primarykeypartition(value = PartitionType.RANGE)

Task 5: YugabyteDB datatype support ⬜️

Task 6: YugabyteDB Repositories ✅

nchandrappa commented 3 years ago

Fixed review comments.