I don't remember the actual details, but the link you sent is from OJB
project, not Derby.
Andrus
On Jan 14, 2010, at 2:31 PM, Рябицкий Евгений wrote:
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.