public class SqlContextFactory extends Object
| Constructor and Description |
|---|
SqlContextFactory() |
| Modifier and Type | Method and Description |
|---|---|
static SqlContext |
newInstance(String resourceName)
Build a new context from SQL sentences
|
static SqlContext |
newInstance(String resourceName,
Properties props)
Build a new context from SQL sentences
|
static SqlContext |
newInstance(String resourceName,
String repositoryConfigName)
Build a new context from SQL sentences
|
public SqlContextFactory()
public static SqlContext newInstance(String resourceName)
resourceName - Initial XML file with SQL sentencespublic static SqlContext newInstance(String resourceName, Properties props)
resourceName - Initial XML file with SQL sentencesprops - customized properties to SQL context, see RepositoryProperty enumerationpublic static SqlContext newInstance(String resourceName, String repositoryConfigName)
resourceName - Initial XML file with SQL sentencesrepositoryConfigName - name of repositoryCopyright © 2012–2020 jkniv, copyleft code. All rights reserved.