Monthly Archives: July 2011

Why you should never use getSingleResult() in JPA

As long as I’m using JPA I notice that the use of getSingleResult and getResultList is often confused. In the javadoc there is no clear specification of what to use. getResultList() Execute a SELECT query and return the query results … Continue reading

Posted in jpa | Leave a comment

Spring Tutorials

pring Integration 2 Spring Integration 2: Integrating RabbitMQ and Web Service Spring Integration 2: Integrating a JDBC and WS System Spring REST Spring 3: REST Web Service Provider and Client Tutorial (Part 1) Spring 3: REST Web Service Provider and … Continue reading

Posted in spring | Leave a comment


Posted in Uncategorized | Leave a comment

WordPress Recent Posts from specific category

here cat=1 is our category ID number and showposts=10 is our recent posts from specific category count. When you add this code to your sidebar.php file, you have to check your specific category ID from you admin panel, manage, categories. … Continue reading

Posted in wordpress | Tagged | Leave a comment

how to delete file ,folder at linux

rm file rm -rf directory

Posted in Uncategorized | Leave a comment