Skip to content

W3 Spot

  • Blog Disclaimer

Month: October 2020

How To Solve “Caused by: org.hibernate.HibernateException: Missing table” When Table Is Present In Database

October 17, 2020 by admin

If you are using JPA or Hibernate directly and got that exception while starting your application, there is one obvious reason for that. You forgot to add that table in MySQL database or any other database that you are using. But if the table is present, then most likely it is a database user permission … Read more

Categories Java Leave a comment

Building Binary Heap In O(n) Worst Time Complexity Explained

August 18, 2022October 15, 2020 by admin

I have seen people getting confused about how a binary heap can be built in O(n) time complexity. There are online articles & videos regarding this. I will try to explain it in my own way as simply as possible. First thing first, a binary heap is a complete binary tree. All levels of complete … Read more

Categories Data Structure And Algorithm Leave a comment

What Is The Actual Difference Between Closeable And AutoCloseable In Java

October 6, 2020 by admin

Well, practically there is not much difference. If you check Java doc, you will notice that Closeable interface extends AutoCloseable interface. But there is one difference & that explains the reason why AutoCloseable interface was introduced in Java 7. Closeable  close() method can throw IOException only. And that made  sense as you will be using … Read more

Categories Java Leave a comment

© 2025 W3 Spot • Built with GeneratePress