Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 33410 invoked from network); 27 Jul 2007 20:52:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Jul 2007 20:52:14 -0000 Received: (qmail 38142 invoked by uid 500); 27 Jul 2007 20:52:14 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 38104 invoked by uid 500); 27 Jul 2007 20:52:14 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 38094 invoked by uid 99); 27 Jul 2007 20:52:14 -0000 Received: from Unknown (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jul 2007 13:52:14 -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, 27 Jul 2007 20:52:13 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D365E7141F1 for ; Fri, 27 Jul 2007 13:51:52 -0700 (PDT) Message-ID: <942493.1185569512807.JavaMail.jira@brutus> Date: Fri, 27 Jul 2007 13:51:52 -0700 (PDT) From: "Catalina Wei (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Updated: (OPENJPA-240) Persistent field mappings to database supported XML columns 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-240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Catalina Wei updated OPENJPA-240: --------------------------------- Attachment: openjpa-240.xmlmapping.patch This patch is needed for XML Column mapping. It is a workaround until XMLClassMetaData is refactored. As Patrick's comment in dev-mailing-lsit:: Re: svn commit: r557437 - in /openjpa/trunk: openjpa-jdbc- 5/src/main/java/org/apache/openjpa-jdbc-5... There should be a way to integrate XMLClassMetaData into the existing OpenJPA metadata concepts (similar to how ClassMetaData instances are constructed from MetaDataFactory instances). And, the annotation-parsing code in XMLClassMetaData is moved into openjpa-persistence annotation parser. So far, I have not got it worked out yet. In the meantime, to enable XML Column mapping, users could specify in the persisten.xml the following property: But the problem is this persistence.xml can not be used to run Enhancer, as it will fail with Exception in thread "main" java.lang.NullPointerException at org.apache.openjpa.jdbc.meta.ValueMappingImpl.(ValueMappingImpl.java:74) > Persistent field mappings to database supported XML columns > ----------------------------------------------------------- > > Key: OPENJPA-240 > URL: https://issues.apache.org/jira/browse/OPENJPA-240 > Project: OpenJPA > Issue Type: New Feature > Components: jdbc > Reporter: Catalina Wei > Attachments: jpa1.0.0-xmlmapping.r555694.patch, openjpa-240.xmlmapping.patch, openjpa-project.patch, OpenJPAXMLMapping.doc > > > Many database systems such as DB2 version 9, Oracle 10g, and SQLServer 2005 have support for XML column types. XML documents can be stored natively in the XML columns in the database. > What is OpenJPA's position of supporting the XML columns ? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.