[JIRA-OS] Commented: (WF-203) NotSerializableException on JDBCPropertySet

[email protected]
Newsgroups gmane.comp.java.open-symphony.cvs
Message-ID <[email protected]>
The following comment has been added to this issue:

     Author: Hani Suleiman
    Created: Sun, 14 Sep 2003 7:18 PM
       Body:
Adding another method just to provide a non-modifiable property seems a bit silly. Clients could always just call the modifiable version of the method.

Also, changing the behaviour to always return non-modifiable copies is not a good idea, as it removes very useful functionality.

You could always just provide a helper method in your own code that simply copies the propertyset into a Serializable propertyset, and return that.
---------------------------------------------------------------------
View the issue:

  http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WF-203


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: WF-203
    Summary: NotSerializableException on JDBCPropertySet
       Type: Bug

     Status: Assigned
   Priority: Major

    Project: OSWorkflow
 Components: 
             Core
   Versions:
             2.5

   Assignee: Hani Suleiman
   Reporter: raffaele spazzoli

    Created: Mon, 1 Sep 2003 4:52 AM
    Updated: Wed, 10 Sep 2003 1:27 PM
Environment: JDBCPesistence with JDBCPropertySet and Workflow used remotely as EJB. Oracle 9.0.2, Weblogic 8.1, jdk 1.4.1_02

Description:
with the stated environment the following code 

Workflow workflow=new EJBWorkflow();
long id=workflow.initialize("iscrizione_corso",1,null);
workflow.getPropertySet(id);

will fire a NotSerializableException for JDBCPropertySet.

I think that a JDBCPropertySet is righfully not serializable so may be the method workflow.getPropertySet(id) for an ejb should return a non modifiable memory property set. I hope it already exists :-).


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.opensymphony.com/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.