[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-3787) org.hibernate.cfg.Configuration has non-Serializable member identifierGeneratorFactory
Patrick Moore (JIRA)
noreply at atlassian.com
Tue Apr 7 11:11:37 EDT 2009
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32818#action_32818 ]
Patrick Moore commented on HHH-3787:
------------------------------------
re: serialized configuration -- so that the Configuration can be stored and transmitted to other machines in a cluster. Conversely why not make Configuration Serializable?
> 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