cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Рябицкий Евгений <eryabits...@diasoft.ru>
Subject RE: Derby types mappping tests
Date Thu, 14 Jan 2010 12:41:52 GMT


Ah yeah... sory I am wrong... there is no such types... sad...
Super db... never use it....


http://db.apache.org/derby/docs/10.5/ref/

Evgeny.


-----Original Message-----
From: Рябицкий Евгений [mailto:eryabitskiy@diasoft.ru] 
Sent: Thursday, January 14, 2010 3:32 PM
To: dev@cayenne.apache.org
Subject: Derby types mappping tests

Schema generation is using this query to create test table on Derby:

INFO: CREATE TABLE TYPES_MAPPING_TEST1 
(AAAID INTEGER NOT NULL, 
BIT_COLUMN SMALLINT, 
BOOLEAN_COLUMN SMALLINT, 
TINYINT_COLUMN SMALLINT
PRIMARY KEY (AAAID))

Why everything is mapped to SMALLINT?
There is BIT, BOOLEAN and TINYINT types in Derby.

http://db.apache.org/ojb/docu/guides/jdbc-types.html

Evgeny.

Mime
View raw message