public class RelationalProvider extends Object implements SchematicDbProvider<RelationalDb>
SchematicDbProvider
implementation for relational databases.Constructor and Description |
---|
RelationalProvider() |
Modifier and Type | Method and Description |
---|---|
RelationalDb |
getDB(String type,
Document configuration)
Returns a schematic DB instance for a given db type and configuration document
|
public RelationalDb getDB(String type, Document configuration)
SchematicDbProvider
getDB
in interface SchematicDbProvider<RelationalDb>
type
- the type of DB; may not be null
configuration
- a Document
instance which contains the configuration of a particular DB.SchematicDb
instance or null
if a particular provider does not recognize the type.Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.