You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ddlutils-dev@db.apache.org by "JuanFran Adame Lorite (JIRA)" <ji...@apache.org> on 2005/10/28 10:49:57 UTC

[jira] Created: (DDLUTILS-37) org.apache.ddlutils.model.Database implements Serializable but it's not

org.apache.ddlutils.model.Database implements Serializable but it's not
-----------------------------------------------------------------------

         Key: DDLUTILS-37
         URL: http://issues.apache.org/jira/browse/DDLUTILS-37
     Project: DdlUtils
        Type: Bug
    Reporter: JuanFran Adame Lorite
 Assigned to: Thomas Dudziak 


Although org.apache.ddlutils.model.Database implements Serializable interface it 's not because DynaClassCache class is not serializable and Database contains it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (DDLUTILS-37) org.apache.ddlutils.model.Database implements Serializable but it's not

Posted by "JuanFran Adame Lorite (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DDLUTILS-37?page=all ]

JuanFran Adame Lorite updated DDLUTILS-37:
------------------------------------------

    Attachment: Database.java

The provisional solution I have found is to set _dynaClassCache field in Database as transient and initiate it in the readObject method to support its initialization when deserializing the Database instances

> org.apache.ddlutils.model.Database implements Serializable but it's not
> -----------------------------------------------------------------------
>
>          Key: DDLUTILS-37
>          URL: http://issues.apache.org/jira/browse/DDLUTILS-37
>      Project: DdlUtils
>         Type: Bug
>     Reporter: JuanFran Adame Lorite
>     Assignee: Thomas Dudziak
>  Attachments: Database.java
>
> Although org.apache.ddlutils.model.Database implements Serializable interface it 's not because DynaClassCache class is not serializable and Database contains it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (DDLUTILS-37) org.apache.ddlutils.model.Database implements Serializable but it's not

Posted by "Thomas Dudziak (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DDLUTILS-37?page=all ]

Thomas Dudziak updated DDLUTILS-37:
-----------------------------------

    Component: Core (No specific database)

> org.apache.ddlutils.model.Database implements Serializable but it's not
> -----------------------------------------------------------------------
>
>          Key: DDLUTILS-37
>          URL: http://issues.apache.org/jira/browse/DDLUTILS-37
>      Project: DdlUtils
>         Type: Bug

>   Components: Core (No specific database)
>     Reporter: JuanFran Adame Lorite
>     Assignee: Thomas Dudziak
>  Attachments: Database.java
>
> Although org.apache.ddlutils.model.Database implements Serializable interface it 's not because DynaClassCache class is not serializable and Database contains it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (DDLUTILS-37) org.apache.ddlutils.model.Database implements Serializable but it's not

Posted by "Thomas Dudziak (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DDLUTILS-37?page=all ]
     
Thomas Dudziak resolved DDLUTILS-37:
------------------------------------

    Resolution: Fixed

I've fixed it as per you suggestion, though initializing it in readObject should not be necessary as it intializes itself lazily (after all it is only a cache for the dyna classes).

> org.apache.ddlutils.model.Database implements Serializable but it's not
> -----------------------------------------------------------------------
>
>          Key: DDLUTILS-37
>          URL: http://issues.apache.org/jira/browse/DDLUTILS-37
>      Project: DdlUtils
>         Type: Bug
>     Reporter: JuanFran Adame Lorite
>     Assignee: Thomas Dudziak
>  Attachments: Database.java
>
> Although org.apache.ddlutils.model.Database implements Serializable interface it 's not because DynaClassCache class is not serializable and Database contains it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira