Can't import Microsoft Access date field using tAccessInput
I am very new to TOS.
I have a very simple table in Access 2003 with several fields. One of the fields is a Date field. This field has no special format. However, when I tried to use tAccessInput to import the data from the table, I received an exception caused by that date field:
xception in component tAccessInput_1
java.sql.SQLException: No data found
at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
at sun.jdbc.odbc.JdbcOdbc.SQLGetDataStringTimestamp(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcResultSet.getDataStringTimestamp(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcResultSet.getTimestamp(Unknown Source)
at talenddemosjava.testing_0_1.testing.tAccessInput_1Process(testing.java:645)
at talenddemosjava.testing_0_1.testing.runJobInTOS(testing.java:966)
at talenddemosjava.testing_0_1.testing.main(testing.java:860)
I have no idea why this is happening. I tried to change the data type of the date field in the schema and I got something like: 1984-12-05 00:00:00
I tried many date pattern possible such as "yyyy-MM-dd'T'HH:mm:ss". I constantly received the same exception.
Would you please help me to solve this problem?
Thank you very much.
Toan.
Hello
Which version of TOS do you use?
Don't worry! As your said, it is just a simple job. Please send your data source to me via email. I will try..
Best regards
shong