org.dbunit.dataset.datatype.TypeCastException: Unable to typecast value <1997-02-14 00:00:00.0> of type <java.lang.String> to TIMESTAMP

Stack Overflow | ArbiPorter | 5 months ago
  1. 0

    DBunit - Unable to typecast <1997/02/14> to TimeStamp

    Stack Overflow | 5 months ago | ArbiPorter
    org.dbunit.dataset.datatype.TypeCastException: Unable to typecast value <1997-02-14 00:00:00.0> of type <java.lang.String> to TIMESTAMP
  2. 0

    Date type conversion does not work with Java 7

    dbunit | 5 years ago | ljnelson
    org.dbunit.dataset.datatype.TypeCastException: Unable to typecast value <1974-23-06 23:40:00.0> of type <java.lang.String> to TIMESTAMP
  3. 0

    dbUnit / Mailing Lists

    sourceforge.net | 1 year ago
    org.dbunit.dataset.DataSetException: table=LINES_ITEMS_MV, row=0, column=LI_RID, value=oracle.sql.ROWID@...
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    dbUnit / Mailing Lists

    sourceforge.net | 1 year ago
    org.dbunit.dataset.datatype.TypeCastException: Unable to >> typecast value <oracle.sql.ROWID@...> of type <oracle.sql.ROWID> to >> VARCHAR
  6. 0

    dbUnit / Mailing Lists

    sourceforge.net | 1 year ago
    org.dbunit.dataset.DataSetException: table=LINES_ITEMS_MV, row=0, column=LI_RID, value=oracle.sql.ROWID@...

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.dbunit.dataset.datatype.TypeCastException

      Unable to typecast value <1997-02-14 00:00:00.0> of type <java.lang.String> to TIMESTAMP

      at test.CustomTimestampDataType.typeCast()
    2. test
      CustomTimestampDataType.setSqlValue
      1. test.CustomTimestampDataType.typeCast(CustomTimestampDataType.java:69)
      2. test.CustomTimestampDataType.setSqlValue(CustomTimestampDataType.java:84)
      2 frames
    3. dbUnit Extension
      DatabaseTestCase.setUp
      1. org.dbunit.database.statement.SimplePreparedStatement.addValue(SimplePreparedStatement.java:73)
      2. org.dbunit.operation.RefreshOperation$RowOperation.execute(RefreshOperation.java:189)
      3. org.dbunit.operation.RefreshOperation.execute(RefreshOperation.java:113)
      4. org.dbunit.AbstractDatabaseTester.executeOperation(AbstractDatabaseTester.java:190)
      5. org.dbunit.AbstractDatabaseTester.onSetup(AbstractDatabaseTester.java:103)
      6. org.dbunit.DatabaseTestCase.setUp(DatabaseTestCase.java:156)
      6 frames
    4. test
      PlayerTest.setUp
      1. test.HibernateDbUnitTestCase.setUp(HibernateDbUnitTestCase.java:85)
      2. test.PlayerTest.setUp(PlayerTest.java:117)
      2 frames