Using SecondaryTable For Flexible Database Design (With example)

Let’s consider an example. You have been working on a website selling phones since 2000. In early 2000, there wasn’t any smartphone so you may created an object Phone like this: I’m using lombok (in case you find @Data strange). So, back in 2000s, phones were simple like that. However, with the appearance of smartphone.… Continue reading Using SecondaryTable For Flexible Database Design (With example)