Class NoValueGeneration

    • Constructor Detail

      • NoValueGeneration

        public NoValueGeneration()
    • Method Detail

      • getValueGenerator

        public ValueGenerator<?> getValueGenerator()
        Description copied from interface: ValueGeneration
        Obtain the in-VM value generator.

        May return null. In fact for values that are generated "in the database" via execution of the INSERT/UPDATE statement, the expectation is that null be returned here

        Specified by:
        getValueGenerator in interface ValueGeneration
        Returns:
        The strategy for performing in-VM value generation
      • referenceColumnInSql

        public boolean referenceColumnInSql()
        Description copied from interface: ValueGeneration
        For values which are generated in the database (ValueGeneration.getValueGenerator() == null), should the column be referenced in the INSERT / UPDATE SQL?

        This will be false most often to have a DDL-defined DEFAULT value be applied on INSERT

        Specified by:
        referenceColumnInSql in interface ValueGeneration
        Returns:
        true indicates the column should be included in the SQL.