dlr 02/05/06 13:00:12 Modified: src/templates/sql/base/postgresql db.props Log: Added a link to the Postgres data type doc, and definitions for the DOUBLE, NUMERIC, and DECIMAL JDBC types. Revision Changes Path 1.6 +9 -3 jakarta-turbine-torque/src/templates/sql/base/postgresql/db.props Index: db.props =================================================================== RCS file: /home/cvs/jakarta-turbine-torque/src/templates/sql/base/postgresql/db.props,v retrieving revision 1.5 retrieving revision 1.6 diff -u -u -r1.5 -r1.6 --- db.props 25 Apr 2002 04:43:14 -0000 1.5 +++ db.props 6 May 2002 20:00:12 -0000 1.6 @@ -1,5 +1,8 @@ # Taken from java.sql.Types in the IBM 1.3 JDK # JDBC to PostgreSQL mappings. +# +# See http://www.postgresql.org/idocs/index.php?datatype.html for more +# information on PostgreSQL data types. BIT = TINYINT = int2 @@ -8,12 +11,15 @@ BIGINT = int8 FLOAT = float REAL = float +# The "boolean" data type might be more appropriat here +# http://www.postgresql.org/idocs/index.php?datatype-boolean.html BOOLEANCHAR = char BOOLEANINT = int2 -DOUBLE = -NUMERIC = -DECIMAL = +DOUBLE = double +# numeric(precision, scale) / decimal(precision, scale) +NUMERIC = numeric +DECIMAL = decimal CHAR = char VARCHAR = varchar LONGVARCHAR = bytea
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
