protected InitCommand generateInsertInitCommand() { int value = initialValue; if ( storeLastUsedValue ) { value = initialValue - 1; } return new InitCommand( "insert into " + renderedTableName + "(" + segmentColumnName + ", " + valueColumnName + ")" + " values ('" + segmentValue + "'," + ( value ) + ")" ); }
protected void applyInitCommands(Table table, List<String> sqlStrings) { for ( InitCommand initCommand : table.getInitCommands() ) { Collections.addAll( sqlStrings, initCommand.getInitCommands() ); } }
applySqlStrings( initCommand.getInitCommands(), formatter, options, targets );
new InitCommand( "insert into " + tableNameText + " values ( " + initialValue + " )" ) );
protected void applyInitCommands(ExportableTable table, List<String> sqlStrings) { for ( InitCommand initCommand : table.getInitCommands() ) { Collections.addAll( sqlStrings, initCommand.getInitCommands() ); } }
protected InitCommand generateInsertInitCommand() { int value = initialValue; if ( storeLastUsedValue ) { value = initialValue - 1; } return new InitCommand( "insert into " + renderedTableName + "(" + segmentColumnName + ", " + valueColumnName + ")" + " values ('" + segmentValue + "'," + ( value ) + ")" ); }
applySqlStrings( initCommand.getInitCommands(), formatter, options, targets );
new InitCommand( "insert into " + tableNameText + " values ( " + initialValue + " )" ) );