vladmihalcea
Joined 11 years ago
Joined 11 years ago
Want to know my secret? It's very simple. I just read the manual in 2004.
After using it successfully for so long, I wrote a best-seller about how to get the most out of it:
https://www.amazon.com/High-Performance-Java-Persistence-Vla...
And, just because afterward I even worked on Hibernate to add all sorts of performance improvements to it, it doesn't mean I don't love SQL. In fact, I happen to run a High-Performance SQL training too:
https://vladmihalcea.com/trainings/high-performance-sql/
Your comment is based on a very common misconception that Hibernate aims to replace SQL. If that were true, then why do you think Hibernate has been offering the createSQLQuery (a.k.a. createNativeQuery) since 2002?
When you self-publish a book, you need to do way more than just writing the book. You have to do all the things the publisher would have done for you.
By self-publishing, you can get 80 or 90% royalties, instead of 10%, which I think it's worth. It might not be worth for everybody, but, considering how much time I put into writing the book, I wouldn't be happy getting just 10% profit.
My blog is running on WordPress.com. I'm using a Business plan so I can better customize the website.
I said that I doubt they could help me find a better job considering that my book is mostly about Java Persistence and Hibernate :D
Since I liked the topic, I decided to write a book about high-performance data access with Java.
I had declined both of them as they only offered 10% royalty rates.
I didn't have to pay for editing. I did everything myself: writing, diagrams, proofreading, marketing.
In fact, I decided to self-publish it after reading this article from Antonio Goncalves about his Java EE 7 book:
https://antoniogoncalves.org/2014/09/16/the-uncensored-java-...
To celebrate the anniversary, I wrote a blog post that captures the history behind my blog and the amazing things that blogging has enabled for my career.