Spring Boot +MVC+Jpa mini project

sample application using spring boot ,SpringMVC,JPA,HIbernate. In previous tutorial you have seen how spring3 was intergrating jpa if you would like to revise again please http://www.shivapreals.tech/allpost/spring/spring-with-hibernate-jpa-integration/ Spring3 was great but it had some short coming.In Spring3 we were supposed to Read More

TreeSet Vs HashSet

Treeset and hashset both belong to set and obey the rule of maintaining uinique elements . But treeset comes with some more added advantage. TreeSet gives ability to sort elements with the help of the compareTo(). More examples on http://www.shivapreals.tech/allpost/java-tutorial/java-collection-tutorial/ HashSet allows null elements. Treeset never allows null.   Hashset is faster as it is not dealing with sorting Read More