0.00.0100005050NY50000YN1000100-2015/02/28 21:50:23.041-2015/02/28 21:50:23.041Links:
---------
How to get from DATA_TYPE integer value to java.sql.Type:
http://docs.oracle.com/javase/7/docs/api/constant-values.html#java.sql.Types.ARRAY
How to get from java.sql.Type to java type:
http://download.oracle.com/otndocs/jcp/jdbc-4_1-mrel-spec/index.html
(look for TABLE B-3 Mapping from JDBC Types to Java Object Types, p 192)
How to get from java object type to kettle data type:
http://wiki.pentaho.com/display/EAI/PDI+Rows+Of+Data13143591214Ubuntu11NN000255205112100100100YAgileBIlocalhostMONETDBNativepentaho-instaview50006monetdbEncrypted 2be98afc86aa7f2e4cb14a17edb86abd8trueEXTRA_OPTION_INFOBRIGHT.characterEncodingUTF-8EXTRA_OPTION_MYSQL.defaultFetchSize500EXTRA_OPTION_MYSQL.useCursorFetchtruePORT_NUMBER50006PRESERVE_RESERVED_WORD_CASEYSUPPORTS_BOOLEAN_DATA_TYPEYSUPPORTS_TIMESTAMP_DATA_TYPEYsakilalocalhostMYSQLNativesakila3306sakilaEncrypted 2be98afc86aa7f2e4cb79bd71d59ba3dbEXTRA_OPTION_MYSQL.defaultFetchSize500EXTRA_OPTION_MYSQL.useCursorFetchtrueFORCE_IDENTIFIERS_TO_LOWERCASENFORCE_IDENTIFIERS_TO_UPPERCASENIS_CLUSTEREDNPORT_NUMBER3306PRESERVE_RESERVED_WORD_CASENQUOTE_ALL_FIELDSNSTREAM_RESULTSYSUPPORTS_BOOLEAN_DATA_TYPEYSUPPORTS_TIMESTAMP_DATA_TYPEYUSE_POOLINGNGenerate RowsJDBC Columns MetadataYJDBC Columns MetadataJDBC datatype -> Kettle data typeYGenerate RowsRowGeneratorY1none1N5000nowFiveSecondsAgo4157YJDBC Columns MetadatajdbcMetaDataY1noneConnectionsakilaNgetColumnsNNTABLE_CATTABLE_CATTABLE_SCHEMTABLE_SCHEMTABLE_NAMETABLE_NAMECOLUMN_NAMECOLUMN_NAMEDATA_TYPEDATA_TYPETYPE_NAMETYPE_NAMECOLUMN_SIZECOLUMN_SIZEBUFFER_LENGTHBUFFER_LENGTHDECIMAL_DIGITSDECIMAL_DIGITSNUM_PREC_RADIXNUM_PREC_RADIXNULLABLENULLABLEREMARKSREMARKSCOLUMN_DEFCOLUMN_DEFSQL_DATA_TYPESQL_DATA_TYPESQL_DATETIME_SUBSQL_DATETIME_SUBCHAR_OCTET_LENGTHCHAR_OCTET_LENGTHORDINAL_POSITIONORDINAL_POSITIONIS_NULLABLEIS_NULLABLESCOPE_CATALOGSCOPE_CATALOGSCOPE_SCHEMASCOPE_SCHEMASCOPE_TABLESCOPE_TABLESOURCE_DATA_TYPESOURCE_DATA_TYPEIS_AUTOINCREMENTIS_AUTOINCREMENTIS_GENERATEDCOLUMNIS_GENERATEDCOLUMN22657YJDBC datatype -> Kettle data typeValueMapperY1noneDATA_TYPEKettle Data Type2003-5Integer-2String-7Boolean2004String16Boolean1String2005String70Internet Address91Date3BigNumber20018Number6Number4Integer2000-16String-4String-1String-15String2011String02BigNumber-9String11117Number2006-85Integer2009String200292Date93Timestamp-6Integer-3String12String44358YN