In my java application multiple threads update same row at a time how to get consistence results ?
for example
current row value count =0; thread 1
Your question is not 100% clear, but I guess you're looking for the different locking strategies: http://docs.jboss.org/hibernate/orm/5.2/userguide/html_single/Hibernate_User_Guide.html#locking