public class SqlMapClientBuilder extends Object
| Constructor and Description |
|---|
SqlMapClientBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static SqlMapClient |
buildSqlMapClient(InputStream inputStream)
Builds an SqlMapClient using the specified input stream.
|
static SqlMapClient |
buildSqlMapClient(InputStream inputStream,
Properties props)
Builds an SqlMapClient using the specified input stream and properties file.
|
static SqlMapClient |
buildSqlMapClient(InputStream inputStream,
Properties props,
String dialect)
Builds an SqlMapClient using the specified input stream, properties file and database dialect.
|
static SqlMapClient |
buildSqlMapClient(InputStream inputStream,
String dialect)
Builds an SqlMapClient using the specified input stream and database dialect.
|
static SqlMapClient |
buildSqlMapClient(Reader reader)
Builds an SqlMapClient using the specified reader.
|
static SqlMapClient |
buildSqlMapClient(Reader reader,
Properties props)
Builds an SqlMapClient using the specified reader and properties file.
|
static SqlMapClient |
buildSqlMapClient(Reader reader,
Properties props,
String dialect)
Builds an SqlMapClient using the specified reader, properties file and database dialect.
|
static SqlMapClient |
buildSqlMapClient(Reader reader,
String dialect)
Builds an SqlMapClient using the specified reader and database dialect.
|
public static SqlMapClient buildSqlMapClient(Reader reader)
reader - A Reader instance that reads an sql-map-config.xml file. The reader should read an well formed
sql-map-config.xml file.public static SqlMapClient buildSqlMapClient(Reader reader, String dialect)
reader - A Reader instance that reads an sql-map-config.xml file. The reader should read an well formed
sql-map-config.xml file.dialect - the database dialectpublic static SqlMapClient buildSqlMapClient(Reader reader, Properties props)
reader - A Reader instance that reads an sql-map-config.xml file. The reader should read an well formed
sql-map-config.xml file.props - Properties to be used to provide values to dynamic property tokens in the sql-map-config.xml
configuration file. This provides an easy way to achieve some level of programmatic configuration.public static SqlMapClient buildSqlMapClient(Reader reader, Properties props, String dialect)
reader - A Reader instance that reads an sql-map-config.xml file. The reader should read an well formed
sql-map-config.xml file.props - Properties to be used to provide values to dynamic property tokens in the sql-map-config.xml
configuration file. This provides an easy way to achieve some level of programmatic configuration.dialect - the database dialectpublic static SqlMapClient buildSqlMapClient(InputStream inputStream)
inputStream - An InputStream instance that reads an sql-map-config.xml file. The stream should read a well formed
sql-map-config.xml file.public static SqlMapClient buildSqlMapClient(InputStream inputStream, String dialect)
inputStream - An InputStream instance that reads an sql-map-config.xml file. The stream should read a well formed
sql-map-config.xml file.dialect - the database dialectpublic static SqlMapClient buildSqlMapClient(InputStream inputStream, Properties props)
inputStream - An InputStream instance that reads an sql-map-config.xml file. The stream should read an well formed
sql-map-config.xml file.props - Properties to be used to provide values to dynamic property tokens in the sql-map-config.xml
configuration file. This provides an easy way to achieve some level of programmatic configuration.public static SqlMapClient buildSqlMapClient(InputStream inputStream, Properties props, String dialect)
inputStream - An InputStream instance that reads an sql-map-config.xml file. The stream should read an well formed
sql-map-config.xml file.props - Properties to be used to provide values to dynamic property tokens in the sql-map-config.xml
configuration file. This provides an easy way to achieve some level of programmatic configuration.dialect - the database dialectCopyright © 2084–2018 dukeware.com. All rights reserved.