static void createSchema (Connection connection, String schemaName) {
        try {
            Statement statement = connection.createStatement();
            // FIXME do the following only on databases that support schemas.
            // SQLite does not support them. Is there any advantage of schemas over flat tables?
            statement.execute("create schema " + schemaName);
            LOG.info("Created new feed schema: {}", statement);
        } catch (Exception ex) {
            LOG.error("Exception while registering new feed namespace in feeds table: {}", ex.getMessage());
            DbUtils.closeQuietly(connection);
        }
    }
static void createSchema (Connection connection, String schemaName) {
        try {
            Statement statement = connection.createStatement();
            
            
            statement.execute("create schema " + schemaName);
            LOG.info("Created new feed schema: {}", statement);
        } catch (Exception ex) {
            LOG.error("Exception while registering new feed namespace in feeds table: {}", ex.getMessage());
            DbUtils.closeQuietly(connection);
        }
    }
static void createSchema ( Connection connection , String schemaName ) { try { Statement statement = connection . createStatement ( ) ; // FIXME do the following only on databases that support schemas. // SQLite does not support them. Is there any advantage of schemas over flat tables? statement . execute ( "create schema " + schemaName ) ; LOG . info ( "Created new feed schema: {}" , statement ) ; } catch ( Exception ex ) { LOG . error ( "Exception while registering new feed namespace in feeds table: {}" , ex . getMessage ( ) ) ; DbUtils . closeQuietly ( connection ) ; } }
Creates a schema/namespace in the database WITHOUT committing the changes.
This does *not* setup any other tables or enter the schema name in a registry (@see #registerFeed).

@param connection Connection to the database to create the schema on.
@param schemaName Name of the schema (i.e. table prefix). Should not include the dot suffix.
Creates a schema / namespace in the database WITHOUT committing the changes . This does * not * setup any other tables or enter the schema name in a registry ( @see #registerFeed ) .