Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 77031 invoked from network); 10 Mar 2009 08:55:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Mar 2009 08:55:50 -0000 Received: (qmail 17444 invoked by uid 500); 10 Mar 2009 08:55:50 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 17419 invoked by uid 500); 10 Mar 2009 08:55:50 -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 17405 invoked by uid 99); 10 Mar 2009 08:55:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Mar 2009 01:55:50 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mtylenda@o2.pl designates 193.17.41.11 as permitted sender) Received: from [193.17.41.11] (HELO mailout1.go2.pl) (193.17.41.11) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Mar 2009 08:55:42 +0000 Received: from mailout1.go2.pl (unknown [10.0.0.105]) by mailout1.go2.pl (Postfix) with ESMTP id 28C665F0007 for ; Tue, 10 Mar 2009 09:55:22 +0100 (CET) Received: from o2.pl (unknown [10.0.0.38]) by mailout1.go2.pl (Postfix) with SMTP for ; Tue, 10 Mar 2009 09:55:22 +0100 (CET) Subject: =?UTF-8?Q?Re:_*TypeName_values?= From: =?UTF-8?Q?Mi=C5=82osz_Tylenda?= To: dev@openjpa.apache.org In-Reply-To: References: Mime-Version: 1.0 Message-ID: <3141237a.6bf0d4ad.49b62af9.178fc@o2.pl> Date: Tue, 10 Mar 2009 09:55:21 +0100 X-Originator: 192.156.102.6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi=20Alan, In=20this=20case=20the=20dictionaries=20usually=20either=20stay=20with=20= the=20default=20value=20from=20DBDictionary=20or,=20where=20possible,=20e= mulate=20the=20unsupported=20type=20by=20using=20some=20other=20which=20t= hey=20do=20support,=20e.g.: clobTypeName=20=3D=20"VARCHAR"; tinyintTypeName=20=3D=20"SMALLINT"; If=20you=20are=20wondering=20how=20to=20do=20the=20mapping,=20some=20guid= ance=20is=20put=20in=20a=20JDBC=20tutorial=20[1]. I=20don't=20remember=20seeing=20any=20dictionary=20setting=20a=20*TypeNam= e=20to=20null,=20so=20this=20might=20be=20a=20risky=20road.=20As=20for=20= the=20xmlTypeName=20it=20is=20OK=20to=20stay=20with=20the=20default=20val= ue=20from=20DBDictionary. The=20TestBasicAnnotation.java=20is=20a=20good=20test=20case=20for=20chec= king=20a=20dictionary=20in=20this=20area. [1]=20http://java.sun.com/j2se/1.5.0/docs/guide/jdbc/getstart/mapping.htm= l Cheers, Milosz >=20Hi=20all >=20 >=20=20 >=20 >=20What=20is=20the=20correct=20value=20for=20the=20*TypeName=20propertie= s=20of=20DBDictionary >=20subclasses=20who=20do=20not=20support=20those=20types=20-=20for=20exa= mple=20xmlTypeName.=20=20I >=20have=20set=20them=20to=20null=20for=20the=20Ingres=20Dictionary=20I=20= have=20been=20developing, >=20is=20this=20right? >=20 >=20=20 >=20 >=20Alan >=20 >=20