Hello my friends,
I have a problem and I need some help for it, so I have a java web program that using hibernate, so sometimes occurry a cononcorrency problem, when a transaction trying insert a object but other transaction insert the same object, this error is logged in my server:
org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
Its ok, because I manage this error using a try/catch in my java code, so I would like that this error was not logged in the server, I tried to use log4j to log this exception in other file, but its not working.. so anybody have any idea to fix it? Sorry for my english I am learning it...
|