Return-Path: Mailing-List: contact torque-dev-help@db.apache.org; run by ezmlm Delivered-To: mailing list torque-dev@db.apache.org Received: (qmail 67497 invoked from network); 14 Mar 2003 23:41:39 -0000 Received: from unknown (HELO mail2.concurtech.net) (65.163.31.65) by daedalus.apache.org with SMTP; 14 Mar 2003 23:41:39 -0000 Received: by gemini with Internet Mail Service (5.5.2653.19) id <10LB1JK3>; Fri, 14 Mar 2003 15:46:49 -0800 Message-ID: <29D64E0297B6D4118F14009027B8D45701DBBD67@gemini> From: Walt Armour To: 'Turbine Torque Developers List' Subject: Torque Object type to SQL type mapping Date: Fri, 14 Mar 2003 15:46:47 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Someone tell me if I'm just missing this... I can't find anywhere in Torque that maps from a 'type object' to a java.sql.Types type. When I say 'type object' I mean the way that Torque uses empty instances of Java objects to signify column types. I've looked through TypeMap.java and I'm not sure where else it would be hiding. If there isn't one then I would like to add one to TypeMap.java (probably using the class object for the key). I'm aware there are a few (2?) 1-to-many maps this way but I would just boil it down to 1-1 (Java String -> VARCHAR, not CHAR or LONGVARCHAR). Any comments before I put this in?