hibernate joined-subclass salva mas não funciona load() nem get()  XML
Índice dos Fóruns » Java Enterprise Edition (Java EE)
Autor Mensagem
leomc
JavaGuru
[Avatar]

Membro desde: 16/02/2004 21:39:45
Mensagens: 216
Localização: Brasília - DF
Offline

Fiz um mapeamento de subclasses usando joined-subclass ele funciona normalmente pra salvar mas o session.get() retorna null




hbm resumido

This message was edited 1 time. Last update was at 18/04/2005 16:19:57


[]'s Léo

Melhores Destinos - passagens aereas profissionais
http://www.leonardomarques.net
[WWW]
louds
Moderador
[Avatar]

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
[ICQ]
leomc
JavaGuru
[Avatar]

Membro desde: 16/02/2004 21:39:45
Mensagens: 216
Localização: Brasília - DF
Offline

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


[]'s Léo

Melhores Destinos - passagens aereas profissionais
http://www.leonardomarques.net
[WWW]
 
Índice dos Fóruns » Java Enterprise Edition (Java EE)
Ir para:   
Powered by JForum 2.1.8 © JForum Team