Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 87181 invoked from network); 26 Jan 2004 10:15:43 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 26 Jan 2004 10:15:43 -0000 Received: (qmail 44944 invoked by uid 500); 26 Jan 2004 10:15:14 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 44924 invoked by uid 500); 26 Jan 2004 10:15:14 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: 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 44907 invoked from network); 26 Jan 2004 10:15:13 -0000 Received: from unknown (HELO mail.globaltech-bg.com) (195.24.36.102) by daedalus.apache.org with SMTP; 26 Jan 2004 10:15:13 -0000 Received: from localhost (localhost [127.0.0.1]) by mail.globaltech-bg.com (Postfix) with ESMTP id ED70C13B6E for ; Mon, 26 Jan 2004 08:15:51 -0200 (GMT+2) Received: from mail.globaltech-bg.com ([127.0.0.1]) by localhost (ns.globaltech-bg.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 08305-06 for ; Mon, 26 Jan 2004 12:15:51 +0200 (EET) Received: from bogdan (unknown [192.168.11.105]) by mail.globaltech-bg.com (Postfix) with SMTP id 6754113AC2 for ; Mon, 26 Jan 2004 08:15:51 -0200 (GMT+2) Message-ID: <00f901c3e3f5$98c58500$690ba8c0@int.globaltechbg.com> From: "Bogdan Vatkov" To: "TORQUE_LIST" Subject: javaType="object" template problem ? Date: Mon, 26 Jan 2004 12:17:26 +0200 Organization: Global Communications Technologies MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00F6_01C3E406.5C497300" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: by F-Prot Antivirus at mail.globaltech-bg.com 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 ------=_NextPart_000_00F6_01C3E406.5C497300 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, I have problems with javaType=3D"object" when Integer type is used As I see.. in template torque-gen-3.1\templates\om\Object.vm at line 108: ## getter and setter methods #foreach ($col in $table.Columns) #set ( $cfc=3D$col.JavaName ) #set ( $clo=3D$col.UncapitalisedJavaName ) #set ( $cjtype =3D $col.JavaNative ) ...=20 code says that no matter of what javaType=3D? is we will have always = JavaNative=20 ...in my build it is always results in a primitive type (int) = ...therefore a lot of errors occur in the generated java source code Am I doing something wrong ? Or this is bug in the template ? With best regards, Bogdan ------=_NextPart_000_00F6_01C3E406.5C497300--