Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 74425 invoked from network); 25 Aug 2005 16:10:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Aug 2005 16:10:38 -0000 Received: (qmail 53128 invoked by uid 500); 25 Aug 2005 16:10:37 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 53108 invoked by uid 500); 25 Aug 2005 16:10:37 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Apache Torque Users List" Reply-To: "Apache Torque Users List" Delivered-To: mailing list torque-user@db.apache.org Received: (qmail 53095 invoked by uid 99); 25 Aug 2005 16:10:37 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Aug 2005 09:10:37 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [83.103.39.74] (HELO localhost.localdomain) (83.103.39.74) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Aug 2005 09:10:53 -0700 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by localhost.localdomain (Postfix) with ESMTP id 85FE24842F for ; Thu, 25 Aug 2005 18:14:59 +0200 (CEST) Message-ID: <430DEE82.8090605@ste-energy.com> Date: Thu, 25 Aug 2005 18:14:58 +0200 From: Matteo Barbieri Organization: S.T.E. s.r.l. User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050727) X-Accept-Language: it, it-it, en-us, en MIME-Version: 1.0 To: Apache Torque Users List Subject: Bean serialized problem Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi everybody. I have a client-server program that uses Torque (the server uses om classes and the client only om.beans classes). The server performs a query to the database and returns a List. I convert the List to List. MyObjectBean has the toString() method that returns something like "code - description" (where "code" is MyObjectBean.getCode() and "description" is MyObjectBean.getDescription()). If I print on the server the MyObjectBean, all works correctly, but if I send these beans through the net (I've added implements java.io.Serializable on beans generated by Torque), the toString() method on the client prints " - "... Why? It seems that even if beans are Serializable they lose all properties. Any idea? Thank you -- RCarter --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org