User: fleury  
  Date: 00/09/26 14:51:50

  Modified:    src/main/org/jboss/ejb/plugins/jaws/jdbc JDBCCommand.java
  Log:
  Read from Marshalled object
  
  Revision  Changes    Path
  1.15      +4 -3      jboss/src/main/org/jboss/ejb/plugins/jaws/jdbc/JDBCCommand.java
  
  Index: JDBCCommand.java
  ===================================================================
  RCS file: 
/products/cvs/ejboss/jboss/src/main/org/jboss/ejb/plugins/jaws/jdbc/JDBCCommand.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- JDBCCommand.java  2000/09/26 18:58:34     1.14
  +++ JDBCCommand.java  2000/09/26 21:51:49     1.15
  @@ -52,7 +52,7 @@
    * utility methods that database commands may need to call.
    *
    * @author <a href="mailto:[EMAIL PROTECTED]">Justin Forder</a>
  - * @version $Revision: 1.14 $
  + * @version $Revision: 1.15 $
    */
   public abstract class JDBCCommand
   {
  @@ -402,8 +402,9 @@
              // Use the class loader to deserialize
   
               try {
  -                WorkaroundInputStream ois = new WorkaroundInputStream(bais);
  -                result = ois.readObject();
  +                             ObjectInputStream ois = new ObjectInputStream(bais);
  +                             
  +                             result = ((MarshalledObject) ois.readObject()).get();
                                
                                // ejb-reference: get the object back from the handle
                                if (result instanceof Handle) result = 
((Handle)result).getEJBObject();
  
  
  

Reply via email to