Oskar Kalbarczyk Code&More (@kalbarczykdev) 's Twitter Profile
Oskar Kalbarczyk Code&More

@kalbarczykdev

ID: 1696847464018403328

linkhttps://www.youtube.com/@KalbarczykDev calendar_today30-08-2023 11:29:03

60 Tweet

20 Followers

127 Following

Oskar Kalbarczyk Code&More (@kalbarczykdev) 's Twitter Profile Photo

Hey twitter! I am creating a private community for #springboot developers on skool.com Right now you can join for free with lifetime access as a founding member and help shape the community! skool.com/spring-boot-ac…

Hey twitter! I am creating a private community for #springboot  developers on skool.com Right now you can join for free with lifetime access as a founding member and help shape the community! 
skool.com/spring-boot-ac…
Oskar Kalbarczyk Code&More (@kalbarczykdev) 's Twitter Profile Photo

πŸƒSpring Boot Tips #3πŸš€ toList() vs Collectors.toList() in Java Both produce a list from Stream, but they are not exactly the same. Collectors.toList() β†’ returns a modifiable list βœ… toList() β†’ returns an unmodifiable list ❌ (add/remove = UnsupportedOperationException)

πŸƒSpring Boot Tips #3πŸš€
toList() vs Collectors.toList() in Java
Both produce a list from Stream, but they are not exactly the same.
 Collectors.toList() β†’ returns a modifiable list βœ… 
 toList() β†’ returns an unmodifiable list ❌ (add/remove = UnsupportedOperationException)
Vlad Mihalcea (@vlad_mihalcea) 's Twitter Profile Photo

Language verbosity is a blessing in disguise. While some devs may not like it when writing a solution, you'll surely appreciate it when reading someone else's code. In non-trivial software projects, development is more about reading than writing.

Oskar Kalbarczyk Code&More (@kalbarczykdev) 's Twitter Profile Photo

πŸƒ Spring Boot Tips #4 πŸš€ 3 ways to map inheritance with Spring Boot Data JPA: 1️⃣ Table Per Class: each class its own table, parent few fields, children many πŸ‘©β€πŸŽ“πŸ‘¨β€πŸ« 2️⃣ Joined: shared parent table, children reference by ID βœ… 3️⃣ Single Table: one table + type column ⚑

πŸƒ Spring Boot Tips #4 πŸš€

3 ways to map inheritance with Spring Boot Data JPA:

1️⃣ Table Per Class: each class its own table, parent few fields, children many πŸ‘©β€πŸŽ“πŸ‘¨β€πŸ«
2️⃣ Joined: shared parent table, children reference by ID βœ…
3️⃣ Single Table: one table + type column ⚑