[hibernate-issues] [Hibernate-JIRA] Created: (HHH-3755) The .getClass() return Class wrong, return <entity>_$$_javassist_0
Clayton K. N. Passos (JIRA)
noreply at atlassian.com
Thu Feb 5 13:34:38 EST 2009
The .getClass() return Class wrong, return <entity>_$$_javassist_0
------------------------------------------------------------------
Key: HHH-3755
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3755
Project: Hibernate Core
Issue Type: Bug
Components: core
Environment: Hibernate core 3.3.1GA with minimun dependencies
JDBC Driver: postgresql-8.3-604.jdbc4.jar
DataBase: "PostgreSQL 8.2.3 on i686-pc-mingw32, compiled by GCC gcc.exe (GCC) 3.4.2 (mingw-special)"
Reporter: Clayton K. N. Passos
Attachments: An error ocurred.jpg, ZTX.rar
If you observe the output of execution of the TestCX class, you see an error to second user (Clayton) in return of method getClass().
See class com.ws.model.entities.Mensagem_$$_javassist_0, it's not corret,
the correct output is: class com.ws.model.entities.Mensagem
In Attachement contain an .rar file with my miniproject to demonstrate a error.
Execute TestCX to see aa error.
User: Albatrox
List Message...
class com.ws.model.entities.Mensagem
class com.ws.model.entities.Mensagem
List MessageUser
class com.ws.model.entities.MensagemDestinatario
class com.ws.model.entities.MensagemDestinatario
User: Clayton
List Message...
class com.ws.model.entities.Mensagem_$$_javassist_0
class com.ws.model.entities.Mensagem_$$_javassist_0
List MessageUser
class com.ws.model.entities.MensagemDestinatario
class com.ws.model.entities.MensagemDestinatario
User: Jakovisk
List Message...
List MessageUser
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list