What should I learn first Spring or Hibernate?
I learned Java and JDBC. I also have project experience in JSP/Servlet. I used tomcat for running my application.
Its not mandatory to read Hibernate/Spring before starting another technology. These two technologies are different, but can be used together to make applications.
My suggestion is to learn Basics of Hibernate and after that you can Spring Framework.
But it also depends on your project requirement, for example if you are using Hibernate in your project you should learn Hibernate first.
If your project needs Spring core, Spring web etc. then you can learn Spring framework.
If there is no project then you should learn Hibernate and then learn Spring.