Example usage for org.springframework.jdbc.core.simple SimpleJdbcInsert compile

List of usage examples for org.springframework.jdbc.core.simple SimpleJdbcInsert compile

Introduction

In this page you can find the example usage for org.springframework.jdbc.core.simple SimpleJdbcInsert compile.

Prototype

public final synchronized void compile() throws InvalidDataAccessApiUsageException 

Source Link

Document

Compile this JdbcInsert using provided parameters and meta-data plus other settings.

Usage

From source file:com.github.akiraly.db4j.SimpleJdbcInsertBuilder.java

@Override
public final SimpleJdbcInsert get() {
    SimpleJdbcInsert result = new SimpleJdbcInsert(jdbcTemplate()).withTableName(tableName)
            .usingGeneratedKeyColumns(generatedKeyColumns);
    result.compile();
    return result;
}