-1

There are may blog available around this but still not getting exactly what is needed.

I am trying to write a REST API with Spring Boot and store data in database. Here the database structure may change (new tables can get introduced or some existing names may get renamed).

Which DB can be used so that there would be minimal code changes needed both at java side and DB side.

What could be a best design approach in this scenario considering technology stack as Spring Boot and Azure

bee
  • 117
  • 2
  • 14

1 Answers1

0

Please visualize about your persistent storage? Why Azure Only? Refine question.

e.g. H2 database with Spring Boot is the most memory efficient. see Lightest Database to be packed with an application

About Minimal code changes - I'd go with one of the ORM - JPA(or Hibernate). So will only need to maintain @Entity class on java side.

Don't forget - minimal changes still need to be addressed at database & Java side.

RaviSam
  • 130
  • 1
  • 8