Hi.
In section 1.4 of hibernate tutorial we can read:

"The dateFormatter is a tool we'll need later to convert Date objects
from and to strings. It makes sense to only have one formatter as a
member of the servlet."

But in the javadoc from SimpleDateFormat we can read:

"Date formats are not synchronized. It is recommended to create
separate format instances for each thread. If multiple threads access
a format concurrently, it must be synchronized externally."

I think this should be fixed.


--
-=-=-=-=-=-=-=-=-=-=-=-=-
Andrés González.
http://coyotevil.blogspot.com

_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to