Oracle timestamp and varbinary types

2009-09-08
2013-04-25
  • Hi,

    I get an error from sqlunit indicating that it "could not convert oracle.sql.TIMESTAMP from database to TIMESTAMP". I'm also getting a message where it dumps VARBINARY data to a file. Are there any solutions for getting around these problems? Thanks.

    Harold.

     
    • Sujit Pal
      Sujit Pal
      2009-09-08

      Hi Harold, check out the types.properties file, there are mappings in there for database types for various databases to the corresponding Java type. Not sure if the Oracle TIMESTAMP is mapped in there, if yes, may be mapped incorrectly for your Oracle version, or if not, may need to be mapped appropriately.