r/java • u/vladmihalceacom • Sep 30 '21
My 8 year journey of blogging about Java and SQL
https://vladmihalcea.com/eight-years-of-blogging/21
u/INDNESS Sep 30 '21
Thank you for your blog! It helped me a lot at the time when I was an intern!
8
9
6
3
u/SidFloyd84 Sep 30 '21
Love your blog, it's a classic for each JPA developer :)
1
u/vladmihalceacom Sep 30 '21
Thanks. Although many posts are about JPA and Hibernate, I have over 50 about SQL and many more to come.
2
u/TelepathicYakut Sep 30 '21
What do you recommend for someone who’s trying to get started on blogging? I feel like I’m a jack of all trades but master of none so who’d read if I wrote something.?
5
u/vladmihalceacom Sep 30 '21
Most of us are Jack of all trades. The past month, I had to develop a prototype with everything from front to back-end.
However, focus on what people struggle with. If there's a problem, that's an opportunity. In my case, I noticed I could teach people how to better use a DB system, which is a very common problem.
2
2
u/Dokiace Sep 30 '21
Hi Vlad, thanks for all your knowledge!
Quick question, what's your id preference for an entity? UUID? Sequence? Other?
3
u/vladmihalceacom Sep 30 '21
It depends. Most often, it's a sequence if the DB supports it. Identity in MySQL because I have no better choice. UUID for Natural Ids only.
2
2
3
20
u/gavenkoa Sep 30 '21
Some blog posts are really helpful.
It is difficult to make sense of Hibernate docs: even when you know everything is it not clear how pieces need to be joined together.
My personal favorite: https://vladmihalcea.com/hibernate-multiplebagfetchexception/ I had understood the problem but it was hard to justify the solution to a team. Link to Vlad's blog is something that clicks other devs opinion. He is an authority ))