From open-jpa-dev-return-4086-apmail-incubator-open-jpa-dev-archive=incubator.apache.org@incubator.apache.org Fri May 11 21:30:43 2007 Return-Path: Delivered-To: apmail-incubator-open-jpa-dev-archive@locus.apache.org Received: (qmail 34780 invoked from network); 11 May 2007 21:30:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 May 2007 21:30:40 -0000 Received: (qmail 78926 invoked by uid 500); 11 May 2007 21:30:44 -0000 Delivered-To: apmail-incubator-open-jpa-dev-archive@incubator.apache.org Received: (qmail 78884 invoked by uid 500); 11 May 2007 21:30:44 -0000 Mailing-List: contact open-jpa-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: open-jpa-dev@incubator.apache.org Delivered-To: mailing list open-jpa-dev@incubator.apache.org Received: (qmail 78708 invoked by uid 99); 11 May 2007 21:30:44 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 May 2007 14:30:43 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 May 2007 14:30:35 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9900C71406A for ; Fri, 11 May 2007 14:30:15 -0700 (PDT) Message-ID: <6593577.1178919015624.JavaMail.jira@brutus> Date: Fri, 11 May 2007 14:30:15 -0700 (PDT) From: "Catalina Wei (JIRA)" To: open-jpa-dev@incubator.apache.org Subject: [jira] Updated: (OPENJPA-238) Error in XMLFileHandler, failed to load field element with type org.apace.openjpa.util.StringId. In-Reply-To: <8137637.1178918535289.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/OPENJPA-238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Catalina Wei updated OPENJPA-238: --------------------------------- Attachment: XMLFileHandler.patch The attached patch has been sent to Anh Ngo, and it resolved his problem. I need some openjpa developer to verify the patch is correct before committing this patch. > Error in XMLFileHandler, failed to load field element with type org.apace.openjpa.util.StringId. > ------------------------------------------------------------------------------------------------ > > Key: OPENJPA-238 > URL: https://issues.apache.org/jira/browse/OPENJPA-238 > Project: OpenJPA > Issue Type: Bug > Components: xml store > Reporter: Catalina Wei > Attachments: XMLFileHandler.patch > > > Problem reported by Ngo, Anh (full description with attachments can be found in openjpa-dev mails, subject title: xml store help? > In evaluating openJPA to use for our current project. It works fine for our need with database. But I am having problem with the XMLStoreManager. I have two simple objects - Customer and User. Customer can have multiple users. I look at the object store in xml file. It stored like this: > > > > > > "1" > > > "customer1" > > > > org.apache.openjpa.util.StringId:1 > > > org.apache.openjpa.util.StringId:2 > > > > > > Shoud the Users element store User object? The XMLStoreManager failed to load data in because it doest not know how to create this object: org.apache.openjpa.util.StringId:1 > > Please help... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.