[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Suggestion for change to McKoi...
I found the answer to one of my earlier questions regarding Java - DB
mappings in McKoi in the class:
com.mckoi.database.global.ColumnDescription. Taken from the javadoc
information, here are the appropriate mappings:
/**
* Sets the SQL type for this ColumnDescription object. This is only used
* to emulate SQL types in the database. They are mapped to the simpler
* internal types as follows:<p>
* <pre>
* DB_STRING := CHAR, VARCHAR, LONGVARCHAR
* DB_NUMERIC := TINYINT, SMALLINT, INTEGER, BIGINT, FLOAT, REAL,
* DOUBLE, NUMERIC, DECIMAL
* DB_DATE := DATE, TIME, TIMESTAMP
* DB_BOOLEAN := BIT
* DB_BLOB := BINARY, VARBINARY, LONGVARBINARY
* </pre>
*/
Rob
---------------------------------------------------------------
Mckoi SQL Database mailing list http://www.mckoi.com/database/
To unsubscribe, send a message to mckoidb-unsubscribe@mckoi.com