Package org.openengsb.core.edbi.jdbc.api

Examples of org.openengsb.core.edbi.jdbc.api.TableExistsException


    @Override
    public Table create(JdbcIndex<?> index) {
        Table table = getTableFactory().create(index);

        if (exists(index)) {
            throw new TableExistsException("Table for index " + index.getName() + " exists");
        }

        // TODO: sql independence
        String sql =
            String.format("CREATE TABLE `%s` ( %s );", table.getName(), new TableElementCompiler(table).toSql());
View Full Code Here

TOP

Related Classes of org.openengsb.core.edbi.jdbc.api.TableExistsException

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.