Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 35618 invoked from network); 30 Apr 2004 08:03:46 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 30 Apr 2004 08:03:46 -0000 Received: (qmail 71006 invoked by uid 500); 30 Apr 2004 08:03:15 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 70915 invoked by uid 500); 30 Apr 2004 08:03:14 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 70873 invoked from network); 30 Apr 2004 08:03:13 -0000 Received: from unknown (HELO waersys.net) (217.204.76.189) by daedalus.apache.org with SMTP; 30 Apr 2004 08:03:13 -0000 Received: from MARCOM1 (pix2.waer.dmz [192.168.100.1]) by waersys.net (8.12.8/8.12.8) with ESMTP id i3U8F8dm007771 for ; Fri, 30 Apr 2004 09:15:09 +0100 From: "Marco Mistroni" To: "'Jakarta Commons Users List'" Subject: wrap a Map into a DynaBean Date: Fri, 30 Apr 2004 09:03:47 +0100 Message-ID: <008901c42e89$aa4a74a0$696ea8c0@MARCOM1> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi all, Is there any way, using beanutils package, to 'wrap' a Map Into a DynaBean or something similar? >From errors that I have, answer is no, but maybe some of you know Some alternatives.. Issue is that I am receiving different objects from my db layer, and I am wrapping them into a DynaBean to avoid calling specific methods For retrieving properties. But in one case out of 10 I am receiving an HashMap, and it looks like I cannot wrap an HashMap with a DynaBean Anyone has any suggestions? Thanx in advance and regards Marco --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org