[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-3787) org.hibernate.cfg.Configuration has non-Serializable member identifierGeneratorFactory

Elhanan Maayan (JIRA) noreply at atlassian.com
Tue Apr 7 07:45:37 EDT 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32813#action_32813 ] 

Elhanan Maayan commented on HHH-3787:
-------------------------------------

i agree, it the test still fails, (didn't need a catch block junit simply said so) 

why would anyone wanna serialize  configuration object in the first place?


> org.hibernate.cfg.Configuration has non-Serializable member identifierGeneratorFactory
> --------------------------------------------------------------------------------------
>
>                 Key: HHH-3787
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3787
>             Project: Hibernate Core
>          Issue Type: Patch
>          Components: core
>    Affects Versions: 3.5
>         Environment: any
>            Reporter: Patrick Moore
>         Attachments: patch.txt, screenshot-1.jpg
>
>   Original Estimate: 1 minute
>  Remaining Estimate: 1 minute
>
> //org.hibernate.cfg.Configuration (line 161):
> public class Configuration implements Serializable {
> // org.hibernate.cfg.Configuration (line 207):
> 	private DefaultIdentifierGeneratorFactory identifierGeneratorFactory;
> However DefaultIdentifierGeneratorFactory is not declared serializable. This patch makes DefaultIdentifierGeneratorFactory serializable.

-- 
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