code: public void initializeJdbcConnection(JdbcConnectionDescriptor jcd, Connection conn) throws PlatformException
      {
          // Do origial init
          super.initializeJdbcConnection(jcd, conn);
          // Execute a statement setting the tempory option
          try
          {
              Statement stmt = conn.createStatement();
              stmt.executeUpdate("set temporary option RETURN_DATE_TIME_AS_STRING = On");
          }
          catch (SQLException e)
          {
              throw new PlatformException(e);
          }
      }
docs: Sybase Adaptive Server Enterprise (ASE) support timestamp to a precision of 1/300th of second.
  Adaptive Server Anywhere (ASA) support timestamp to a precision of 1/1000000tho of second.
  Sybase JDBC driver (JConnect) retrieving timestamp always rounds to 1/300th sec., causing rounding
  problems with ASA when retrieving Timestamp fields.
  This work around was suggested by Sybase Support. Unfortunately it works only with ASA.
  <br/>
  author Lorenzo Nicora