Membro desde: 29/04/2003 23:09:15
Mensagens: 4061
Localização: São Paulo
Offline
Session.get() não retorna somente se já estiver no cache?
http://www.kumpera.net/blog/ http://www.mono-project.com/
"Each individual should work for himself. People will not sacrifice themselves for the company. They come to work at the company to enjoy themselves."
Soichiro Honda
não... ele deveria funcionar mesmo(na minha opnião)...
api spring
Return the persistent instance of the given entity class with the given identifier, or null if not found.
api hibernate
Return the persistent instance of the given entity class with the given identifier, or null if there is no such persistent instance. (If the instance, or a proxy for the instance, is already associated with the session, return that instance or proxy.)
This message was edited 1 time. Last update was at 18/04/2005 17:10:58