Class KeyGeneratorTypeHandlerBigDecimal

java.lang.Object
org.castor.cpa.persistence.sql.keygen.typehandler.KeyGeneratorTypeHandlerBigDecimal
All Implemented Interfaces:
KeyGeneratorTypeHandler<BigDecimal>

public final class KeyGeneratorTypeHandlerBigDecimal extends Object implements KeyGeneratorTypeHandler<BigDecimal>
Class implementing the KeyGeneratorTypeHandler for BigDecimal type.
Version:
$Revision$ $Date: 2009-07-13 17:22:43 (Tue, 28 Jul 2009) $
Author:
Ahmad Hassan, Ralf Joachim
  • Constructor Details

    • KeyGeneratorTypeHandlerBigDecimal

      public KeyGeneratorTypeHandlerBigDecimal(boolean fail)
      Construct an type handler for big decimal values.
      Parameters:
      fail - true if the type handler should fail when current row of the record set is not valid, false otherwise.
    • KeyGeneratorTypeHandlerBigDecimal

      public KeyGeneratorTypeHandlerBigDecimal(boolean fail, int allocationSize)
  • Method Details