Package tosa.loader.data.types

Examples of tosa.loader.data.types.TimestampColumnTypePersistenceHandler


        // TODO - AHK - Should be BigInteger if the scale is 0
        return new DBColumnTypeImpl(DECIMAL, DECIMAL, DBColumnTypeImpl.BIG_DECIMAL_ITYPE, Types.DECIMAL);
      case DATE:
        return new DBColumnTypeImpl(DATE, DATE, DBColumnTypeImpl.DATE_ITYPE, Types.DATE, new DateColumnTypePersistenceHandler());
      case TIMESTAMP:
        return new DBColumnTypeImpl(TIMESTAMP, TIMESTAMP, DBColumnTypeImpl.DATE_ITYPE, Types.TIMESTAMP, new TimestampColumnTypePersistenceHandler());
      case TIME:
        // TODO - AHK
        LoggerFactory.getLogger("Tosa").debug("***Unhandled column type " + TIME);
        return null;
      case DATETIME:
        return new DBColumnTypeImpl(DATETIME, DATETIME, DBColumnTypeImpl.DATE_ITYPE, Types.TIMESTAMP, new TimestampColumnTypePersistenceHandler());
      case YEAR:
        return new DBColumnTypeImpl(YEAR, YEAR, DBColumnTypeImpl.INTEGER_ITYPE, Types.INTEGER);
      case BINARY:
        return new DBColumnTypeImpl(BINARY, BINARY, DBColumnTypeImpl.pBYTE_ARRAY_ITYPE, Types.BINARY);
      case CHAR:
View Full Code Here

TOP

Related Classes of tosa.loader.data.types.TimestampColumnTypePersistenceHandler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.